Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

If the number of cycles spent busy – waiting is not excessive, then ____________(a) interrupt driven I/O is more efficient than programmed I/O(b) programmed I/O is more efficient than interrupt driven I/O(c) both programmed and interrupt driven I/O are equally efficient(d) none of the mentionedI got this question in an online interview.This intriguing question comes from I/O System topic in portion I/O Systems of Operating System

Answer»

Correct option is (B) PROGRAMMED I/O is more efficient than interrupt driven I/O

The EXPLANATION is: None.

2.

I/O is a _________ in system performance.(a) major factor(b) minor factor(c) does not matter(d) none of the mentionedThis question was posed to me in examination.Asked question is from I/O System in division I/O Systems of Operating System

Answer» CORRECT CHOICE is (a) MAJOR factor

Easy EXPLANATION - NONE.
3.

A ________ is a full duplex connection between a device driver and a user level process.(a) Bus(b) I/O operation(c) Stream(d) FlowI got this question in my homework.My doubt stems from I/O System topic in section I/O Systems of Operating System

Answer» CORRECT ANSWER is (C) Stream

Explanation: NONE.
4.

Windows NT uses a __________ implementation for I/O.(a) message – passing(b) draft – passing(c) secondary memory(d) cacheThis question was addressed to me in semester exam.This interesting question is from I/O System topic in section I/O Systems of Operating System

Answer» CORRECT ANSWER is (a) MESSAGE – passing

The EXPLANATION is: NONE.
5.

The kernel data structures include ____________(a) process table(b) open file table(c) close file table(d) all of the mentionedI have been asked this question in my homework.The question is from I/O System in portion I/O Systems of Operating System

Answer» RIGHT OPTION is (B) open file table

Best EXPLANATION: None.
6.

The ________ keeps state information about the use of I/O components.(a) CPU(b) OS(c) kernel(d) shellI got this question in homework.I'm obligated to ask this question of I/O System in division I/O Systems of Operating System

Answer»

The CORRECT ANSWER is (C) kernel

Explanation: NONE.

7.

Spooling ____________(a) holds a copy of the data(b) is fast memory(c) holds the only copy of the data(d) holds output for a deviceI have been asked this question during an interview.I would like to ask this question from I/O System topic in section I/O Systems of Operating System

Answer»

The correct OPTION is (C) holds the only copy of the data

To explain: NONE.

8.

Caching ____________(a) holds a copy of the data(b) is fast memory(c) holds the only copy of the data(d) holds output for a deviceI had been asked this question in a national level competition.Query is from I/O System in chapter I/O Systems of Operating System

Answer»

The CORRECT option is (a) holds a COPY of the data

Easiest explanation - NONE.

9.

Caching is ________ spooling.(a) same as(b) not the same as(c) all of the mentioned(d) none of the mentionedThis question was addressed to me by my school teacher while I was bunking the class.Question is from I/O System topic in portion I/O Systems of Operating System

Answer»

Correct ANSWER is (B) not the same as

The best explanation: None.

10.

Buffering is done to ____________(a) cope with device speed mismatch(b) cope with device transfer size mismatch(c) maintain copy semantics(d) all of the mentionedThis question was addressed to me in semester exam.My query is from I/O System topic in division I/O Systems of Operating System

Answer»

The CORRECT OPTION is (d) all of the mentioned

The EXPLANATION is: NONE.

11.

An asynchronous call ____________(a) returns immediately, without waiting for the I/O to complete(b) does not return immediately and waits for the I/O to complete(c) consumes a lot of time(d) is too slowThis question was addressed to me in an interview for job.My question is from I/O System topic in section I/O Systems of Operating System

Answer»

Correct choice is (a) returns IMMEDIATELY, WITHOUT WAITING for the I/O to complete

Easiest EXPLANATION - None.

12.

A non blocking system call _________________(a) halts the execution of the application for an extended time(b) does not halt the execution of the application(c) does not block the interrupts(d) none of the mentionedI got this question during a job interview.My question is from I/O System topic in division I/O Systems of Operating System

Answer»

Correct ANSWER is (B) does not HALT the execution of the application

