
Operating System Quiz 1
Authored by Shabnam Choudhary
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 2 pts
Calculate average waiting time using FCFS for P1(0,6), P2(2,8), P3(4,7), P4(5,3).
Answer explanation
FCFS Order: P1 (0–6), P2 (6–14), P3 (14–21), P4 (21–24). Waiting Times: P1: 0 ms P2: 6 - 2 = 4 ms P3: 14 - 4 = 10 ms P4: 21 - 5 = 16 ms Average: (0 + 4 + 10 + 16)/4 = 7.5 ms
2.
MULTIPLE CHOICE QUESTION
3 mins • 2 pts
In RR (quantum=4ms), P1(10ms), P2(5ms), P3(8ms). What is turnaround time for P3?
Answer explanation
Execution Order: T0–4: P1 (4ms done, 6ms left) T4–8: P2 (4ms done, 1ms left) T8–12: P3 (4ms done, 4ms left) T12–16: P1 (4ms done, 2ms left) T16–17: P2 (1ms done, finishes) T17–21: P3 (4ms done, finishes). P3 completes at T=21 ms.
3.
MULTIPLE CHOICE QUESTION
3 mins • 2 pts
SRTF Scheduling: Processes P1(0,7), P2(2,4), P3(4,1). Compute number of context switches.
Answer explanation
Execution Order: T0–2: P1 T2–4: P2 (preempts P1) T4–5: P3 (preempts P2, shortest remaining time) T5–8: P2 T8–14: P1 Context Switches: P1→P2, P2→P3, P3→P2, P2→P1 → 4 switches.
4.
MULTIPLE CHOICE QUESTION
3 mins • 3 pts
Priority Scheduling (Preemptive): P1(0,10,3), P2(2,5,1), P3(3,2,2). Compute average turnaround time.
Answer explanation
Execution Order: T0–2: P1 T2–7: P2 (higher priority, preempts P1) T7–9: P3 T9–19: P1 Turnaround Times: P1: 19 - 0 = 19 ms P2: 7 - 2 = 5 ms P3: 9 - 3 = 6 ms Average: (19 + 5 + 6)/3 = 10 ms
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
CPU spends 80% in user mode, 10% system calls, 5% I/O wait, 5% idle. CPU Utilization is?
Answer explanation
CPU Utilization = User Mode + System Calls = 80% + 10% = 90%. I/O wait and idle time are excluded.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of OS ensures critical tasks meet deadlines?
Answer explanation
Real-time OS guarantees timely execution for time-sensitive tasks.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is TRUE about Microkernel architecture?
Answer explanation
Microkernel minimizes kernel functionality (e.g., only IPC, scheduling), moving other services (e.g., drivers) to user space.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Chapter : 9 Working with tables
Quiz
•
5th Grade - University
18 questions
Hardware and Software
Quiz
•
6th Grade - University
21 questions
Introduction to CS
Quiz
•
7th Grade - University
20 questions
องค์ประกอบคอมพิวเตอร์
Quiz
•
University
15 questions
Hardware & Software
Quiz
•
University
20 questions
Software Engineering
Quiz
•
University
18 questions
Introduction to Database
Quiz
•
University
15 questions
System Unit
Quiz
•
10th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University