Interrupts play an important role in the operation of a computer system. The diagram shows a simplified view of how the CPU handles interrupts. (a) Describe...

Assessment: Computer Science (9-1) 0984 | Paper 1 Mock 01 | Computer Systems Subject: Computer Science (9-1) - 0984

Question 1 Report

Interrupts play an important role in the operation of a computer system. The diagram shows a simplified view of how the CPU handles interrupts.

diagram

(a) Describe what an interrupt is. [2]

(b) Give two examples of events that could generate an interrupt.

[2]

Answer Details

(a) An interrupt is a signal sent to the CPU by a hardware device or software process that requires immediate attention. [1] When an interrupt occurs, the CPU temporarily stops executing its current task so that it can deal with the event that generated the interrupt. Once the interrupt has been handled, the CPU resumes the original task from where it left off. [1]

(b) Two examples of events that generate interrupts:

  1. A printer signalling that it has run out of paper or that it is ready to receive more data from the CPU. [1]
  2. A keyboard key being pressed, generating a hardware signal that the operating system needs to process so the character can be displayed or acted upon. [1]

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning