os cpu scheduling

os cpu scheduling

University

17 Qs

quiz-placeholder

Similar activities

Computer Technologies Memory

Computer Technologies Memory

University

20 Qs

Networking 1 Day 1

Networking 1 Day 1

University

18 Qs

Midterm Test

Midterm Test

University

19 Qs

Term 2 computer science revision

Term 2 computer science revision

12th Grade - University

17 Qs

Operating Systems and Concurrent Processing Quiz

Operating Systems and Concurrent Processing Quiz

12th Grade - University

15 Qs

Technical quiz

Technical quiz

University

16 Qs

Operating System

Operating System

University

20 Qs

OPERATING SYSTEMS UNIT 1 QUIZ

OPERATING SYSTEMS UNIT 1 QUIZ

University

20 Qs

os cpu scheduling

os cpu scheduling

Assessment

Quiz

Computers

University

Hard

Created by

sachin rajput

Used 9+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?