Free Practice Quiz Question List

7 Input and Output Online Quiz Questions

Use this free practice quiz with 20 questions to review 7 Input and Output, test your knowledge, and prepare for your next test or exam.

20 questions
01
Choose one
1 point

A network adapter sends incoming data to a computer and sends outgoing data from it. How should it be classified?

  1. A

    It is an input device only.

  2. B

    It is an output device only.

  3. C

    It can perform both input and output.

  4. D

    It is neither an input nor an output device.

02
True or false
1 point

True or false: Repeatedly checking a device's status during polling uses CPU time that could otherwise be spent on other work.

  1. A

    True

  2. B

    False

03
Written response
1 point

A CPU repeatedly reads a device's status register to find out whether the device is ready. What I/O coordination method is being used?

04
Choose one
1 point

What is the main role of a device controller in a computer's I/O system?

  1. A

    It prepares every program's request and makes the result available to that program.

  2. B

    It manages a peripheral and presents device information to the CPU in a standard form.

  3. C

    It replaces the CPU when a peripheral needs to perform an operation.

  4. D

    It stores all data exchanged between the computer and the peripheral.

05
Written response
1 point

Which operating-system software component uses a device controller's interface to manage a peripheral?

06
True or false
1 point

True or false: When responding to an interrupt, the processor temporarily saves enough information to resume its current work afterward.

  1. A

    True

  2. B

    False

07
Fill in the blank
1 point

Complete the names of three common device-controller registers: a register for exchanging data, a register for checking device readiness, and a register for requesting an operation.

08
Choose one
1 point

Which statement describes memory-mapped I/O?

  1. A

    Device registers occupy addresses in the memory address space.

  2. B

    The CPU must copy every value to a peripheral directly, without using a controller.

  3. C

    The operating system places device registers outside every address space.

  4. D

    The peripheral communicates with the CPU without any register access.

09
Choose all
1 point

Select all statements that correctly describe interrupt-driven I/O.

  1. A

    The CPU can run other instructions after starting the operation.

  2. B

    The CPU must continuously reread the device's status register until the operation ends.

  3. C

    The controller can signal the processor when the device needs attention or finishes.

  4. D

    An interrupt handler responds to the signal, after which the processor can continue its work.

10
Choose all
1 point

Select all statements that correctly describe a direct memory access (DMA) transfer.

  1. A

    The CPU can specify the transfer direction.

  2. B

    The CPU can specify a memory address and transfer size.

  3. C

    The CPU must copy every byte or word for the transfer to count as DMA.

  4. D

    A DMA-capable controller moves data between a device and main memory.

11
Fill in the blank
1 point

In a typical storage read, the controller may report completion or an error by raising an .

12
Open ended
1 point

Describe the main stages of a typical storage read, from a program requesting data until the result is available to the program. Identify the roles of the driver, CPU, controller, and operating system.

13
Choose one
1 point

A processor uses a separate I/O address space rather than memory-mapped I/O. If it supports this approach, how does the CPU access that I/O space?

  1. A

    The CPU repeatedly checks the device until it is ready.

  2. B

    The CPU uses special instructions to access the separate I/O address space.

  3. C

    The controller moves data between the device and memory without CPU setup.

  4. D

    The operating system replaces the controller's registers with ordinary memory.

14
Choose one
1 point

A program copies a value from a CPU register into RAM, without communicating with an external device. Which statement best classifies this operation?

  1. A

    It is I/O because RAM is outside the CPU.

  2. B

    It is not I/O because no external device is involved.

  3. C

    It is output because the value moves toward RAM.

  4. D

    It is input because the value enters a CPU register.

15
Choose one
1 point

A checkout computer receives a product code from a barcode scanner. How is the scanner functioning in this data exchange?

  1. A

    Output, because the computer receives a barcode.

  2. B

    Neither input nor output, because the scanner reads printed information.

  3. C

    Input, because the scanner sends data into the computer.

  4. D

    Both input and output, because the scanner uses a light source.

16
Choose one
1 point

A computer sends a completed chart to a display so the chart can be shown. Which statement describes the display’s role in this exchange?

  1. A

    The display is receiving output from the computer.

  2. B

    The display is sending input to the computer.

  3. C

    The display is performing an internal CPU-to-memory transfer.

  4. D

    The display is neither input nor output because it only shows data.

17
Choose one
1 point

In a text-entry system, a user types on a keyboard and sees the text appear on a display. Which classification correctly describes the two devices?

  1. A

    The keyboard and display are both output devices.

  2. B

    The keyboard and display are both input devices.

  3. C

    The keyboard is output, and the display is input.

  4. D

    The keyboard is input, and the display is output.

18
True or false
1 point

A value moves from RAM into a CPU register, with no external device involved. This operation is input/output.

  1. A

    True

  2. B

    False

19
Written response
1 point

What is the term for exchanging data between a computer and devices outside its main processor and memory?

20
Written response
1 point

What general term describes an external device such as a keyboard or printer that communicates with a computer through a device controller?