GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 2.20

What initiates interruption of a process

Operating Systems · Processes, Threads & System Calls · Full GATE CSE 2001 paper

GATE 2001, Q2.20 2 marks · MCQ
Report issue

Processes, Threads & System Calls

Question 2.20, GATE 2001: Which is not itself an interrupt source for a running process: a device, a timer, the scheduler process, or a detectable power failure?
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step 1: Devices and timers can raise hardware interrupts; some systems also signal impending power failure through an interrupt or exception mechanism. These events transfer control away from a running process.

Step 2: A scheduler is software invoked after the kernel receives control, for example following a timer interrupt, blocking operation, or termination. It chooses the next runnable process but is not itself the independent hardware interrupt source.

Thus C in the conventional uniprocessor model. A complete abrupt loss of power may stop execution without a graceful interrupt, so the power-failure option presumes a detectable failure signal.

Original paper, page 6