os cpu scheduling

os cpu scheduling

University

17 Qs

quiz-placeholder

Similar activities

Quiz1-OS

Quiz1-OS

University

20 Qs

Test1_IntroOS

Test1_IntroOS

University

15 Qs

Lecture 5 - Introduction to Computing

Lecture 5 - Introduction to Computing

University

18 Qs

OCR A Level Computer Science (H446) - Component 1.2.1 - Systems Software

OCR A Level Computer Science (H446) - Component 1.2.1 - Systems Software

11th Grade - University

14 Qs

IPC

IPC

University

20 Qs

MULTI LEVEL QUEUE AND FEEDBACK SCHEDULING

MULTI LEVEL QUEUE AND FEEDBACK SCHEDULING

University

13 Qs

OS 1

OS 1

University

15 Qs

OS Quiz-1

OS Quiz-1

University

15 Qs

os cpu scheduling

os cpu scheduling

Assessment

Quiz

Computers

University

Hard

Created by

sachin rajput

Used 8+ 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?