Quiz 6 Flashcards

1
Q

The free-space list can be implemented using a bit vector approach. What is a drawback of this technique?

A

It is not feasible to keep the entire list in main memory for large disks

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

What allocation method ensures that only one access is needed to get a disk block using direct access?

A

contiguous allocation

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

What is true about an environment where several processes may open the same file at the same time?

A

the operating system typically uses two internal tables called the system-wide and per-process tables to keep track of open files.

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

A(n) ____ is a buffer that holds output for a device that cannot accept interleaved data streams.

A

spool

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

What is a principle that can improve the efficiency of I/O and reduce CPU usage?

A

Move processing primitives into hardware, e.g., DMA

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

Direct memory access is a technique that___

A

enables the associated controller to read and write data directly from/to primary memory with no CPU intervention during data transfer.

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

The list of processes waiting for a particular I/O device is called a(n) ____.

A

device queue

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

Starvation may occur in the FCFS disk-scheduling discipline.

A

False

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

In symbolic link, two i-nodes will be created for a file.

A

False

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

SSDs often use an FCFS disk-scheduling algorithm.

A

True

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