Operating System Questions & Answers – I/O Interface

This set of 1000+ Operating System MCQs focuses on “I/O Interface”

1. 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) Bus
View Answer

Answer: d
Explanation: None.

2. 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 mentioned
View Answer

Answer: c
Explanation: None.

3. 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) cable
View Answer

Answer: b
Explanation: None.
advertisement
advertisement

4. 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 systems
View Answer

Answer: c
Explanation: None.

5. A ________ is a collection of electronics that can operate a port, a bus, or a device.
a) controller
b) driver
c) host
d) bus
View Answer

Answer: a
Explanation: None.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. 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, output
View Answer

Answer: b
Explanation: None.

7. The ______ register is read by the host to get input.
a) flow in
b) flow out
c) data in
d) data out
View Answer

Answer: c
Explanation: None.
advertisement

8. The ______ register is written by the host to send output.
a) status
b) control
c) data in
d) data out
View Answer

Answer: d
Explanation: None.

9. The hardware mechanism that allows a device to notify the CPU is called _______
a) polling
b) interrupt
c) driver
d) controlling
View Answer

Answer: b
Explanation: None.
advertisement

10. 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 line
View Answer

Answer: a
Explanation: None.

11. 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 mentioned
View Answer

Answer: c
Explanation: None.

12. 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 mentioned
View Answer

Answer: a
Explanation: None.

13. The _________ are reserved for events such as unrecoverable memory errors.
a) non maskable interrupts
b) blocked interrupts
c) maskable interrupts
d) none of the mentioned
View Answer

Answer: a
Explanation: None.

More MCQs on I/O Interface

Sanfoundry Global Education & Learning Series – Operating System.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.