For the processes listed in the following table, which of the following scheduling schemes will give the lowest average turnaround time?

os cpu scheduling

Quiz
•
Computers
•
University
•
Hard
sachin rajput
Used 8+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
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 _________ 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 __________ 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 _________.
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
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Pre-Assessment: Distributed Systems III

Quiz
•
University
20 questions
Computer Components Intro Quiz

Quiz
•
9th Grade - University
12 questions
OS Introduction

Quiz
•
University
16 questions
iGCSE ICT: Software

Quiz
•
KG - University
20 questions
Operating system

Quiz
•
University
21 questions
COS Quiz 3

Quiz
•
University
15 questions
Embedded System

Quiz
•
University
15 questions
Operating System Viva

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade