
os cpu scheduling
Authored by sachin rajput
Computers
University
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
For the processes listed in the following table, which of the following scheduling schemes will give the lowest average turnaround time?
First Come First Serve
Non-pre-emptive Shortest Job First
Shortest Remaining Time
Round Robin with Quantum value two
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
Shortest remaining time first
Round-robin with time quantum less than the shortest CPU burst
Uniform random
Highest priority first with priority proportional to CPU burst length
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following set of processes, with the arrival times and the CPU-burst times given in milliseconds
What is the average turnaround time for these processes with the pre-emptive shortest remaining processing time first (SRPT) algorithm?
5.50
5.75
6.00
6.25
4.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is pre-emptive shortest remaining-time first.
The average turnaround time of these processes is (a) milliseconds.
5.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Consider the following CPU processes with arrival times (in milliseconds) and length of CPU bursts (in milliseconds) as given below:
If the pre-emptive shortest remaining time first scheduling algorithm is used to schedule the processes, then the average waiting time across all processes is (a) milliseconds
6.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times (in milliseconds)
The average waiting time (in milliseconds) of the processes is (a) .
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider three CPU intensive processes P1, P2, P3 which require 20,10 and 30 units of time, arrive at times 1,3 and 7 respectively. Suppose operating system is implementing Shortest Remaining Time first (pre-emptive scheduling) algorithm, then _____ context switches are required (suppose context switch at the beginning of Ready queue and at the end of Ready queue are not counted).
3
2
4
5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?