GATE / CS ARCHIVE

SIMILAR QUESTIONS / OPERATING SYSTEMS

Identify output devices suitable for spooling

3 questions solved the same way, newest first. Back to Operating Systems

How these are solved

Each asks which listed device supports spooling: queued jobs on secondary storage decouple a serial output device such as a printer. Compare actual device choices rather than assuming all IO devices are spoolable.

1 mark · MCQ
Report issue

Asked again GATE 1992, Q2(xii) (same question)

A spooled device

I/O & Disk Scheduling

Question 1.29, GATE 1998: Which is a spooled device: interactive input terminal, printer serving multiple jobs, virtual-memory backing storage, or swap area?
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Spooling first records output in a queue, usually on disk, and a service process feeds one job at a time to a device. A printer shared by many jobs is the standard example, B: jobs can finish producing output without holding the printer throughout. Paging and swapping also use disk, but their purpose is memory management rather than queued job output. Interactive terminal input is not the listed spooling example.

Original paper, page 3

1 mark · MCQ
Report issue

A spooled output device

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

Report issue

Asked again GATE 1998, Q1.29 (same question)

A spooled device

I/O & Disk Scheduling

Question 2(xii), GATE 1992: Which is a spooled-device example: interactive input terminal, virtual-memory backing store, line printer serving jobs, or none?
Question 2(xii), GATE 1992: Which is a spooled-device example: interactive input terminal, virtual-memory backing store, line printer serving jobs, or none?
Tap to enlarge
Select all that apply
Answer & solution

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

Spooling places jobs in a queue, usually on disk, and lets a dedicated service feed an exclusive sequential device at its own speed. A printer serving several jobs is the standard example: applications finish depositing their output without waiting for physical printing, and each job can be kept separate. A terminal’s interactive input and demand paging have different purposes, even though they may involve buffers or secondary storage. The presence of a buffer alone does not make an operation spooling.

Original paper, page 3