wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CPU Scheduling Algorithms Quiz

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

What is the main purpose of CPU scheduling algorithms?

a)

To increase the number of processes in the queue

b)

To minimize CPU utilization

c)

To ensure fairness among parties utilizing resources

d)

To maximize resource starvation

2.

What does CPU utilization refer to?

a)

The total time taken for all jobs

b)

The ratio of total CPU burst to total processing time

c)

The number of processes completed per time unit

d)

The time taken from submission to completion

3.

Which of the following is a non-preemptive CPU scheduling algorithm?

a)

Preemptive Priority

b)

First Come First Served (FCFS)

c)

Round Robin (RR)

d)

Shortest Remaining Time First (SRTF)

4.

What is the definition of turn-around time?

a)

Time from submission to completion of a process

b)

Time spent waiting in the queue

c)

Time taken to respond to a request

d)

Time the CPU is busy processing

5.

In a non-preemptive priority scheduling algorithm, what happens if two jobs have the same priority?

a)

The job with the longest burst time is executed first

b)

The operating system randomly selects a job

c)

Both jobs are executed simultaneously

d)

The job that arrived first is executed first

6.

What does throughput measure in CPU scheduling?

a)

The time taken for the first response

b)

The number of processes completed per time unit

c)

The total CPU burst time

d)

The average waiting time of processes

7.

Which scheduling algorithm is known as First In First Out (FIFO)?

a)

Shortest Job First (SJF)

b)

First Come First Served (FCFS)

c)

Round Robin (RR)

d)

Non-preemptive Priority (NPP)

8.

What is the main characteristic of a preemptive scheduling algorithm?

a)

Processes run until completion

b)

Processes can be interrupted and moved to ready state

c)

All processes are executed in the order they arrive

d)

No process can be interrupted once started

9.

In Round Robin scheduling, what happens if the time slice is greater than the burst time?

a)

The process is terminated immediately

b)

The process is paused until the next time slice

c)

The process is executed until completion

d)

The process is moved back to the ready queue

10.

What is the response time in CPU scheduling?

a)

Total time the CPU is busy

b)

Time spent waiting in the queue

c)

Time taken from submission to the first response

d)

Time taken to complete a process

11.

Which of the following is a characteristic of non-preemptive scheduling?

a)

Processes are executed in a round-robin manner

b)

Processes run until they terminate

c)

Processes can be interrupted

d)

Processes are executed based on priority

12.

What does waiting time refer to in CPU scheduling?

a)

Time from submission to first response

b)

Time a process spends in the ready queue

c)

Time taken to execute a process

d)

Total time the CPU is busy processing

13.

Which algorithm checks for the shortest remaining time first?

a)

Round Robin (RR)

b)

Shortest Remaining Time First (SRTF)

c)

Shortest Job First (SJF)

d)

First Come First Served (FCFS)

14.

What is the highest priority in a non-preemptive priority scheduling algorithm?

a)

2

b)

3

c)

1

d)

0

15.

What happens in Shortest Job First (SJF) scheduling?

a)

All jobs are executed simultaneously

b)

Jobs are executed in the order they arrive

c)

The longest job is executed first

d)

The job with the shortest burst time is executed first