Explanation: None.

13.

In polling ____________(a) busy – wait cycles wait for I/O from device(b) interrupt handler receives interrupts(c) interrupt-request line is triggered by I/O device(d) all of the mentionedThis question was addressed to me in an internship interview.My doubt stems from I/O System topic in chapter I/O Systems of Operating System

Answer» RIGHT OPTION is (a) BUSY – wait cycles wait for I/O from device

The EXPLANATION: None.
14.

A keyboard is an example of a device that is accessed through a __________ interface.(a) block stream(b) set of blocks(c) character stream(d) none of the mentionedThe question was posed to me in final exam.I would like to ask this question from I/O System topic in chapter I/O Systems of Operating System

Answer»

Correct OPTION is (C) character stream

For explanation: NONE.

15.

What is a dedicated device?(a) opposite to a sharable device(b) same as a sharable device(c) can be used concurrently by several processes(d) none of the mentionedThis question was addressed to me in examination.This intriguing question originated from I/O System topic in portion I/O Systems of Operating System

Answer» RIGHT option is (a) OPPOSITE to a sharable device

For explanation: NONE.
16.

A block device transfers ____________(a) bytes one by one(b) block of bytes as a unit(c) with unpredictable response times(d) none of the mentionedI have been asked this question in an interview for internship.My enquiry is from I/O System in chapter I/O Systems of Operating System

Answer»

Right OPTION is (B) block of BYTES as a unit

For explanation: NONE.

17.

A character stream device transfers ____________(a) bytes one by one(b) block of bytes as a unit(c) with unpredictable response times(d) none of the mentionedThis question was posed to me during a job interview.I would like to ask this question from I/O System topic in division I/O Systems of Operating System

Answer»

Right ANSWER is (a) BYTES one by one

The explanation is: NONE.

18.

For large data transfers, _________ is used.(a) dma(b) programmed I/O(c) controller register(d) none of the mentionedThe question was posed to me in an internship interview.I need to ask this question from I/O System topic in section I/O Systems of Operating System

Answer»

The CORRECT CHOICE is (a) dma

For EXPLANATION: NONE.

19.

Division by zero, accessing a protected or non existent memory address, or attempting to execute a privileged instruction from user mode are all categorized as ________(a) errors(b) exceptions(c) interrupt handlers(d) all of the mentionedI have been asked this question by my school teacher while I was bunking the class.This is a very interesting question from I/O System topic in portion I/O Systems of Operating System

Answer»

The CORRECT OPTION is (B) exceptions

Easiest EXPLANATION - NONE.

20.

The interrupt vector contains ____________(a) the interrupts(b) the memory addresses of specialized interrupt handlers(c) the identifiers of interrupts(d) the device addressesThis question was posed to me during an interview.This intriguing question originated from I/O System in division I/O Systems of Operating System

Answer»

Right option is (B) the memory addresses of specialized INTERRUPT handlers

Best explanation: NONE.

21.

The __________ is used by device controllers to request service.(a) nonmaskable interrupt(b) blocked interrupt(c) maskable interrupt(d) none of the mentionedI have been asked this question in my homework.My question comes from I/O System topic in chapter I/O Systems of Operating System

Answer» RIGHT ANSWER is (C) maskable interrupt

Easiest EXPLANATION - NONE.
22.

The ________ can be turned off by the CPU before the execution of critical instruction sequences that must not be interrupted.(a) nonmaskable interrupt(b) blocked interrupt(c) maskable interrupt(d) none of the mentionedThis question was addressed to me during an online exam.I'm obligated to ask this question of I/O System in chapter I/O Systems of Operating System

Answer» RIGHT answer is (C) maskable interrupt

The BEST explanation: NONE.
23.

The _________ are reserved for events such as unrecoverable memory errors.(a) non maskable interrupts(b) blocked interrupts(c) maskable interrupts(d) none of the mentionedI got this question during an interview for a job.My doubt is from I/O System topic in section I/O Systems of Operating System

Answer» RIGHT CHOICE is (a) NON maskable interrupts

The EXPLANATION is: NONE.
24.

