Which one or more of the following CPU scheduling algorithms can potentially cause starvation?

OS_CPU Scheduling Quiz01

Quiz
•
Computers
•
12th Grade
•
Medium
Pushpendra Pateriya
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Round Robin
First Come First Serve
Priority Scheduling
Shortest Job First
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider four processes P, Q, R and S scheduled on a CPU as per round robin algorithm with a time quantum of 4 units. The processes arrive in the order P, Q, R, S, all at time t = 0. There is exactly one context switch from S to Q, exactly one context switch from R to Q, and exactly two context switches from Q to R. There is no context switch from S to P. Switching to a ready process after the termination of another process is also considered a context switch. Which one of the following is NOT possible as CPU burst time (in time units) of these processes?
P = 4, Q = 10, R = 6, S = 2
P = 2, Q = 9, R = 5, S = 1
P = 4, Q = 12, R = 5, S = 4
P = 3, Q = 7, R = 7, S = 3
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following statements about process state transitions for a system using preemptive scheduling. A running process can move to ready state when:
It is interrupted by an I/O request
It is preempted by a higher priority process
It completes its CPU burst
It is blocked by a semaphore
4.
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 scheduling algorithms is most suitable?
First Come First Serve
Round Robin
Shortest Job First
Priority Scheduling
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The maximum number of processes that can be in Ready state for a computer system with n CPUs is:
n
n2
2n
Independent of n
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (the lowest priority). The scheduler re-evaluates the process priorities every T time units and decides the next process to schedule. Which one of the following is TRUE if the processes have no I/O operations and all arrive at time zero?
This algorithm is equivalent to the first-come-first-serve algorithm
This algorithm is equivalent to the round-robin algorithm.
This algorithm is equivalent to the shortest-job-first algorithm
This algorithm is equivalent to the shortest-remaining-time-first algorithm
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following statements are true?
I. Shortest remaining time first scheduling may cause starvation
II. Preemptive scheduling may cause starvation
III. Round robin is better than FCFS in terms of response time
I, II and III
I only
I and III only
II and III only
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Process Management Quiz

Quiz
•
12th Grade
14 questions
Process Scheduling Basics

Quiz
•
12th Grade
20 questions
CPU Scheduling Basics

Quiz
•
12th Grade
17 questions
recap 12 miscellaneous H446 computer science

Quiz
•
12th Grade
15 questions
1.2.1 Systems Software

Quiz
•
12th Grade
20 questions
iGCSE Computer Science: Software

Quiz
•
9th - 12th Grade
20 questions
Smooth Operations LAP Test

Quiz
•
9th - 12th Grade
20 questions
16.1 Purposes of an Operating System (OS) Cambridge iA 9618

Quiz
•
12th Grade
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University