aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 1.1CPU vs GPU
Back to Computer Science HL Topics
1.1.35 min read

CPU vs GPU (Computer Science HL)

IB Computer Science · Unit 1

Your first topic is free to keep

Know exactly what to write for full marks

Practice with exam questions and get AI feedback that shows you the perfect answer — what examiners want to see.

Start Free

Contents

  1. 1Few clever cores, or many simple ones
  2. 2Why the difference exists
  3. 3Where it matters
  4. 4Exam-style question
The big idea: A CPU and a GPU are both processors. Neither is better: they are built for opposite shapes of work.

CPU

  • A few powerful cores
  • Built to run one instruction stream as fast as possible

GPU

  • Thousands of simple cores
  • Built to run the same operation on thousands of values at once
CPUGPU
CoresA few — typically 4 to 16Thousands, each far simpler
Optimised forLatency — finish one task fastThroughput — finish many at once
Handles branchingVery well — branch prediction, deep cachesPoorly — cores run in lockstep
SuitsOperating system, logic, decisionsGraphics, matrices, machine learning
Control logicLarge share of the chipSmall — more room for arithmetic units

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

The CPU's problem

  • Code is full of decisions — if, while, function calls
  • The next instruction often depends on the last result
  • So it spends transistors on prediction and caching
  • Making one stream fast is the whole design

The GPU's problem

  • Shade a million pixels · multiply a large matrix
  • Every element is independent of every other
  • So thousands of simple cores can each take one
  • No prediction needed — there are no branches to predict

The consequence

  • A GPU is useless for sequential, branch-heavy code
  • A CPU is slow at a million identical operations
  • Real systems use both, for the work each suits
Independence is the test: Ask: can these operations be done in any order, at the same time, without needing each other's results?

Yes → a GPU can help. No → more cores change nothing, and the CPU's single-thread speed is what matters.

Four more differences the guide names

CPUGPU
Design philosophyFinish one stream of instructions as fast as possiblePush as much data through as possible at once
Memory accessLarge caches give low latency to small, scattered pieces of dataIts own fast memory with a very wide bus: high bandwidth for big blocks of data
Processing powerHigh speed per core, few coresLow speed per core, but a huge total for parallel arithmetic
Power efficiencyBetter for light, sequential work and idle timeFar more calculations per watt on parallel work, but draws a lot of power at full load

Feeling unprepared for exams?

Get a clear study plan, practice with real questions, and know exactly where you stand before exam day. No more guessing.

Get Exam Ready FreeYour first topic is free to keep • No credit card required

Machine learning is the current example

  • Training is dominated by matrix arithmetic, and every element is independent
  • So a GPU can be orders of magnitude faster than a CPU at it
  • Inference — one input, one pass — is far smaller and often runs fine on a CPU or a phone
  • Which is why training needs a data centre and using the model does not

Working together: one frame of a video game

1

Task division

The CPU runs the game logic: input, physics decisions, what is on screen. The GPU draws the millions of pixels.

2

Data sharing

The CPU copies the scene data (shapes, textures, positions) into memory the GPU can read.

3

Coordinating execution

The CPU sends the GPU its commands and carries on; the GPU signals when the frame is ready, so the two stay in step.

CPU decides, GPU computes, they hand over data and wait for each other.

A CPU box and a GPU box exchanging data through shared memory, then the finished frame
Task division, data sharing and coordination in one frame of a game.

Where each is used: CPUs run operating systems, databases and game logic; GPUs run video game graphics, machine learning training and large scientific simulations such as weather forecasts.

Do not say "a GPU is faster": It is faster at parallel work. On a single sequential task a CPU core beats a GPU core comfortably, because the GPU core is deliberately simpler.

The qualification is usually the mark.

How this is tested — you must explain the difference from the SHAPE of the work, not from raw speed. It comes up two ways:

Paper 1 Section A

  • Explain the differences between the CPU and the GPU, 3-4 marks
  • State one task suited to each
  • Give one architectural difference

Paper 1 Section B — case study

  • Justify hardware for a described workload
  • Explain why more cores do not always help
The classic trap: Answering "a GPU is faster". It is faster only where the work is parallel and independent. On sequential, branch-heavy code the CPU wins — and saying so is what earns the marks.
IB-style questionExplain[5 marks]

A company trains a machine learning model and also runs a database server. Explain which processor suits each, referring to how the work is structured.

Model answer plan

See the answer broken into clear points, with guidance on how each point earns marks.

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on CPU vs GPU. Write your answer and get instant AI feedback — just like a real IB examiner.

A phone maker says its GPU is more power-efficient than its CPU for photo filters. why. [2 marks]

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

1.1.1CPU components1.1.2The GPU1.1.4Primary memory1.1.5Fetch–decode–execute
View all Computer Science HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Computer Science HL
Previous1.1.2The GPUNextPrimary memory1.1.4

4 practice questions on CPU vs GPU

Students who practiced this topic on Aimnova scored 82% on average. Try free practice questions and get instant AI feedback.

Try 3 Free QuestionsView All Computer Science HL Topics