OCR H446 A Level Computer Science · 1.1 Characteristics of Contemporary Processors
Stretch tasks Input, Output and Storage
Quiz Challenge
A quiz game against four computer players, then short and long written answers.
- Quiz Blitz12 questions against the clock
- Quick Fire4 short answers
- Big Think2 long answers
About 20 minutes
This or That
Pixel the cat asks 8 questions. Each has two answers: pick the right one.
- Two answers to every question
- A fish treat for every right answer
- Streaks win Pixel shades, then a party hat
About 4 minutes
Memory Match
Flip the cards two at a time to match each term card to its meaning card.
- 12 cards: each term has a meaning
- One peek at every card
- Combo points for pairs found in a row
6 pairs, about 4 minutes
Sort It
Sort each statement into the right box, like the tick box tables in the exam.
- 12 cards to sort into 3 boxes
- Drag a card, tap a box or press its number
- Combo points for cards sorted in a row
12 cards, about 4 minutes
Code Word
Guess the lesson's secret words. Every guess shows which letters are right.
- A clue for every word
- Tiles turn green, amber or grey after each guess
- Fewer guesses win more points
3 words, about 4 minutes
Link Up
12 tiles hide 3 groups of 4. Work out what links them.
- Pick four tiles that belong together
- Four slips and the round is over
- Fewer slips win more points
3 groups, about 3 minutes
Bug Hunt
Two statements are true and one has a bug. Catch the bug before it gets away.
- Three statements in every round
- Tap the one with the mistake
- Streaks win bonus points
5 rounds, about 4 minutes
Brain games
Train your brain on this lesson
Logic, memory and speed, built from this lesson's own key ideas. Win up to three diamonds in each game.
Odd One Out
Four tiles: three share a link and one does not. Spot the odd one out, then see what links the rest.
- Three belong together, one does not
- A hint shows the link, for fewer points
- Quick answers and streaks win more
8 rounds, about 3 minutes
Memory Flash
Study the term cards, then they flip over. Find the card that goes with each clue, from memory.
- Three levels: 3, 4 and 6 cards
- Two tries to find each card
- Streaks win bonus points
3 levels, about 4 minutes
Fact or Fib
Statements fly in one at a time. Is each one a fact or a fib? Decide fast.
- Swipe, tap or use the arrow keys
- Every fib comes with its fix
- Streaks multiply your points
12 statements, about 3 minutes
The final challenge
City Run
Race a robot cat on inline skates through a neon cyber city, from Neon Station to the Hyper Tunnel. Every question is a row of neon gates across the tracks: skate through the one with the right answer, dodge the trains and barriers, and grab diamonds.
- 20 questions from this lesson, in four parts of the city
- Swipe, tap or use the arrow keys
- Dodge trains and holograms, and jump crates and cones
20 questions, about 6 minutes
Bonus challenge
Neon Roll
Roll a glowing ball down an endless neon slope, past towers lit up with neon signs of Pixel the cat. Steer, jump the gaps and dodge the blocks. Questions from this lesson wait at gates along the way: every right answer keeps the ball rolling.
- Questions from this lesson at every gate
- Hold the arrow keys or a side of the slope to steer
- 8 right answers win two diamonds, 15 win three
Endless, about 5 minutes
The games need JavaScript. Every question is below, with the answers at the end.
Read the lesson: Input, Output and Storage
Input, Output and Storage: the questions
Quiz Challenge, round 1: Quiz Blitz
How does a barcode scanner read a barcode?
- It detects radio waves from the label
- It measures light reflected from the black and white bars
- It reads a magnetic strip in the bars
- It photographs the product and recognises it
Which type of RAM is used for cache?
- DRAM
- EEPROM
- Flash
- SRAM
DRAM must be refreshed constantly because its charge leaks away.
- True
- False
Why do solid state drives use wear levelling?
- It makes the drive spin more evenly
- It stops data being read too often
- Each cell survives only a limited number of write cycles
- Their platters wear out at the edges
Which TWO are true of magnetic hard disks?
Tick 2.
- Faster than solid state drives
- Data is stored as trapped charge
- Very high capacity at a low cost per byte
- A read write head moves over spinning platters
- No moving parts
Order these from fastest to slowest access.
Number these 1 to 4.
- DRAM main memory
- Solid state drive
- Magnetic tape
- SRAM cache
What is disk thrashing?
- Writing the same data to two disks
- Spending more time moving pages than running instructions
- A disk head hitting the platter
- Deleting files to free up space
Virtual memory adds more physical RAM to the computer.
- True
- False
Which hardware turns a microphone's varying voltage into binary values?
How does a laser printer put toner on the page?
- The paper is coated and exposed to light
- A laser draws a static charge on a drum and toner sticks to it
- Nozzles fire droplets of toner at the paper
- A heated pin presses toner through a ribbon
Put these steps in order for when RAM fills up and virtual memory is used.
Number these 1 to 4.
- Pages not used recently are written to the page file
- The freed space in RAM is given to the program
- Old pages are read back into RAM when they are needed again
- RAM is full and a program needs more memory
Which storage suits a phone best?
- Magnetic tape, because it is cheapest per terabyte
- Flash, because it has no moving parts and uses little power
- Magnetic disk, because it has the highest capacity
- Optical disc, because it is cheap
Quiz Challenge, round 2: Quick Fire
Explain why an SSD is better suited to a laptop than a magnetic hard disk. [2 marks]
Describe the difference between DRAM and SRAM. [2 marks]
Explain what wear levelling does and why it is needed. [2 marks]
Explain why heavy use of virtual memory slows a computer down. [2 marks]
Quiz Challenge, round 3: Big Think
A hospital must keep 300 TB of old scans for ten years and seldom needs to read them. Recommend a storage medium and justify your choice. [4 marks]
Explain how virtual memory works and the problems it can cause. [6 marks]
This or That: tick the right answer
Which needs refreshing thousands of times a second?
- SRAM
- DRAM
Which holds the bootstrap program?
- RAM
- ROM
What does an optical mouse compare to detect movement?
- Magnetic readings from the mat
- Successive photos of the surface
Which is serial access?
- A solid state drive
- Magnetic tape
Which suits printing 5,000 pages a week in an office?
- An inkjet printer
- A laser printer
Why can an SSD slow down as it fills up?
- Its platters spin slower
- It erases in large blocks
Which display switches a pixel off completely to show black?
- LCD
- OLED
Where are files in cloud storage really kept?
- On remote servers
- In the computer's RAM
Memory Match: match each term to its meaning
| Term | Meaning |
|---|---|
| A DRAM | 1 Spreading writes evenly across flash cells |
| B SRAM | 2 More time moving pages than running instructions |
| C EEPROM | 3 Main memory that must be refreshed constantly |
| D Wear levelling | 4 Turns a varying voltage into binary samples |
| E Disk thrashing | 5 ROM that can be rewritten to update firmware |
| F ADC | 6 Fast memory with no refresh, used for cache |
Sort It: tick one box in each row
Which kind of storage is each statement about?
| Statement | Magnetic | Solid state | Optical |
|---|---|---|---|
| A read write head moves over spinning platters | |||
| Uses wear levelling to spread out writes | |||
| Tape versions are still used for huge archives | |||
| A laser reads pits and lands | |||
| Stores bits as magnetised regions | |||
| Easily scratched, which can make it unreadable | |||
| Data is held as charge trapped in transistors | |||
| Read only versions cannot be altered | |||
| No moving parts, so access time is the same everywhere | |||
| Used to sell films and games on discs | |||
| Can be damaged if dropped while running | |||
| Each cell survives a limited number of writes |
Code Word: write the word that fits each clue
Moving fixed sized blocks of memory between RAM and secondary storage. (6 letters)
A spinning disc coated in magnetic material inside a hard drive. (7 letters)
The powder a laser printer fuses onto paper with heat. (5 letters)
Link Up: find the three groups
These 12 tiles make 3 groups of 4. Write each group in the table, and what links its tiles.
- Microphone
- Keyboard
- ROM
- Laser printer
- Flash drive
- Inkjet printer
- 3D printer
- OLED display
- Magnetic tape
- Optical mouse
- Barcode scanner
- Hard disk
| Group | The 4 tiles | What links them |
|---|---|---|
| Group 1 | ||
| Group 2 | ||
| Group 3 |
Bug Hunt: tick the statement that is wrong
In each set, two statements are true and one has a mistake in it.
- DRAM stores each bit as charge that slowly leaks away.
- SRAM needs no refreshing and is used for cache.
- SRAM is slower than DRAM, so it is used for main memory.
- An SSD has no moving parts, so it copes well with knocks.
- Wear levelling sends every write to the same block of cells.
- Flash cells survive a limited number of program and erase cycles.
- Disk thrashing happens when pages are swapped too often.
- Virtual memory uses secondary storage as an extension of RAM.
- Pages that are used most often are moved out to the page file.
- An OLED pixel gives out its own light.
- An LCD controls light from a backlight with liquid crystals.
- An OLED screen needs a backlight behind its pixels.
- Tape gives fast access to any single file.
- Magnetic tape is serial access, so it winds to reach a file.
- Tape costs very little per terabyte, so it suits archives.
Brain game: Odd One Out
Three tiles in each set share a link. Tick the odd one out, then write what links the other three.
- Microphone
- Keyboard
- Magnetic tape
- Barcode scanner
What links the other three?
- ROM
- Laser printer
- 3D printer
- OLED display
What links the other three?
- ROM
- Flash drive
- Inkjet printer
- Magnetic tape
What links the other three?
- Microphone
- Keyboard
- Inkjet printer
- Barcode scanner
What links the other three?
- Inkjet printer
- 3D printer
- OLED display
- Barcode scanner
What links the other three?
- Flash drive
- Magnetic tape
- Barcode scanner
- Hard disk
What links the other three?
Brain game: Memory Flash, on paper
Which term means this? Write your answer from memory.
Spreading writes evenly across flash cells
More time moving pages than running instructions
Main memory that must be refreshed constantly
Turns a varying voltage into binary samples
ROM that can be rewritten to update firmware
Fast memory with no refresh, used for cache
Brain game: Fact or Fib
Tick Fact if the statement is true and Fib if it is not.
Virtual memory uses secondary storage as an extension of RAM.
- Fact
- Fib
Virtual memory adds more physical RAM to the computer.
- Fact
- Fib
SRAM is slower than DRAM, so it is used for main memory.
- Fact
- Fib
Pages that are used most often are moved out to the page file.
- Fact
- Fib
DRAM stores each bit as charge that slowly leaks away.
- Fact
- Fib
Wear levelling sends every write to the same block of cells.
- Fact
- Fib
An SSD has no moving parts, so it copes well with knocks.
- Fact
- Fib
Disk thrashing happens when pages are swapped too often.
- Fact
- Fib
Tape gives fast access to any single file.
- Fact
- Fib
An OLED pixel gives out its own light.
- Fact
- Fib
An OLED screen needs a backlight behind its pixels.
- Fact
- Fib
DRAM must be refreshed constantly because its charge leaks away.
- Fact
- Fib
City Run
City Run is a race through a neon cyber city, played on screen. It asks 20 of the questions above, from the quiz, This or That, Memory Flash and Fact or Fib.
Neon Roll
Neon Roll is a ball rolling down an endless neon slope, played on screen. Every right answer keeps it rolling. It asks the questions above, from the quiz, This or That, Memory Flash and Fact or Fib.
Answers
Round 1: Quiz Blitz
- It measures light reflected from the black and white bars Black bars absorb the laser light and white gaps reflect it, so the sensor sees a pattern of light levels.
- SRAM SRAM is faster and needs no refresh, so it is used for cache. DRAM is cheaper and denser, so it is used for main memory.
- True Each bit is charge in a tiny capacitor that leaks, so DRAM is refreshed thousands of times a second.
- Each cell survives only a limited number of write cycles Spreading writes across the whole drive stops some cells wearing out long before the rest.
- Very high capacity at a low cost per byte; A read write head moves over spinning platters Hard disks are cheap per byte and use a moving head over spinning platters. Trapped charge and no moving parts describe solid state drives, which are also faster.
- SRAM cache → DRAM main memory → Solid state drive → Magnetic tape Cache beats main memory, flash beats any magnetic device, and tape has to wind to the data.
- Spending more time moving pages than running instructions When pages are swapped in and out too often, the processor spends most of its time waiting for secondary storage.
- False It uses far slower secondary storage as an extension of RAM. No RAM is added, and heavy use slows the computer down.
- adc An analogue to digital converter samples the signal and outputs a binary value for each sample.
- A laser draws a static charge on a drum and toner sticks to it Toner sticks to the charged areas of the drum, is transferred to the paper and is fused by heat.
- RAM is full and a program needs more memory → Pages not used recently are written to the page file → The freed space in RAM is given to the program → Old pages are read back into RAM when they are needed again Pages that have not been used for a while move out, the space goes to the program, and pages come back in when they are wanted.
- Flash, because it has no moving parts and uses little power A phone is carried and dropped and runs on a battery, so robust, fast, low power flash is the right choice.
Round 2: Quick Fire
- It has no moving parts, so it copes with knocks and drops
- It is faster to access
- It uses less power, so the battery lasts longer
- It is lighter and smaller
Model answerAn SSD has no moving parts, so it is not damaged if the laptop is dropped, and it uses less power, so the battery lasts longer.
- DRAM must be refreshed constantly, SRAM does not
- SRAM is faster and used for cache
- DRAM is cheaper and denser, and used for main memory
Model answerDRAM must be refreshed constantly because its charge leaks away, while SRAM needs no refresh. SRAM is faster, so it is used for cache, while DRAM is cheaper and used for main memory.
- It spreads writes evenly across all the cells
- Each flash cell survives only a limited number of write cycles
Model answerWear levelling spreads writes evenly across all the cells of the drive, because each flash cell can only take a limited number of write cycles before it wears out.
- Secondary storage is much slower than RAM
- Pages are swapped back and forth, so more time goes on moving pages than running instructions
Model answerSecondary storage is much slower than RAM, so each time a page is swapped between them the processor waits. With heavy use the computer spends more time moving pages than running instructions, which is disk thrashing.
Round 3: Big Think
- Recommends magnetic tape
- Very low cost per terabyte
- Very high capacity for the volume of data
- Its slow serial access does not matter for an archive
- It lasts for decades and can be kept offline
- Explains why another medium is less suitable
Model answerMagnetic tape is the best choice. It has a huge capacity at a very low cost per terabyte, which matters for 300 TB. Its access is serial, so it is slow to reach a particular file, but that does not matter for an archive that is hardly ever read. Tape also lasts for decades and can be stored offline. Solid state drives would cost far more for the same capacity.
- It is used when RAM is full
- Part of secondary storage is used as an extension of RAM
- Pages that have not been used recently are moved out of RAM
- Pages are swapped back in when they are needed
- Secondary storage is much slower than RAM
- Too much swapping causes disk thrashing
- Constant writes wear out an SSD
Model answerWhen RAM is full, part of secondary storage is used as an extension of it, called the page file. Pages that have not been used recently are moved out of RAM into the page file, freeing space, and they are swapped back in when they are needed again. Secondary storage is much slower than RAM, so each swap makes the processor wait. If too many pages are swapped, the computer spends more time moving pages than running instructions, which is disk thrashing. Constant writes also wear out an SSD faster.
This or That
- DRAM DRAM stores each bit as charge in a capacitor that leaks. SRAM holds its bits in flip flops, so it needs no refresh.
- ROM The bootstrap must survive the power being switched off, so it lives in non volatile ROM.
- Successive photos of the surface An LED lights the surface and a tiny camera compares frames thousands of times a second.
- Magnetic tape Tape has to wind to the data. An SSD can reach any block directly.
- A laser printer Laser printers are fast and have a low cost per page over high volumes.
- It erases in large blocks Flash writes in pages but can only erase whole blocks, so a full drive has to move data around before it can write.
- OLED OLED pixels make their own light. An LCD blocks a backlight that is always on, so its black still glows a little.
- On remote servers Cloud storage looks local but the files sit on someone else's servers, reached over the internet.
Memory Match
- A 3 DRAM: Main memory that must be refreshed constantly
- B 6 SRAM: Fast memory with no refresh, used for cache
- C 5 EEPROM: ROM that can be rewritten to update firmware
- D 1 Wear levelling: Spreading writes evenly across flash cells
- E 2 Disk thrashing: More time moving pages than running instructions
- F 4 ADC: Turns a varying voltage into binary samples
Sort It
- Magnetic A read write head moves over spinning platters Hard disks use a head on an actuator arm over spinning magnetic platters.
- Solid state Uses wear levelling to spread out writes Wear levelling exists because flash cells wear out.
- Magnetic Tape versions are still used for huge archives Magnetic tape is very cheap per terabyte, so it remains the standard for archives.
- Optical A laser reads pits and lands Optical discs are read by a laser reflecting off pits and lands.
- Magnetic Stores bits as magnetised regions Magnetic storage represents each bit by the direction a region is magnetised.
- Optical Easily scratched, which can make it unreadable A scratch on the surface can stop the laser reading the pits beneath it.
- Solid state Data is held as charge trapped in transistors Flash stores charge in floating gate transistors.
- Optical Read only versions cannot be altered Pressed or read only discs cannot be written to, which suits films and software.
- Solid state No moving parts, so access time is the same everywhere With nothing to seek or spin, flash reaches every block equally quickly.
- Optical Used to sell films and games on discs Films and games are pressed onto optical discs because they are cheap to make in bulk.
- Magnetic Can be damaged if dropped while running The head hovers just above the platter, so a knock can make it crash into the surface.
- Solid state Each cell survives a limited number of writes Flash cells wear out after a finite number of program and erase cycles.
Code Word
- PAGING Moving fixed sized blocks of memory between RAM and secondary storage.
- PLATTER A spinning disc coated in magnetic material inside a hard drive.
- TONER The powder a laser printer fuses onto paper with heat.
Link Up
- Input devices Keyboard; Barcode scanner; Microphone; Optical mouse
- Output devices OLED display; Laser printer; Inkjet printer; 3D printer
- Keep data without power ROM; Flash drive; Magnetic tape; Hard disk
Bug Hunt: the wrong statement, and why
- SRAM is slower than DRAM, so it is used for main memory. SRAM is the faster one, used for cache. DRAM is cheaper and denser, so it is used for main memory.
- Wear levelling sends every write to the same block of cells. Wear levelling spreads writes across the whole drive so that no cells wear out early.
- Pages that are used most often are moved out to the page file. It is the pages that have not been used recently that are moved out, so the busy ones stay in RAM.
- An OLED screen needs a backlight behind its pixels. OLED pixels emit their own light, so there is no backlight and a black pixel is simply switched off.
- Tape gives fast access to any single file. Tape must wind through to reach a file, so access is slow. That is fine for an archive but not for daily use.
Odd One Out
- Magnetic tape is the odd one out: it goes with Keep data without power. The other three: Input devices.
- ROM is the odd one out: it goes with Keep data without power. The other three: Output devices.
- Inkjet printer is the odd one out: it goes with Output devices. The other three: Keep data without power.
- Inkjet printer is the odd one out: it goes with Output devices. The other three: Input devices.
- Barcode scanner is the odd one out: it goes with Input devices. The other three: Output devices.
- Barcode scanner is the odd one out: it goes with Input devices. The other three: Keep data without power.
Memory Flash
- Wear levelling Spreading writes evenly across flash cells
- Disk thrashing More time moving pages than running instructions
- DRAM Main memory that must be refreshed constantly
- ADC Turns a varying voltage into binary samples
- EEPROM ROM that can be rewritten to update firmware
- SRAM Fast memory with no refresh, used for cache
Fact or Fib
- Fact Virtual memory uses secondary storage as an extension of RAM.
- Fib Virtual memory adds more physical RAM to the computer. The fix: It uses far slower secondary storage as an extension of RAM. No RAM is added, and heavy use slows the computer down.
- Fib SRAM is slower than DRAM, so it is used for main memory. The fix: SRAM is the faster one, used for cache. DRAM is cheaper and denser, so it is used for main memory.
- Fib Pages that are used most often are moved out to the page file. The fix: It is the pages that have not been used recently that are moved out, so the busy ones stay in RAM.
- Fact DRAM stores each bit as charge that slowly leaks away.
- Fib Wear levelling sends every write to the same block of cells. The fix: Wear levelling spreads writes across the whole drive so that no cells wear out early.
- Fact An SSD has no moving parts, so it copes well with knocks.
- Fact Disk thrashing happens when pages are swapped too often.
- Fib Tape gives fast access to any single file. The fix: Tape must wind through to reach a file, so access is slow. That is fine for an archive but not for daily use.
- Fact An OLED pixel gives out its own light.
- Fib An OLED screen needs a backlight behind its pixels. The fix: OLED pixels emit their own light, so there is no backlight and a black pixel is simply switched off.
- Fact DRAM must be refreshed constantly because its charge leaks away.

