Operating System Quiz 1
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Shabnam Choudhary
Used 1+ times
FREE Resource
Enhance your content in a minute
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
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
18 questions
Строка CMD
Quiz
•
University
15 questions
Ujian semesterganjil
Quiz
•
8th Grade - University
20 questions
MIDTERM TEST DIPLOMA
Quiz
•
University
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
25 questions
Bilgisayar Donanım Birimleri
Quiz
•
University
20 questions
ЭТ
Quiz
•
1st Grade - University
20 questions
икт 21-40
Quiz
•
1st Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
