aimnova.
DashboardMy LearningPaper MasteryStudy 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
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

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

NotesComputer Science HLTopic 1.1Pipelining
Back to Computer Science HL Topics
1.1.63 min read

Pipelining (Computer Science HL)

IB Computer Science • Unit 1

Exam preparation

Practice the questions examiners actually ask

Our question bank mirrors real IB exam papers. Practice under timed conditions and track your progress across topics.

Start Practicing

Contents

  • Start the next one before this one finishes
  • Where the speed-up comes from
  • What stalls it
  • Exam-style question
The big idea: The fetch–decode–execute cycle has stages, and each uses different parts of the processor.

Pipelining overlaps them: while one instruction is executing, the next is being decoded and a third is being fetched. No stage sits idle waiting for the others.

The stages pipelining overlaps — fetch, decode, execute, each using different parts of the processor.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic

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
Without pipeliningWith a 3-stage pipeline
Stages busy at onceOneThree
3 instructions take9 stage-times5 stage-times
100 instructions take300102
One instruction still takes3 stage-times3 — unchanged
What improvesNothingThroughput, not latency
Throughput, not latency: Pipelining does not make any single instruction finish sooner — it still passes through every stage.

What improves is how many complete per second. This distinction is the most reliably examined point in the topic.
The laundry analogy, precisely: Washing, drying and folding one load takes the same time however you organise it. But you can dry load 1 while washing load 2.

The machines are the stages; one load is one instruction; four loads finish far sooner even though each still takes as long.

Memorize terms 3x faster

Smart flashcards show you cards right before you forget them. Perfect for definitions and key concepts.

Try Flashcards FreeYour first topic is free to keep • No credit card required

Branches

  • An if means the next instruction is not yet known
  • The pipeline has already fetched the wrong ones
  • They must be discarded and the pipeline refilled
  • This is the expensive one

Data dependency

  • An instruction needs the result of the one before it
  • It must wait until that result exists
  • The pipeline holds a bubble while it does

Resource conflict

  • Two stages want the same hardware at once
  • One waits — the other proceeds
  • Eased by duplicating the contended unit
Branch prediction, and why it is a guess: Processors guess which way a branch will go and fetch accordingly. Guess right and nothing is lost; guess wrong and the pipeline must be flushed and refilled.

A deeper pipeline overlaps more — but a wrong guess then costs more, because there is more to throw away.

How this is tested — you must compute the saving and be precise that throughput improves while latency does not. It comes up two ways:

Paper 1 Section A

  • Describe the process of pipelining, 3-4 marks
  • Calculate how long n instructions take
  • State one cause of a stall

Paper 1 Section B — case study

  • Explain why a branch is expensive
  • Explain why one instruction is no faster
The classic trap: Saying pipelining "makes instructions faster". Each instruction takes exactly as long. More of them complete per second — that is throughput, not latency.
IB-style questionDetermine[5 marks]

A processor has a 4-stage pipeline, each stage taking 1 ns. Determine how long 50 instructions take with and without pipelining, and explain why the saving is not 4×.

Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic

IB Exam Questions on Pipelining

Practice with IB-style questions filtered to Topic 1.1.6. Get instant AI feedback on every answer.

Practice Topic 1.1.6 QuestionsBrowse All Computer Science HL Topics

How Pipelining Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Pipelining.

AO1
Describe

Give a detailed account of processes or features in Pipelining.

AO2
Explain

Give reasons WHY — cause and effect within Pipelining.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Pipelining.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

1.1.1CPU components
1.1.2The GPU
1.1.3CPU vs GPU
1.1.4Primary memory
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
1.1.5Fetch–decode–execute
Next
Secondary storage1.1.7

Don’t just read about Pipelining — practice it

Apply what you learned with real exam-style questions. AI feedback shows exactly how to improve your answers.

Practice NowView All Computer Science HL Topics