
os cpu scheduling

Quiz
•
Computers
•
University
•
Hard
sachin rajput
Used 9+ times
FREE Resource
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 _________ 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 Wayground
15 questions
Embedded System

Quiz
•
University
15 questions
Operating System Viva

Quiz
•
University
20 questions
Pre-Assessment: Distributed Systems III

Quiz
•
University
12 questions
OS Introduction

Quiz
•
University
15 questions
OS_Processes

Quiz
•
University
20 questions
GIOS P2L1 - Part 2

Quiz
•
University
18 questions
Cyber EOP - Physical Devices By Mr. B

Quiz
•
12th Grade - University
15 questions
Operating system Quiz-1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University