In general the two interrupt request lines are ____________(a) maskable & non maskable interrupts(b) blocked & non maskable interrupts(c) maskable & blocked interrupts(d) none of the mentionedI got this question in an interview for internship.Question is from I/O System topic in section I/O Systems of Operating System

Answer»

The correct ANSWER is (a) maskable & NON maskable interrupts

The best EXPLANATION: NONE.

25.

The _________ determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt.(a) interrupt request line(b) device driver(c) interrupt handler(d) all of the mentionedI had been asked this question in an online quiz.My doubt stems from I/O System topic in division I/O Systems of Operating System

Answer» CORRECT ANSWER is (C) INTERRUPT handler

Explanation: NONE.
26.

The CPU hardware has a wire called __________ that the CPU senses after executing every instruction.(a) interrupt request line(b) interrupt bus(c) interrupt receive line(d) interrupt sense lineThis question was addressed to me in an interview for job.Question is taken from I/O System topic in portion I/O Systems of Operating System

Answer» CORRECT CHOICE is (a) INTERRUPT REQUEST line

Explanation: NONE.
27.

The hardware mechanism that allows a device to notify the CPU is called _______(a) polling(b) interrupt(c) driver(d) controllingI have been asked this question in semester exam.This interesting question is from I/O System in chapter I/O Systems of Operating System

Answer» RIGHT CHOICE is (B) interrupt

The EXPLANATION: NONE.
28.

The ______ register is written by the host to send output.(a) status(b) control(c) data in(d) data outI had been asked this question by my school teacher while I was bunking the class.I want to ask this question from I/O System topic in division I/O Systems of Operating System

Answer»

The CORRECT CHOICE is (d) DATA out

For EXPLANATION: NONE.

29.

The ______ register is read by the host to get input.(a) flow in(b) flow out(c) data in(d) data outThe question was posed to me in a job interview.I'd like to ask this question from I/O System in section I/O Systems of Operating System

Answer» RIGHT option is (C) DATA in

The explanation is: NONE.
30.

An I/O port typically consists of four registers status, control, ________ and ________ registers.(a) system in, system out(b) data in, data out(c) flow in, flow out(d) input, outputThis question was addressed to me during an interview.My question is taken from I/O System in portion I/O Systems of Operating System

Answer» CORRECT ANSWER is (B) DATA in, data out

Explanation: NONE.
31.

A ________ is a collection of electronics that can operate a port, a bus, or a device.(a) controller(b) driver(c) host(d) busI have been asked this question during an interview.I'm obligated to ask this question of I/O System in portion I/O Systems of Operating System

Answer» RIGHT OPTION is (a) controller

Explanation: NONE.
32.

The _________ present a uniform device-access interface to the I/O subsystem, much as system calls provide a standard interface between the application and the operating system.(a) Devices(b) Buses(c) Device drivers(d) I/O systemsI have been asked this question in an interview.My question comes from I/O System topic in portion I/O Systems of Operating System

Answer»

Right OPTION is (c) DEVICE drivers

Easiest EXPLANATION - None.

33.

When device A has a cable that plugs into device B, and device B has a cable that plugs into device C and device C plugs into a port on the computer, this arrangement is called a _________(a) port(b) daisy chain(c) bus(d) cableI got this question in homework.I'm obligated to ask this question of I/O System topic in chapter I/O Systems of Operating System

Answer» RIGHT choice is (b) DAISY chain

To explain I would say: NONE.
34.

A ____a set of wires and a rigidly defined protocol that specifies a set of messages that can be sent on the wires.(a) port(b) node(c) bus(d) none of the mentionedI had been asked this question in quiz.Enquiry is from I/O System in section I/O Systems of Operating System

Answer»

The CORRECT ANSWER is (C) bus

Easiest EXPLANATION - NONE.

35.

If one or more devices use a common set of wires to communicate with the computer system, the connection is called ______(a) CPU(b) Monitor(c) Wirefull(d) BusThe question was asked in class test.I'm obligated to ask this question of I/O System topic in portion I/O Systems of Operating System

Answer» RIGHT ANSWER is (d) Bus

To EXPLAIN I would say: None.