
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
Greek and Roman architecture

Quiz
•
9th - 12th Grade
40 questions
WG Unit 1 Practice Culture/Map Projections/Lang

Quiz
•
9th - 12th Grade
31 questions
Unit 104 ppt3 Construction Industry Responsibilities

Quiz
•
12th Grade
38 questions
Theory of Structures 1

Quiz
•
University
39 questions
VDA - House (Part 1/2)

Quiz
•
University
30 questions
International Architects 2

Quiz
•
University
30 questions
RA 9266 and SPP 205-209

Quiz
•
University
30 questions
PROFESSIONAL PRACTICE 1 ODAR1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Architecture
20 questions
Place Value

Quiz
•
4th Grade
18 questions
Subject and Predicate Practice

Quiz
•
4th Grade
5 questions
Remembering 9/11 Patriot Day

Lesson
•
3rd - 5th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
20 questions
place value

Quiz
•
4th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade