Show Working
Open the app

GCSE Computer Science · Computer systemsOCR, AQA, Edexcel and Eduqas

Memory, storage and data: GCSE questions with answers

40 GCSE Computer Science questions on this topic. Pick your answer, then tap to see if you were right and why. Every one comes from the Show Working Computer Science bank and is checked against the source named under it.

Quiz yourself: 40 questions 2 exam questions

01 / Quiz yourselfTry it, then tap to check

Memory, storage and data questions to try

Choose your answer before you open it. Then read why, so it sticks.

01 / Memory, storage and dataEvery board

What is RAM used for?

  1. ADoing calculations for the CPU
  2. BHolding the software and data in use now
  3. CStoring files safely with the power off
  4. DKeeping the start-up instructions for good
Show the answer

Answer: B Holding the software and data in use now

RAM (random access memory) holds the operating system, the apps that are open and the data they are using. It is volatile, so everything in it is lost when the computer is switched off.

Checked against ocr.org.uk

02 / Memory, storage and dataOCR, AQA and Eduqas

What is stored in ROM?

  1. ASpare data when RAM is full
  2. BThe documents a user is editing
  3. CData that changes every second
  4. DThe instructions that start the computer
Show the answer

Answer: D The instructions that start the computer

ROM (read only memory) is non-volatile, so it keeps the start-up instructions (often called the BIOS) when the power is off. When the computer is switched on, these instructions run first and load the operating system.

Checked against ocr.org.uk

03 / Memory, storage and dataOCR, AQA and Eduqas

Which statement about RAM and ROM is true?

  1. ABoth lose all of their data when the power is turned off
  2. BROM is volatile; RAM is not
  3. CRAM can be written to; ROM normally cannot
  4. DRAM holds the start-up instructions
Show the answer

Answer: C RAM can be written to; ROM normally cannot

RAM is read and written all the time as apps run, and is volatile. ROM is normally only read, and is non-volatile. Primary storage is usually made up of both.

Checked against ocr.org.uk

04 / Memory, storage and dataEvery board

Why does a computer need primary storage as well as secondary storage?

  1. AIt keeps data with the power off
  2. BThe CPU can read it much faster
  3. CIt can be carried between computers
  4. DIt holds more data for less money
Show the answer

Answer: B The CPU can read it much faster

Secondary storage is far too slow for the CPU to work from directly. Software and data are copied into primary storage (RAM), which the CPU can reach quickly, while they are in use.

Checked against ocr.org.uk

05 / Memory, storage and dataOCR, Edexcel and Eduqas

What is virtual memory?

  1. AMemory that exists only inside games
  2. BStorage on servers reached over the internet
  3. CExtra cache built into the CPU
  4. DPart of secondary storage used as extra RAM
Show the answer

Answer: D Part of secondary storage used as extra RAM

When RAM is full, the operating system moves data that is not being used right now to an area of secondary storage, and back again when it is needed. This lets more run at once, but secondary storage is slow, so the computer slows down. It is not cloud storage.

Checked against ocr.org.uk

06 / Memory, storage and dataOCR, Edexcel and Eduqas

A computer keeps using virtual memory and runs slowly when several apps are open.

What would help most?

  1. AFitting a larger hard disk
  2. BFitting a bigger monitor
  3. CFitting more RAM
  4. DUsing a faster printer
Show the answer

Answer: C Fitting more RAM

More RAM means more data fits in fast primary memory, so the computer needs virtual memory less often and spends less time moving data to and from slow secondary storage.

Checked against ocr.org.uk

07 / Memory, storage and dataOCR, AQA and Eduqas

Put these in order of speed, fastest first:

  1. ASecondary storage
  2. BRAM
  3. CCache
  4. DRegisters
Show the answer

The right order:

  1. Registers
  2. Cache
  3. RAM
  4. Secondary storage

Registers inside the CPU are fastest, then cache, then RAM, then secondary storage. The faster the memory, the smaller and more expensive it tends to be for each byte.

Checked against ocr.org.uk

08 / Memory, storage and dataEvery board

Why does a computer need secondary storage?

  1. ATo decode each instruction
  2. BTo keep files and software with the power off
  3. COnly to hold the data that will not fit in a full RAM
  4. DTo make the CPU run faster
Show the answer

Answer: B To keep files and software with the power off

Secondary storage is non-volatile, so it keeps the operating system, apps and files for the long term. RAM is volatile and is not big enough to keep everything. It is not used only when RAM is full.

Checked against ocr.org.uk

09 / Memory, storage and dataEvery board

Which is an advantage of a magnetic hard disk drive over solid state storage?

  1. ANo moving parts
  2. BLower cost for each gigabyte
  3. CBetter at surviving drops
  4. DFaster access to data
Show the answer

Answer: B Lower cost for each gigabyte

Magnetic hard disks give a lot of capacity for the money, so they suit storing large amounts cheaply. But their spinning platters and moving heads make them slower and easier to damage than solid state storage.

Checked against ocr.org.uk

10 / Memory, storage and dataAQA, Edexcel and Eduqas

How does a hard disk drive store data?

  1. AAs electrical charge in memory cells
  2. BAs pits burned into a disc by a laser
  3. CAs holes punched in paper
  4. DAs magnetised areas on spinning platters
Show the answer

Answer: D As magnetised areas on spinning platters

A hard disk drive has metal platters that spin. A read/write head moves across them, magnetising tiny areas one way or the other to store 1s and 0s, and sensing them to read data back.

Checked against cdn.sanity.io

11 / Memory, storage and dataEvery board

Which is an advantage of solid state storage over a magnetic hard disk?

  1. ALower cost for each gigabyte
  2. BNo limit on how often it is rewritten
  3. CMore capacity for the same price
  4. DFaster access to data
Show the answer

Answer: D Faster access to data

Solid state storage is fast, light, quiet and tough because it has no moving parts. It costs more for each gigabyte than a hard disk, and each memory cell can only be rewritten a limited number of times.

Checked against ocr.org.uk

12 / Memory, storage and dataAQA, Edexcel and Eduqas

How does solid state storage hold data?

  1. AAs pits and lands read by a laser
  2. BAs sound waves in a crystal
  3. CAs electrical charge trapped in memory cells
  4. DAs magnetised areas on a spinning disc
Show the answer

Answer: C As electrical charge trapped in memory cells

Solid state drives and memory cards use flash memory: electrical charge is trapped in tiny cells (transistors) to stand for 1s and 0s. Nothing moves, and the charge stays when the power is off.

Checked against cdn.sanity.io

13 / Memory, storage and dataOCR, Edexcel and Eduqas

Which of these is optical storage?

  1. AA USB memory stick
  2. BA hard disk drive
  3. CA Blu-ray disc
  4. DAn SD card
Show the answer

Answer: C A Blu-ray disc

CDs, DVDs and Blu-ray discs are optical. They are cheap and light, so they suit sending out films or software, but they hold far less than a hard disk, are slow and scratch easily.

Checked against ocr.org.uk

14 / Memory, storage and dataEdexcel and Eduqas

How is data read from an optical disc?

  1. AA laser reflects off pits and lands
  2. BA camera photographs the disc
  3. CCharge is measured in memory cells
  4. DA head senses magnetised areas
Show the answer

Answer: A A laser reflects off pits and lands

An optical drive shines a laser on the spinning disc. Pits and flat areas called lands reflect the light differently, and the changes are read as 1s and 0s.

Checked against qualifications.pearson.com

15 / Memory, storage and dataEvery board

Which storage characteristic means how well a device survives knocks and wear?

  1. ADurability
  2. BCapacity
  3. CSpeed
  4. DPortability
Show the answer

Answer: A Durability

Storage is compared on capacity (how much it holds), speed (how fast it reads and writes), portability (size and weight), durability (surviving knocks and wear), reliability (keeping data safe over time) and cost.

Checked against ocr.org.uk

16 / Memory, storage and dataEvery board

A photographer travels a lot and often drops her bag. She wants fast storage in her laptop.

Which type of storage suits her best?

  1. AMagnetic hard disk
  2. BROM
  3. CSolid state
  4. DOptical disc
Show the answer

Answer: C Solid state

Solid state storage has no moving parts, so it copes with knocks, and it is fast and light. A hard disk could be damaged when the bag is dropped, and optical discs are slow and hold too little.

