Input/Output Flashcards

1
Q

what is a device controller?

A

electronic circuit capable of operating a device using binary signals

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

to start an I/O operation, the driver ________

A

writes the opcode into the opcode register

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

Prior to starting an I/O operation, the busy flag must be ______

A

FALSE

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

When interrupts are used, the driver process is blocked while _______

A

data is being transferred between the device and controller buffer

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

a DMA controller is a ___________

A

hardware device capable of reading and writing to main memory

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

a DMA transfers data between _______

A

a device controller and main memory

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

when is polling more useful than interrupts?

A

in real time systems where only 1 process is running

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

The CPU time needed to process an I/O instruction is unpredictable with _____.

A

polling

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

The buffer in a device controller decouples _____.

A

the device from the driver

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

what is “cooked” input mode?

A

special characters do not appear in the buffer

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

what is a disk block cache?

A

a set of main memory buffers that contain the most recently accessed disk blocks

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

how are disk block caches organized?

A

hashing is used

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

The list of free buffers is not accessed when _____.

A

a currently resident block is accessed

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

what is the seek time?

A

the time to move the r/w head to the track containing the desired data

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

what is rotational delay?

A

the time to wait for the desired data item to pass under the r/w head

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

what is data transfer time?

A

the time to transfer the desired number of bits to or from the disk

17
Q

what is peak data transfer rate?

A

the rate data can be streamed once positioned

18
Q

what is sustained data rate?

A

the rate which data can be streamed including seek times and rotational delay

19
Q

Data on a magnetic disk is accessed in units of _____.

A

Sectors

20
Q

The time to seek from one track to another depends on the _____.

A

number of tracks on the disk

21
Q

what is shortest seek time first algorithm?

A

prioritizes data access requests based on the shortest seek time

22
Q

what is the scan scheduling algorithm?

A

basically works like an elevator going up and down servicing requests at every track in order. kinda like round robin

23
Q

what is a parity bit?

A

a bit added to a string of bits to ensure that the total number of 1’s is even or odd

24
Q

what is the difference between sector forwarding and sector slipping?

A

sector forwarding is a remapping…sector slipping is a shift to move away from the bad sector

25
Q

Striping is a technique to improve _____ of a RAID.

A

performance

26
Q

Adding redundant data in the form of parity or an ECC improves _____ of a RAID.

A

reliability