adplus-dvertising
frame-decoration

Question

In a programmed input/output(PIO) :

a.

the CPU uses polling to watch the control bit constantly, looping to see if device is ready

b.

the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available

c.

the CPU receives an interrupt when the device is ready for the next byte

d.

the CPU runs a user written code and does accordingly

Posted under Operating System

Answer: (a).the CPU uses polling to watch the control bit constantly, looping to see if device is ready

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In a programmed input/output(PIO) :

Similar Questions

Discover Related MCQs

Q. In an interrupt driven input/output :

Q. In the layered approach of Operating Systems :

Q. How does the Hardware trigger an interrupt ?

Q. Which operation is performed by an interrupt handler ?

Q. Why is the Software interrupt required by the processor?

Q. Match the following list1 with list2:
a. DMA I/O -------------------------------------- 1. High speed RAM
b. Cache ---------------------------------------- 2. Disk
c. Interrupt I/O --------------------------------- 3. Printer
d. Condition code register ------------------- 4. ALU

Q. Which of the following is an example of Spooled Device?

Q. The following is not a layer of IO management module

Q. If one or more devices use a common set of wires to communicate with the computer system, the connection is called ______

Q. A ____ a set of wires and a rigidly defined protocol that specifies a set of messages that can be sent on the wires.

Q. 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 _________

Q. 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.

Q. A ________ is a collection of electronics that can operate a port, a bus, or a device.

Q. An I/O port typically consists of four registers status, control, ________ and ________ registers.

Q. The ______ register is read by the host to get input.

Q. The ______ register is written by the host to send output.

Q. The hardware mechanism that allows a device to notify the CPU is called _______

Q. The CPU hardware has a wire called __________ that the CPU senses after executing every instruction.

Q. 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.

Q. In general the two interrupt request lines are :