Checked against ocr.org.uk

17 / Memory, storage and dataEvery board

A school wants to keep 20 TB of old video recordings. Speed does not matter, but the cost must be low.

Which type of storage suits this best?

  1. ARAM
  2. BROM
  3. CMagnetic storage
  4. DSolid state drives
Show the answer

Answer: C Magnetic storage

Magnetic storage, such as hard disks, gives the most capacity for the money. Solid state would be faster, but speed does not matter here and it costs more for each terabyte.

Checked against ocr.org.uk

18 / Memory, storage and dataEvery board

Which type of storage is used in most digital cameras?

  1. AMagnetic tape
  2. BMagnetic hard disks
  3. COptical discs
  4. DSolid state memory cards
Show the answer

Answer: D Solid state memory cards

Cameras use solid state memory cards, such as SD cards. They are tiny, light, need little power, have no moving parts and can be taken out to copy photos to a computer.

Checked against ocr.org.uk

19 / Memory, storage and dataOCR, AQA and Eduqas

What is cloud storage?

  1. AExtra RAM built into the CPU
  2. BSpace on a hard disk used as RAM
  3. CStorage on remote servers reached over the internet
  4. DA memory stick that connects to the computer wirelessly
Show the answer

Answer: C Storage on remote servers reached over the internet

Cloud storage keeps your files on another organisation’s servers, reached over the internet. It is easy to share and access anywhere, but needs a connection, and its security depends on the provider: it is not automatically more or less secure.

Checked against cdn.sanity.io

20 / Memory, storage and dataEvery board

Why do computers store all data in binary?

  1. ABinary is easier for people to read
  2. BIt makes files smaller than hex does
  3. CIt is the only number system with zero
  4. DTheir circuits have two states, on and off
Show the answer

Answer: D Their circuits have two states, on and off

A computer is built from billions of tiny switches (transistors), each either on or off. Two states match the two binary digits, 1 and 0, so every kind of data must be stored as binary.

Checked against ocr.org.uk

21 / Memory, storage and dataEvery board

What is a bit?

  1. AA group of eight binary digits
  2. BA single binary digit, 0 or 1
  3. COne character of text
  4. DOne pixel of an image
Show the answer

Answer: B A single binary digit, 0 or 1

A bit is the smallest unit of data: one binary digit. Eight bits make a byte, which is enough to store one character in ASCII.

Checked against ocr.org.uk

22 / Memory, storage and dataOCR, Edexcel and Eduqas

A nibble is:

  1. A2 bits
  2. B4 bits
  3. C8 bits
  4. D16 bits
Show the answer

Answer: B 4 bits

A nibble is half a byte: 4 bits. One nibble is exactly one hexadecimal digit, which is why a byte is written as two hex digits.

Checked against ocr.org.uk

23 / Memory, storage and dataEvery board

Put these units in order, smallest first:

  1. ATerabyte
  2. BMegabyte
  3. CKilobyte
  4. DBit
  5. EByte
  6. FGigabyte
Show the answer

The right order:

  1. Bit
  2. Byte
  3. Kilobyte
  4. Megabyte
  5. Gigabyte
  6. Terabyte

From the kilobyte up, each unit is 1,000 times the one before for AQA and OCR (OCR also accepts 1,024). Eduqas uses 1,024, and Edexcel uses 1,024 with the names kibibyte, mebibyte, gibibyte and tebibyte.

Checked against ocr.org.uk

24 / Memory, storage and dataEvery board

Why do programmers often write values in hexadecimal?

  1. AIt is needed to store negative numbers
  2. BIt takes up less storage than binary
  3. CIt is shorter and easier for people to read
  4. DComputers can process hex faster than they process binary
Show the answer

Answer: C It is shorter and easier for people to read

Hex is for people: one hex digit stands for four bits, so values such as colour codes and MAC addresses are shorter and easier to read and copy without mistakes. The computer still stores them in binary, so hex saves no storage.

Checked against qualifications.pearson.com

25 / Memory, storage and dataEvery board

What is a character set?

  1. AA list of characters with a binary code for each
  2. BThe keys on a keyboard
  3. CThe rules a computer uses to check the spelling of words
  4. DThe fonts installed on a computer
Show the answer

