INPUT/OUTPUT Flashcards

1
Q

OS I/O refers to

A

communication between the system and the outside world.

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

I/O devices are categorised as

A

storage, communications and user-interface.

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

A human-readable I/O device is

A

suitable for communicating with the computer user

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

A machine-readable I/O device is suitable for

A

communicating with electronic equipment.

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

A communication I/O device is suitable for

A

communicating with remote devices

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

With programmed I/O, the processor issues

A

an I/O command on behalf of a process to an I/O module. That process waits for the operation to be completed before proceeding.

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

With interrupt-driven I/O, the processor issues

A

an I/O command on behalf of a process.

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

With Direct Memory Access, a

A

dedicated module controls the exchange of data between main memory and an I/O module.

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

Interrupts allow

A

devices to notify the CPU when they have data to transfer or when an operation is complete.

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

Interrupts allow the CPU to

A

perform other duties when no I/O transfers need its immediate attention.

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

The requirements of interrupts are complicated by the needs of modern I/O:

A
  1. The need to defer interrupt handling during critical processing
  2. The need to determine which interrupt handler to invoke, without having to poll all devices to see which one needs attention
  3. The need for multi-level interrupts so the system can differentiate between high and low priority interrupts for proper response
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Direct Memory Access is achieved

A

using a special processor which offloads the work of the main CPU.

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

With DMA, a special control unit is used to

A

transfer a block of data directly between an external device and the main memory, without intervention by the processor

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

When the I/O operation is delegated to the DMA module

A

the processor continues with other work.

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

The DMA module transfers the entire block of data to or from memory, without going through the processor.

A

When the transfer is complete, the DMA module sends an interrupt signal to the processor. The processor is therefore involved only at the beginning and the end of the transfer.

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

The DMA mechanism can be configured so

A

that all modules share the same system bus. This configuration is inefficient and inexpensive.

17
Q

The DMA mechanism can be configured so

A

that there is a path between the DMA module and one or more I/O modules that does not include the system bus

18
Q

The DMA mechanism can be configured so

A

that I/O modules are connected to the DMA module using an I/O bus.

19
Q

Polling describes the

A

activity of sampling the status of an external device by a client program. Polling can be fast and efficient if both the device and the controller are fast and if there is significant data to transfer. It becomes inefficient however, if the host must wait a long time waiting for the device, or if frequent checks need to be made for data that is infrequently there

20
Q

The hierarchical design philosophy is

A

that OS functions should be separated according to their functionality. This leads to an organisation of the OS into a series of layers. Each layer performs a related subset of the functions required of the OS. It relies on the next lower layer to perform more primitive functions and to conceal the details of those functions. It provides services to the next higher layer.

21
Q

The layers are defined and organised so

A

that changes in one layer do not require changes in other layers.