Which of the following scheduling algorithms is non-preemptive? (GATE CS 2002)
OPERATING SYSTEMS 2

Quiz
•
Computers
•
University
•
Hard
K Lokeshnath
Used 26+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Round Robin
First-In First-Out
Multilevel Queue Scheduling
Multilevel Queue Scheduling with Feedback
2.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
consider the 3 processes, P1, P2 and P3 shown in the table
The completion order of the 3 processes under the policies FCFS and RRS (round robin scheduling with CPU quantum of 2 time units) are
FCFS: P1, P2, P3 RR2: P1, P2, P3
FCFS: P1, P3, P2 RR2: P1, P3, P2
FCFS: P1, P2, P3 RR2: P1, P3, P2
FCFS: P1, P3, P2 RR2: P1, P2, P3
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Consider the following table of arrival time and burst time for three processes P0, P1 and P2.
The pre-emptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of processes. What is the average waiting time for the three processes?
5.0 ms
4.33 ms
6.33 ms
7.33 ms
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following statements are true? (GATE CS 2010)
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 only
I and III only
II and III only
I, II and III
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
1) In the following process state transition diagram for a uniprocessor system, assume that there are always some processes in the ready state: Now consider the following statements:
I. If a process makes a transition D, it would result in another process making transition A immediately.
II. A process P2 in blocked state can make transition E while another process P1 is in running state.
III. The OS uses preemptive scheduling.
IV. The OS uses non-preemptive scheduling.
Which of the above statements are TRUE?
I and II
I and III
II and III
II and IV
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes:
What is the total waiting time for process P2?
5
15
40
55
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
NMCNTT_OS & Network

Quiz
•
University
25 questions
Operating Systems

Quiz
•
University - Professi...
15 questions
Chapter 8 - Memory Management Strategies

Quiz
•
University
22 questions
Operating Systems Crash Course

Quiz
•
University
15 questions
OM_SBENT3C_Q2

Quiz
•
University - Professi...
20 questions
Operating System Memory Management

Quiz
•
University
20 questions
Operating System CT-1

Quiz
•
University
20 questions
CPU Scheduling Chapter 5

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade