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 ScienceTopic 1.3Polling and interrupts
Back to Computer Science Topics
1.3.44 min read

Polling and interrupts

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

  • Two ways to notice something
  • What each one costs
  • Choosing in real systems
  • Exam-style question
The big idea: A device needs attention at some point. The CPU can find out two ways.

Polling — the CPU keeps asking the device "ready yet?". Interrupts — the device signals the CPU when it is ready.

The same key press under both methods. Watch what the CPU was doing before it noticed.

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

Polling

  • The CPU stops its own work to check, again and again
  • Most checks find nothing, and that time is wasted
  • Simple to write — no special hardware support needed
  • Notices at a predictable moment: the next check
  • Wasted checks drain a battery for no result

Interrupts

  • The CPU works continuously until the device signals
  • No time wasted when nothing is happening
  • Needs hardware support and more complex code
  • Arrival time is unpredictable — it depends on the device
  • The CPU can sleep between events, saving power
What an interrupt actually does: The device raises a signal. The CPU finishes its current instruction, saves where it was, runs a short piece of code that deals with the device, then restores what it saved and carries on.

That saving and restoring is the overhead of an interrupt.
The rule of thumb: Rare events → interrupts. Polling would spend nearly every check finding nothing.

Very frequent events → polling can win. If the device is almost always ready, the check nearly always succeeds and you avoid the cost of saving and restoring each time.

Learn what examiners really want

See exactly what to write to score full marks. Our AI shows you model answers and the key phrases examiners look for.

Try AI Feedback FreeYour first topic is free to keep • No credit card required
1

Keyboard and mouse — interrupts

2

A high-speed network card — polling

3

A battery device — interrupts

4

A real-time controller — polling

The security angle: Interrupts are raised by devices, so a faulty or malicious device can raise them constantly and leave the CPU with no time for anything else.

Polling cannot be flooded that way, because the CPU decides when to look.

How this is tested — you must EVALUATE — weigh both methods against the system's own demands and then decide. It comes up two ways:

Paper 1 Section A

  • Evaluate or compare polling and interrupts, 4-6 marks
  • Explain what happens when an interrupt occurs
  • Recommend one for a stated device

Paper 1 Section B — case study

  • Choose a method for a device in the case study
  • Justify it from event frequency, power or timing
The classic trap: Writing "interrupts are better". They usually are for rare events — and they are the wrong answer for a constantly busy device, a system needing guaranteed timing, or one exposed to an untrusted device.
IB-style questionEvaluate[6 marks]

A battery-powered sensor wakes rarely to report a reading. A separate industrial controller must respond to a safety switch within a guaranteed time. Evaluate polling and interrupts for each device.

Model answer plan

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

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Polling and interrupts. Write your answer and get instant AI feedback — just like a real IB examiner.

what percentage of a processor's time is spent polling if each of those 2000 checks takes 5 microseconds. [2 marks]

Related Computer Science Topics

Continue learning with these related topics from the same unit:

1.1.1CPU components
1.1.2The GPU
1.1.4Primary memory
1.1.5Fetch–decode–execute
View all Computer Science topics

Improve your exam technique

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

Previous
1.3.3Scheduling
Next
What networks are for2.1.1

20 exam-style questions ready for you

Students who practice on Aimnova improve their scores by 15% on average. Get instant feedback that shows exactly how to improve your answers.

Practice Now — FreeView All Computer Science Topics