
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
37 questions
lý cuối kì

Quiz
•
10th Grade
34 questions
Chapter 4: Computer-Aided Design and Drafting in Architecture

Quiz
•
11th Grade
40 questions
Construction Safety Quiz

Quiz
•
12th Grade
30 questions
ONE 6th FORM Unit 11 EoT Quiz Cyber Security

Quiz
•
12th Grade
34 questions
quiz penjas

Quiz
•
10th Grade
30 questions
PROFESSIONAL PRACTICE 1 - FINAL EXAM

Quiz
•
University
35 questions
CE-35 Building Systems Design Quiz No. 1

Quiz
•
University
30 questions
SPECIAL EXAM FOR COMPRE A

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Architecture
12 questions
Passport Quiz 1

Quiz
•
1st - 5th Grade
10 questions
Making Predictions

Quiz
•
4th - 5th Grade
6 questions
Spiral Review 8/5

Quiz
•
4th Grade
18 questions
Rotation/Revolution Quiz

Quiz
•
4th Grade
22 questions
Geography Knowledge

Quiz
•
4th Grade
10 questions
Capitalization

Quiz
•
4th Grade
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Basic multiplication facts

Quiz
•
4th Grade