Free Online Flashcard Deck

7 Input and Output Free Online FlashCards

Study 7 Input and Output with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does input/output (I/O) mean?

Back

Input/output (I/O) is the exchange of data between a computer and devices outside its main processor and memory.

02
Front

How do input and output devices differ?

Back

Input devices send data into the computer; output devices receive data from it.

03
Front

Can a peripheral act as both input and output?

Back

Some devices, such as storage drives and network adapters, both send data to and receive data from the computer.

04
Front

What does a device controller do?

Back

A device controller manages a peripheral, handles device-specific tasks, and provides an interface for communicating with the computer.

05
Front

What are the three common types of controller registers?

Back

Data registers exchange device data; status registers report device conditions; command registers let the CPU request operations.

06
Front

How does memory-mapped I/O expose device registers?

Back

In memory-mapped I/O, device registers occupy addresses in the memory address space, which the CPU accesses to communicate with the controller.

07
Front

What is polling in I/O?

Back

Polling is when the CPU repeatedly reads a device’s status register to check whether it needs attention or has completed an operation.

08
Front

What is a key trade-off of polling?

Back

Polling is straightforward, but checking too often consumes CPU time. It can be useful when the wait is very short or a device needs frequent attention.

09
Front

How does interrupt-driven I/O coordinate with the CPU?

Back

With interrupt-driven I/O, the CPU starts an operation and continues other work; the controller signals an interrupt when attention is needed or the operation finishes.

10
Front

What happens when the CPU handles an interrupt?

Back

The processor temporarily saves enough information to resume its current work, runs an interrupt handler, and then continues.

11
Front

What is one efficiency benefit and one cost of interrupts?

Back

An interrupt avoids constant status checking, but handling many frequent interrupts also consumes processing time.

12
Front

What does direct memory access (DMA) do?

Back

Direct memory access (DMA) lets a DMA-capable controller move data between a device and main memory without the CPU copying every byte or word.