GATE - 1998 | OS | Which of the following is an example of a spooled device?

GATE - 1998 | OS | Which of the following is an example of a spooled device?
Posted on 28-02-2022

GATE - 1998 [Operating System]

Question:

Which of the following is an example of a spooled device?

A

The terminal used to enter the input data for the C program being executed

B

An output device used to print the output of a number of jobs

C

The secondary memory device in a virtual storage system

D

The swapping area on a disk used by the swapper

    

Solution:

Option (B) is Correct.

Spooling is a technique in which an intermediate device such as disk is interposed between process and low speed i/o device.


For example in printer if a process attempt to print a document but printer is busy printing another document, the process, instead of waiting for printer to become available, write its output to disk.

When the printer becomes available the data on disk is printed.


Spooling allows process to request operation from peripheral device without requiring that the device is ready to service the request.

 

Thank You