OCR H446 A Level Computer Science · 1.1 Characteristics of Contemporary Processors
Stretch tasks Types of Processor
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: Types of Processor
Types of Processor: the questions
Quiz Challenge, round 1: Quiz Blitz
Why do RISC processors pipeline more easily than CISC processors?
- They use microcode for every instruction
- They run at lower clock speeds
- Their instructions are a fixed length and take similar times
- They have larger instruction sets
What is microcode used for in a CISC processor?
- Carrying out complex instructions as simpler internal steps
- Storing the operating system
- Compressing programs in memory
- Predicting which way branches go
A CISC program usually needs fewer instructions than the same program written for RISC.
- True
- False
Which task suits a GPU best?
- Running a program with many unpredictable branches
- Following a long chain of steps that each need the last result
- Scheduling the operating system's processes
- Applying the same calculation to millions of pixels
Which THREE limit the speedup from adding more cores?
Tick 3.
- Time spent coordinating the cores
- The size of the monitor
- The amount of secondary storage
- Parts of the task that must run in sequence
- Data dependencies between steps
What does the S in SIMD stand for?
Which family of processors is an example of CISC?
- ARM
- A graphics processor
- x86
A GPU is simply a faster version of a CPU.
- True
- False
Order these from the fewest cores to the most.
Number these 1 to 3.
- A quad core CPU
- A typical modern GPU
- A single core CPU
Amdahl's law says the maximum speedup from parallel processing is limited by what?
- The fraction of the task that must stay sequential
- The clock speed of the slowest core
- The amount of cache on each core
- The number of programs running
Why did RISC come to dominate mobile devices?
- RISC needs no compiler
- Simpler hardware draws less power, which saves battery
- RISC programs need less memory
- RISC has a larger instruction set
What is a coprocessor?
- A secondary processor that takes on specific tasks
- A second copy of the operating system
- A processor that only runs in sleep mode
- A register that holds two values
Quiz Challenge, round 2: Quick Fire
Explain why RISC processors usually have lower power consumption than CISC processors. [2 marks]
Explain why a GPU is not suited to a task with many branches. [2 marks]
Describe two differences between RISC and CISC instructions. [2 marks]
Explain why doubling the number of cores does not halve the time a program takes. [2 marks]
Quiz Challenge, round 3: Big Think
Compare RISC and CISC processors, explaining why each is suited to its main uses. [6 marks]
Explain why a GPU can train a machine learning model much faster than a CPU. [4 marks]
This or That: tick the right answer
Which design suits a phone that runs on a battery?
- RISC
- CISC
Where does the complexity sit in CISC?
- In the compiler
- In the hardware
Which instructions are easier to pipeline?
- Fixed length ones
- Variable length ones
A task applies one filter to every pixel of a video. Which processor suits it?
- A GPU
- A single CPU core
Which limits the speedup from extra cores?
- The sequential part of the task
- The size of the hard disk
What does SIMD apply one instruction to?
- One data item at a time
- Many data items at once
Which is a typical CISC family?
- x86
- ARM
Each step of a program needs the result of the step before. Will more cores help much?
- Yes, each core takes a step
- No, the steps must run in order
Memory Match: match each term to its meaning
| Term | Meaning |
|---|---|
| A RISC | 1 Large set of complex, variable length instructions |
| B CISC | 2 Thousands of simple cores built for uniform work |
| C GPU | 3 Small set of simple, fixed length instructions |
| D Amdahl's law | 4 Time lost coordinating cores and sharing data |
| E Data dependency | 5 Speedup is capped by the part that must stay sequential |
| F Communication overhead | 6 A step that needs the result of an earlier step |
Sort It: tick one box in each row
Which kind of processor does each statement describe?
| Statement | RISC | CISC | GPU |
|---|---|---|---|
| One instruction can do the work of several | |||
| Instructions are all the same length | |||
| Built to run the same operation on huge amounts of data | |||
| The compiler builds complex operations from simple steps | |||
| Instructions vary in length | |||
| Thousands of simple cores working side by side | |||
| Slows down on code full of unpredictable branches | |||
| Uses microcode to carry out complex instructions | |||
| Most instructions finish in a single cycle | |||
| The x86 family in most desktop computers | |||
| Ideal for rendering millions of pixels at once | |||
| The ARM processors in almost every smartphone |
Code Word: write the word that fits each clue
Low level steps inside a CISC processor that carry out its complex instructions. (9 letters)
His law says the sequential part of a task caps the speedup from more processors. (6 letters)
A single sequence of instructions that one core can run. (6 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.
- Many cycles each
- Data dependencies
- Sequential parts
- Single threaded code
- Complex hardware
- Coordination
- Fixed length
- Microcode
- Simple decoding
- Variable length
- One cycle each
- Low power
| 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.
- RISC instructions are a fixed length and usually take one cycle.
- RISC programs need fewer instructions than CISC programs.
- CISC instructions vary in length and can take several cycles.
- A GPU runs code with many unpredictable branches faster than a CPU.
- SIMD applies one instruction to many data items at once.
- A GPU has thousands of simple cores.
- A step that needs an earlier result cannot start early.
- Amdahl's law limits the speedup from adding more processors.
- Doubling the number of cores always halves the running time.
- In CISC, the complexity sits in the compiler rather than the hardware.
- In RISC, the compiler builds complex operations from simple instructions.
- CISC processors often use microcode.
- ARM processors are RISC and run almost every phone.
- RISC processors draw more power because they run more instructions.
- Most desktop computers use x86 processors, which are CISC.
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.
- Many cycles each
- Fixed length
- One cycle each
- Low power
What links the other three?
- Many cycles each
- Data dependencies
- Complex hardware
- Microcode
What links the other three?
- Data dependencies
- Sequential parts
- Single threaded code
- Fixed length
What links the other three?
- Complex hardware
- Fixed length
- One cycle each
- Low power
What links the other three?
- Many cycles each
- Single threaded code
- Microcode
- Variable length
What links the other three?
- Sequential parts
- Single threaded code
- Coordination
- Microcode
What links the other three?
Brain game: Memory Flash, on paper
Which term means this? Write your answer from memory.
Large set of complex, variable length instructions
Thousands of simple cores built for uniform work
Small set of simple, fixed length instructions
Time lost coordinating cores and sharing data
Speedup is capped by the part that must stay sequential
A step that needs the result of an earlier step
Brain game: Fact or Fib
Tick Fact if the statement is true and Fib if it is not.
RISC instructions are a fixed length and usually take one cycle.
- Fact
- Fib
A GPU runs code with many unpredictable branches faster than a CPU.
- Fact
- Fib
A CISC program usually needs fewer instructions than the same program written for RISC.
- Fact
- Fib
Doubling the number of cores always halves the running time.
- Fact
- Fib
SIMD applies one instruction to many data items at once.
- Fact
- Fib
A GPU is simply a faster version of a CPU.
- Fact
- Fib
RISC processors draw more power because they run more instructions.
- Fact
- Fib
In CISC, the complexity sits in the compiler rather than the hardware.
- Fact
- Fib
In RISC, the compiler builds complex operations from simple instructions.
- Fact
- Fib
A GPU has thousands of simple cores.
- Fact
- Fib
A step that needs an earlier result cannot start early.
- Fact
- Fib
RISC programs need fewer instructions than CISC programs.
- 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
- Their instructions are a fixed length and take similar times Uniform instructions move through the pipeline stages in step, so the stages stay full.
- Carrying out complex instructions as simpler internal steps Microcode lets the hardware carry out one complex instruction as a sequence of simpler operations.
- True Each CISC instruction can do the work of several simple ones, so programs are shorter.
- Applying the same calculation to millions of pixels A GPU applies one instruction to many data items at once, which is SIMD.
- Parts of the task that must run in sequence; Data dependencies between steps; Time spent coordinating the cores Amdahl's law, data dependencies and communication overhead all cap the gain. Software that is not multi threaded is a fourth limit.
- single SIMD is Single Instruction Multiple Data: one instruction applied to many data items at once.
- x86 Desktop and laptop processors in the x86 family are CISC. ARM, used in phones, is RISC.
- False A GPU has many simple cores built for the same operation on lots of data. A CPU has fewer, more powerful cores for complex sequential work.
- A single core CPU → A quad core CPU → A typical modern GPU One core, then four, then the thousands of simple cores inside a GPU.
- The fraction of the task that must stay sequential However many processors are added, the sequential part still takes the same time, so it sets a ceiling on the speedup.
- Simpler hardware draws less power, which saves battery On a device that runs from a battery, power efficiency matters most, and simple fixed length instructions also pipeline cleanly.
- A secondary processor that takes on specific tasks A coprocessor, such as a GPU, handles particular work to relieve the main processor.
Round 2: Quick Fire
- RISC hardware is simpler, with fewer transistors
- Because the compiler builds complex operations, so no microcode or complex decoding is needed
Model answerRISC hardware is simpler, with fewer transistors, because complex operations are built by the compiler from simple instructions, so no microcode or complex decoding hardware is needed and less power is used.
- GPU cores apply the same instruction to many data items at once
- Branches send items down different paths, so many cores sit idle
Model answerGPU cores apply the same instruction to many data items at once. When branches send different data items down different paths, the cores cannot all run the same code, so many sit idle waiting.
- RISC instructions are fixed length, CISC instructions are variable length
- A RISC instruction usually takes one cycle, a CISC one can take several
- RISC has a small set of instructions, CISC a large set
- CISC instructions are complex and do more work each, RISC ones are simple
Model answerRISC instructions are fixed length, while CISC instructions are variable length. A RISC instruction usually takes one cycle, while a CISC instruction can take several cycles.
- Part of the program must still run in sequence, as Amdahl's law says
- Some steps depend on the results of earlier steps
- Coordinating the cores and sharing data adds overhead
- Software that is not multi threaded only uses one core
Model answerPart of the program must still run in sequence, which Amdahl's law says limits the speedup, and some steps depend on the results of previous steps. The cores also spend time coordinating and sharing data, which adds overhead.
Round 3: Big Think
- RISC has a small set of simple instructions
- CISC has a large set of complex instructions
- RISC instructions are fixed length and take one cycle, CISC ones vary and take several
- RISC pipelines easily because its instructions are uniform
- The complexity sits in the compiler for RISC and in the hardware, with microcode, for CISC
- RISC draws less power, so it suits phones running on a battery
- CISC needs fewer instructions per program and suits desktops and laptops
- ARM is the best known RISC design
Model answerRISC processors have a small set of simple instructions that are fixed length and usually take one cycle, while CISC processors have a large set of complex, variable length instructions that can take several cycles. Because RISC instructions are uniform, they pipeline easily. In RISC the complexity sits in the compiler, while CISC builds it into the hardware using microcode. RISC hardware is simpler and draws less power, so ARM processors suit phones running on a battery. CISC needs fewer instructions per program, and the x86 family is used in desktops and laptops.
- A GPU has thousands of simple cores
- Each core applies the same instruction to different data, which is SIMD
- Training is mostly matrix multiplication, the same arithmetic repeated
- So the work can be split up and run in parallel
- A CPU has a few powerful cores built for complex sequential work
Model answerA GPU has thousands of simple cores, and each one applies the same instruction to different data, which is SIMD. Training a machine learning model is mostly matrix multiplication, the same arithmetic repeated across millions of values, so it can be split up and run in parallel. A CPU has a few powerful cores built for complex sequential work, so it processes far fewer values at the same time.
This or That
- RISC Simple RISC hardware draws less power, which is why ARM processors run almost every phone.
- In the hardware CISC builds complex instructions into the hardware, often with microcode. RISC leaves the compiler to build them from simple steps.
- Fixed length ones Fixed length instructions move through the stages in step, so the pipeline stays full.
- A GPU The same operation on millions of pixels is SIMD work, exactly what a GPU's thousands of cores are built for.
- The sequential part of the task Amdahl's law: however many cores you add, the part that must run in order still takes the same time.
- Many data items at once Single Instruction Multiple Data: one instruction, many data items, all at the same time.
- x86 Desktop and laptop processors in the x86 family are CISC. ARM is the best known RISC design.
- No, the steps must run in order Data dependencies force the steps to run one after another, so extra cores sit idle.
Memory Match
- A 3 RISC: Small set of simple, fixed length instructions
- B 1 CISC: Large set of complex, variable length instructions
- C 2 GPU: Thousands of simple cores built for uniform work
- D 5 Amdahl's law: Speedup is capped by the part that must stay sequential
- E 6 Data dependency: A step that needs the result of an earlier step
- F 4 Communication overhead: Time lost coordinating cores and sharing data
Sort It
- CISC One instruction can do the work of several Powerful, complex instructions mean CISC programs need fewer of them.
- RISC Instructions are all the same length Fixed length instructions are a defining feature of RISC.
- GPU Built to run the same operation on huge amounts of data That is SIMD, the way a GPU works.
- RISC The compiler builds complex operations from simple steps RISC moves the complexity into the compiler.
- CISC Instructions vary in length Variable length instructions are a CISC feature, and one reason it is harder to pipeline.
- GPU Thousands of simple cores working side by side A GPU has thousands of simple cores, where a CPU has a few powerful ones.
- GPU Slows down on code full of unpredictable branches Branches send data down different paths, so a GPU's cores sit idle. CPUs handle branching far better.
- CISC Uses microcode to carry out complex instructions Microcode breaks a complex CISC instruction into simpler internal steps.
- RISC Most instructions finish in a single cycle Simple RISC instructions usually take one cycle each.
- CISC The x86 family in most desktop computers Desktop and laptop x86 processors are CISC.
- GPU Ideal for rendering millions of pixels at once The same lighting calculation applied to every pixel is perfect GPU work.
- RISC The ARM processors in almost every smartphone ARM is the best known RISC design, chosen for its low power use.
Code Word
- MICROCODE Low level steps inside a CISC processor that carry out its complex instructions.
- AMDAHL His law says the sequential part of a task caps the speedup from more processors.
- THREAD A single sequence of instructions that one core can run.
Link Up
- RISC features Fixed length; One cycle each; Simple decoding; Low power
- CISC features Variable length; Microcode; Many cycles each; Complex hardware
- Limit parallel speedup Sequential parts; Data dependencies; Coordination; Single threaded code
Bug Hunt: the wrong statement, and why
- RISC programs need fewer instructions than CISC programs. Each RISC instruction does less, so a RISC program needs more instructions. CISC packs more work into each one.
- A GPU runs code with many unpredictable branches faster than a CPU. Branches send data items down different paths, so GPU cores sit idle. A CPU, with branch prediction, handles them better.
- Doubling the number of cores always halves the running time. Sequential parts, data dependencies and coordination overhead all mean the time falls by less than half.
- In CISC, the complexity sits in the compiler rather than the hardware. CISC builds the complexity into the hardware, often with microcode. It is RISC that moves it into the compiler.
- RISC processors draw more power because they run more instructions. RISC hardware is simpler, so it draws less power, which is why it suits devices that run on a battery.
Odd One Out
- Many cycles each is the odd one out: it goes with CISC features. The other three: RISC features.
- Data dependencies is the odd one out: it goes with Limit parallel speedup. The other three: CISC features.
- Fixed length is the odd one out: it goes with RISC features. The other three: Limit parallel speedup.
- Complex hardware is the odd one out: it goes with CISC features. The other three: RISC features.
- Single threaded code is the odd one out: it goes with Limit parallel speedup. The other three: CISC features.
- Microcode is the odd one out: it goes with CISC features. The other three: Limit parallel speedup.
Memory Flash
- CISC Large set of complex, variable length instructions
- GPU Thousands of simple cores built for uniform work
- RISC Small set of simple, fixed length instructions
- Communication overhead Time lost coordinating cores and sharing data
- Amdahl's law Speedup is capped by the part that must stay sequential
- Data dependency A step that needs the result of an earlier step
Fact or Fib
- Fact RISC instructions are a fixed length and usually take one cycle.
- Fib A GPU runs code with many unpredictable branches faster than a CPU. The fix: Branches send data items down different paths, so GPU cores sit idle. A CPU, with branch prediction, handles them better.
- Fact A CISC program usually needs fewer instructions than the same program written for RISC.
- Fib Doubling the number of cores always halves the running time. The fix: Sequential parts, data dependencies and coordination overhead all mean the time falls by less than half.
- Fact SIMD applies one instruction to many data items at once.
- Fib A GPU is simply a faster version of a CPU. The fix: A GPU has many simple cores built for the same operation on lots of data. A CPU has fewer, more powerful cores for complex sequential work.
- Fib RISC processors draw more power because they run more instructions. The fix: RISC hardware is simpler, so it draws less power, which is why it suits devices that run on a battery.
- Fib In CISC, the complexity sits in the compiler rather than the hardware. The fix: CISC builds the complexity into the hardware, often with microcode. It is RISC that moves it into the compiler.
- Fact In RISC, the compiler builds complex operations from simple instructions.
- Fact A GPU has thousands of simple cores.
- Fact A step that needs an earlier result cannot start early.
- Fib RISC programs need fewer instructions than CISC programs. The fix: Each RISC instruction does less, so a RISC program needs more instructions. CISC packs more work into each one.

