GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.20

A spooled output device

Operating Systems · I/O & Disk Scheduling · Full GATE CSE 1996 paper

GATE 1996, Q1.20 1 mark · MCQ
Report issue

I/O & Disk Scheduling

Question 1.20, GATE 1996: Which listed device is naturally served by spooling?
Tap to enlarge
Your answer
Answer & solution

Answer: A: line printer (no official key was published)

A printer consumes output serially and relatively slowly. Spooling first stores each job in a disk-backed queue, allowing producing processes to continue while a spooler feeds complete jobs to the device in order. This avoids intermixing different jobs and decouples application execution from printing speed. A line printer is therefore the standard example. Spooling is not merely a CPU cache or an arbitrary buffer: its key role here is queued management of an exclusive sequential output device.

Original paper, page 3