Answer: A A list of characters with a binary code for each

A character set gives every character (letters, digits, symbols, control codes) its own binary code. Sender and receiver must use the same character set, or text comes out as nonsense.

Checked against ocr.org.uk

26 / Memory, storage and dataEvery board

In a character set, the letter A has the code 65.

What can you say about the code for B?

  1. AIt is one more than the code for A
  2. BIt could be any number at all
  3. CIt is the same as the code for A
  4. DIt is one less than the code for A
Show the answer

Answer: A It is one more than the code for A

Character codes are given in sequence, so B is one more than A, C one more than B and so on. Because the codes follow the alphabet, code can sort or compare text by comparing the numbers.

Checked against unicode.org

27 / Memory, storage and dataEvery board

Why can a computer tell a from A?

  1. AThe keyboard sends a colour with each
  2. BThey have different character codes
  3. COnly the font is different
  4. DUpper case is stored as a picture
Show the answer

Answer: B They have different character codes

Upper and lower case letters are different characters with different codes. In ASCII and Unicode, A is 65 and a is 97, so a search that ignores case has to allow for both.

Checked against unicode.org

28 / Memory, storage and dataEvery board

Why was Unicode created?

  1. ATo make text files smaller than the same text in ASCII
  2. BTo store images inside text
  3. CTo encrypt messages
  4. DTo represent characters from every writing system
Show the answer

Answer: D To represent characters from every writing system

ASCII has too few codes for the world’s languages. Unicode uses more bits per character to give codes to over 150,000 characters, including every major alphabet and emoji. Its first 128 codes match ASCII, so English text keeps the same codes.

Checked against unicode.org

29 / Memory, storage and dataEvery board

Why can a character set that uses more bits per character hold more characters?

  1. AExtra bits remove the control codes
  2. BEach extra bit doubles the number of codes
  3. CExtra bits make each code shorter
  4. DExtra bits add a colour to each letter
Show the answer

Answer: B Each extra bit doubles the number of codes

With n bits there are 2 to the power n different patterns. Adding one bit doubles the number of patterns, so a character set with more bits per character can give codes to many more characters.

Checked against ocr.org.uk

30 / Memory, storage and dataEvery board

What is a pixel?

  1. AOne bit of a sound sample
  2. BThe number of colours in an image
  3. CA unit of storage equal to 8 bits
  4. DOne dot of colour in a bitmap image
Show the answer

Answer: D One dot of colour in a bitmap image

A bitmap image is a grid of pixels, the smallest single-coloured dots of the image. Each pixel’s colour is stored as a binary code, one after another.

Checked against ocr.org.uk

31 / Memory, storage and dataEvery board

What is colour depth?

  1. AThe number of bits used for each pixel
  2. BHow bright the screen is
  3. CThe number of pixels in the image
  4. DThe number of images in a file
Show the answer

Answer: A The number of bits used for each pixel

Colour depth is how many bits store each pixel’s colour. More bits give more possible colours, so the image looks more realistic, but every pixel takes more space and the file gets bigger. It is not the same as resolution.

Checked against ocr.org.uk

32 / Memory, storage and dataEvery board

What usually happens when an image is saved with more pixels?

  1. AThe file size stays exactly the same
  2. BIt has more colours, but no more pixels
  3. CIt shows more detail, but the file is larger
  4. DIt shows less detail, and the file is smaller
Show the answer

Answer: C It shows more detail, but the file is larger

Every pixel needs its own colour code, so more pixels means more data to store. The image is sharper, but the file takes more space and longer to send.

Checked against eduqas.co.uk

33 / Memory, storage and dataEvery board

How is analogue sound turned into digital data?

  1. AThe sound wave is photographed
  2. BIts amplitude is measured at regular intervals
  3. CIts frequency is measured once at the start of each song
  4. DEach note is stored as a letter
Show the answer

Answer: B Its amplitude is measured at regular intervals

Sound is an analogue wave. To store it, the height of the wave (its amplitude) is measured many times a second; each measurement is a sample, stored as a binary number. Sampling measures amplitude, not frequency.

Checked against qualifications.pearson.com

34 / Memory, storage and dataEvery board

What is the sample rate?

  1. AThe number of samples taken each second
  2. BHow long the recording lasts
  3. CHow loud the sound is
  4. DThe number of bits in each sample
Show the answer

Answer: A The number of samples taken each second

The sample rate is how many samples are taken each second, measured in hertz. CD audio, for example, uses 44,100 samples a second (44.1 kHz).

Checked against ocr.org.uk

35 / Memory, storage and dataEvery board

What is bit depth in a sound recording?

  1. AHow loud the recording is
  2. BThe number of samples each second
  3. CHow long the recording lasts
  4. DThe number of bits stored for each sample
Show the answer

Answer: D The number of bits stored for each sample

Bit depth (AQA says sample resolution) is how many bits store each sample. More samples a second, or more bits for each, capture the sound more accurately, but there is more data to store.

Checked against ocr.org.uk

36 / Memory, storage and dataEvery board

Why are files compressed?

  1. ATo stop viruses reading them
  2. BTo turn them into binary
  3. CTo make them smaller to store and send
  4. DTo make them higher in quality than the original
Show the answer

Answer: C To make them smaller to store and send

Compression makes files smaller, so they take up less storage, upload and download faster, and use less bandwidth. Streaming and email attachments both depend on it.

Checked against ocr.org.uk

37 / Memory, storage and dataEvery board

A streaming service sends films to millions of homes over the internet.

Why does it compress the films?

  1. ASo less data is sent and films start quickly
  2. BSo the films cannot be shared
  3. CSo the picture is sharper than the original
  4. DSo the films need no internet connection
Show the answer

Answer: A So less data is sent and films start quickly

Compressed films are much smaller, so they need less bandwidth and can play without long waits. Streaming services use lossy compression, as small losses in picture quality are hard to notice.

Checked against ocr.org.uk

38 / Memory, storage and dataEvery board

What does lossy compression do?

  1. AKeeps every bit of the original
  2. BAdds data to improve quality
  3. CRemoves some data for good
  4. DEncrypts the file
Show the answer

Answer: C Removes some data for good

Lossy compression throws away data that people are unlikely to notice, such as fine detail in a photo. Files become much smaller, but the original can never be rebuilt, so it suits images, music and video, not text or code.

Checked against ocr.org.uk

39 / Memory, storage and dataEvery board

What is true of lossless compression?

  1. AThe original file can be rebuilt exactly
  2. BIt always beats lossy on file size
  3. CSome data is removed for good
  4. DIt can only be used on images and never on text
Show the answer

Answer: A The original file can be rebuilt exactly

Lossless compression stores the data in a more efficient way without losing any of it, so the original can be rebuilt bit for bit. Files usually shrink less than with lossy compression.

Checked against ocr.org.uk

40 / Memory, storage and dataEvery board

A teacher compresses a file of source code to email it to a colleague.

Which compression should be used?

  1. ALossless, so no code is lost
  2. BEither, as both keep all the data
  3. CLossy, as code has no colours
  4. DLossy, so the file is smaller
Show the answer

Answer: A Lossless, so no code is lost

Losing even one character could stop code working, so text, code and spreadsheets must use lossless compression. Lossy is only for data like images and sound, where small losses do not matter.

Checked against ocr.org.uk

02 / Exam questionsMarked by levels

Exam questions on this topic

Write your answer first, on paper. Then open it and tick off the points you made. The marks are as on that board’s paper.

8 marks / Storage for a wildlife film crewOCR

A small film company records wildlife in remote places. Each camera records about 200 GB of video a day. The crew carries the footage back to base, where it is edited and then kept for at least ten years.

Discuss the most suitable secondary storage for the company. In your answer you should consider: storage in the cameras and in the field, storage for editing, and storage for the long-term archive, using capacity, speed, portability, durability, reliability and cost.

What a full answer includes
  • In the cameras, solid state memory cards have no moving parts, so they survive knocks, cold and damp, and they are small and light.
  • Solid state storage writes fast enough to record high-quality video, and its higher cost per gigabyte is acceptable for the amount used each day.
  • In the field the crew should copy each day’s footage onto two portable solid state drives, so a lost or failed drive does not lose the footage.
  • For editing, solid state drives give fast read and write speeds, so large video files open and play smoothly.
  • For the archive, magnetic hard disk drives give very large capacity at a low cost per gigabyte, and durability matters less because they stay in the office.
  • Hard disks have moving parts that can wear out over ten years, so the archive needs more than one copy and drives replaced as they age.
  • Optical discs are durable, but even a large Blu-ray holds far less than one day’s 200 GB and writing them is slow.
  • An off-site copy, such as cloud storage, protects against fire or theft, but uploading many terabytes is slow and costs money each month.
  • A justified recommendation that matches each type of storage to its job.

Model answer

In the cameras the company should use solid state memory cards. They have no moving parts, so they keep working when they are knocked, cold or damp, and they are small and light to carry. They are also fast enough to record high-quality video. Solid state storage costs more per gigabyte, but 200 GB a day is affordable. Each evening the crew should copy the footage onto two portable SSDs, so if one is dropped in a river or fails, the footage is not lost. For editing, the computers should use internal SSDs. Their fast read and write speeds mean large video files load and play without delay, which saves editors time. For the ten-year archive, magnetic hard disk drives are best. They hold several terabytes each at a much lower cost per gigabyte, and because they stay on a shelf in the office, being less durable than solid state does not matter much. However, hard disks have moving parts that wear, so the company should keep two copies and replace old drives. Optical discs are durable, but a Blu-ray disc holds far less than a day of footage and is slow to write. A cloud copy would protect against fire or theft, but uploading terabytes would be slow and costly. So: solid state in the field and for editing, magnetic drives for the archive.

Where marks slip

Saying a device is “fast” or “cheap” is not enough. Compare the characteristics that matter for each job in this scenario, and use the figures given, such as 200 GB a day, to rule options in or out.

9 marks / A school moving to cloud storageAQA

A secondary school plans to stop using the file server in its building. Instead, all staff and pupil files, including reports and pupils’ medical notes, will be kept by a cloud storage provider.

Discuss the advantages and disadvantages for the school of using cloud storage, including the legal, ethical and cyber security issues.

What a full answer includes
  • Staff and pupils can reach their files from any device with an internet connection, at school or at home, and can work on the same file together.
  • The school no longer buys, repairs or backs up its own server, and can add storage when it needs more.
  • Without an internet connection no one can reach their files, and the school pays the provider every year.
  • The school is still legally responsible for pupils’ personal data, and medical notes need extra care, so it must check where and how the provider stores the data.
  • Ethically, pupils’ data is held by a private company, so the contract must stop the provider using it for anything else.
  • The provider has specialist security staff and keeps backups, but staff accounts can still be phished or have weak passwords.
  • Sharing settings that are set up wrongly could expose files, such as medical notes, to anyone with a link.
  • The school should use a second step at login, set access rights carefully and train staff.
  • A balanced conclusion about whether the school should move.

Model answer

Cloud storage would let teachers and pupils reach their files from any device with an internet connection, at school or at home, and several people can edit a document at once. The school would no longer have to buy, repair or back up its own server, and could pay for more space when it needs it. However, if the school’s internet connection fails, no one can open their files, and the school must keep paying the provider every year. Legally, the school is still responsible for pupils’ personal data under data protection law, even though another company stores it. Medical notes are health data, which needs extra protection, so the school must check where the provider keeps the data and how it protects it. Ethically, the data belongs to children and is held by a private company, so the contract must stop the provider using it for anything else, such as advertising. The provider will have expert security staff and keep backups, but the cloud is not automatically secure. A teacher could be tricked by a phishing email into giving away a password, and a file shared with the wrong settings could let anyone with the link see medical notes. The school should use a second step at login, set access rights for each folder and train staff. Overall, the school should move, but only after checking the provider and setting access rights carefully.

Where marks slip

Do not say the cloud is automatically more secure or that the school no longer needs to think about security. Explain what the provider handles and what the school still has to do itself.

03 / In the appShow Working

All 48 questions in Show Working

This page shows 40 of them. In the app, choose your exam board and you only see what your exam asks for. Tap through questions, or open Read the answers to see the whole topic at once, covered until you tap.

More GCSE Computer Science topics

Our own questions, written for every board. Show Working is independent and not affiliated with any exam board.

Show WorkingFree on the App StoreFree in your browser, no download

Open it free