Resources: Input and Output Flashcards

1
Q

how does the OS interface with IO

A

streams and blocks

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

give examples of stream devices

A

keyboard, screen, printer, network

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

give examples of block devices

A

USB, DVD, magnetic disk

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

how do we abstract IO so that the OS can interface with it

A

Device Drivers

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

what are the 4 layers of the software stack

A

user level- buffering and spooling
system calls
device driver
interrupt handlers

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

what are device drivers

A

hardware that translate between the OS and the hardware to allow them to interface. incorporate a buffer as part of DMA transfers

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

what are the two methods of using peripherals

A

polling- busy wait loop to see if status has changed

interrupt driven- create a demand for attention.

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

What is a DMA controller

A

moves IO data without processor intervention

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

what is a disk

A

auxiliary memory that stores data in blocks.

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