Ad
Sponsored by Sir Tauqeer
CLICK HERE TO JOIN SIR TAUQUEER WHATSAPP GROUP
FOR PREPARATION CLASSES AND JOBS UPDATES
Join Now

When a peripheral device needs immediate attention, it generates a(n)

A. Spool
B. Interrupt
C. Stack
D. Page file
Correct Answer: B. Interrupt

When a peripheral device, such as a printer, keyboard, or hard drive, requires immediate service or attention from the CPU, it generates a signal known as an interrupt. This signal temporarily halts the CPU's current task, allowing it to handle the device's request before resuming its original operation, ensuring efficient I/O management. A spool (Simultaneous Peripheral Operations Online) is a buffer that holds data for a peripheral device, allowing the CPU to perform other tasks. A stack is a data structure used for temporary storage, often for function calls. A page file is a portion of a hard drive used by the operating system to compensate for a lack of physical memory.

Leave a Comment

Join Our WhatsApp Channel ×
Scroll to Top