
Operating System Quiz 2

Quiz
•
Architecture
•
4th Grade
•
Hard

Nisha Rose
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following scheduling algorithms is non-preemptive? (GATE CS 2002)
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
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
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Consider a set of n tasks with known runtimes r1,r2,.....rn to be run on a uniprocessor machine. Which of the following processor scheduling algorithms will result in the maximum throughput?.
Round Robin
Shortest-Job First
Highest-Response-Ratio-Next
First-Come-First-Served
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
34 questions
VDA - Electricity (Part 2/3)

Quiz
•
University
30 questions
BUILDING UTILITIES PART 1_PLUMBING

Quiz
•
University
40 questions
AutoCad Quiz #2

Quiz
•
9th - 12th Grade
40 questions
TAPP BOOSTER

Quiz
•
University - Professi...
40 questions
BU_electrical

Quiz
•
University
40 questions
Mixed Subjects 4 CTTO

Quiz
•
University
30 questions
KAKA

Quiz
•
1st - 5th Grade
39 questions
Theory of Architecture (Part 1)

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Architecture
20 questions
place value

Quiz
•
4th Grade
10 questions
Order of Operations No Exponents

Quiz
•
4th - 5th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
12 questions
Text Structures

Quiz
•
4th Grade
15 questions
Subject-Verb Agreement

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade
10 questions
Input Output Tables

Quiz
•
4th Grade
15 questions
Singular and Plural Nouns

Quiz
•
4th Grade