wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

OS Algorithm

Total questions: 13

Worksheet time: 11mins

Name
Class
Date
1.

Which of the following is a disadvantage of Round Robin Scheduling Algorithm?

a)

It provides efficient utilization of CPU time.

b)

It can cause inefficient handling of I/O bound processes

c)

It may result in poor response time for interactive applications

d)

It leads to high turnaround time for processes

2.

3. In Least Recently Used Page Replacement, which page is replaced?

a)

A random page

b)

The largest page

c)

The most recently used page

d)

The least recently used page

3.

4. What is the main advantage of Least Recently Used Page Replacement?

a)

Maximizes page faults

b)

Has no impact on page faults

c)

Causes system crashes

d)

Minimizes page faults

4.

5. What is the main goal of Shortest Seek Time First Algorithm?

a)

Minimize seek time of the disk

b)

Maximize efficiency of the disk

c)

Minimize processing time of the disk

d)

Maximize seek time of the disk

5.

6. Which of the following is a drawback of Shortest Seek Time First Algorithm?

a)

May lead to starvation of some requests

b)

Improves disk access time

c)

Reduces the number of seek operations

d)

Increases the overall system throughput

6.

7. In FIFO Page Replacement Algorithm, which page is replaced?

a)

The largest page

b)

The newest page

c)

The oldest page

d)

The most frequently accessed page

7.

8. What is the main advantage of FIFO Page Replacement Algorithm?

a)

No impact on system performance

b)

Maximal overhead

c)

Minimal overhead

d)

Randomly selects pages to replace

8.

What is the primary benefit of using the First-In-First-Out (FIFO) Page Replacement Algorithm?

a)

Maximizes system performance

b)

Minimizes overhead

c)

Randomly selects pages to replace

d)

Minimizes page faults

9.

12. In Shortest Seek Time First (SSTF) Disk Scheduling Algorithm, what is the main goal?

a)

Maximize seek time of the disk

b)

Minimize seek time of the disk

c)

Maximize efficiency of the disk

d)

Minimize processing time of the disk

10.

13. What is the main advantage of Round Robin Scheduling Algorithm?

a)

It provides efficient utilization of CPU time.

b)

It can cause inefficient handling of I/O bound processes

c)

It may result in poor response time for interactive applications

d)

It leads to high turnaround time for processes

11.

Consider a memory system with 4 page frames and the following reference string: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1. Using the optimal page replacement algorithm, how many page faults will occur?


a)

6

b)

7

c)

8

d)

9

12.

Consider a CPU scheduling with a time quantum of 4 units. Process P1 arrives at time 0 and needs 8 units of time, process P2 arrives at time 1 and needs 4 units of time, and process P3 arrives at time 2 and needs 2 units of time. What is the average waiting time for these processes?

a)

9.67 units

b)

4 units

c)

5 units

d)

6 units

13.

Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 37, 122, 14, 124, 65, 67 in that order. The disk head is initially at cylinder 53 moving towards larger cylinder numbers. Using the C-LOOK scheduling algorithm, what is the total seek time required to satisfy all the requests?

a)

382

b)

299

c)

331

d)

322