I/O Flashcards

1
Q

What are the three techniques of I/O?

A

Programmed I/O
Interrupt-driven I/O
Direct memory access (DMA)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe Programmed I/O

A

the CPU directly manages the data transfer between the I/O device and memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe Interrupt-driven I/O

A

when an I/O device has completed a task or needs attention, it sends an interrupt signal to the CPU, prompting it to pause what it’s doing and handle the I/O request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe DMA

A

A DMA controller takes over the data transfer task between an I/O device and memory, allowing the CPU to continue with other tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is I/O Buffering?

A

Using a holding area to temporarily store data being transferred between an I/O device and the main memory or CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why do we buffer?

A

Buffering helps smooth out the differences in data transfer rates between devices, allowing for more efficient and streamlined data processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the two types of Buffering?

A

Block oriented and Stream Oriented.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Three Categories of I/O Devices

A
  1. Human-readable
  2. Machine Readable
  3. Communication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe Block Oriented Buffering.

A

Information is stored in fixed sized blocks
Transfers are made a block at a time
Used for disks and USB keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe Stream- oriented buffering

A

Transfer information as a stream of bytes
Used for terminals, printers, communication ports, mouse and other pointing devices, and most other devices that are not secondary storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly