Question 31
MediumP1 (24 ms), P2 (3 ms) and P3 (3 ms) arrive at time 0. Using Round Robin with a 4 ms quantum, what is the average waiting time?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
P1 (24 ms), P2 (3 ms) and P3 (3 ms) arrive at time 0. Using Round Robin with a 4 ms quantum, what is the average waiting time?
4 ms
5.67 ms
17 ms
7 ms
Sign up free to see the answer and a step-by-step explanation.
What does Round Robin become if the time quantum is larger than every burst time?
FCFS
SJF
Priority scheduling
SRTF
Sign up free to see the answer and a step-by-step explanation.
Which scheduling scheme lets processes move between queues based on their behaviour?
FCFS
Non-preemptive SJF
Multilevel feedback queue
Multilevel queue
Sign up free to see the answer and a step-by-step explanation.
For an interactive system, which scheduling metric matters most to users?
Response time
Throughput
Turnaround time of batch jobs
CPU utilisation
Sign up free to see the answer and a step-by-step explanation.
Processes (arrival time, burst time in ms): P1 (0, 6), P2 (1, 4), P3 (2, 2), P4 (3, 5). What is the average waiting time under FCFS?
5.5 ms
6.5 ms
4.25 ms
5 ms
Sign up free to see the answer and a step-by-step explanation.
Processes (arrival time, burst time in ms): P1 (0, 6), P2 (1, 4), P3 (2, 2), P4 (3, 5). What is the average waiting time under non-pre-emptive SJF?
5 ms
5.5 ms
6.5 ms
4.25 ms
Sign up free to see the answer and a step-by-step explanation.
Processes (arrival time, burst time in ms): P1 (0, 6), P2 (1, 4), P3 (2, 2), P4 (3, 5). What is the average turnaround time under SRTF (pre-emptive SJF)?
8.5 ms
10.75 ms
9.75 ms
9.25 ms
Sign up free to see the answer and a step-by-step explanation.
Processes (arrival time, burst time in ms): P1 (0, 6), P2 (1, 4), P3 (2, 2), P4 (3, 5). Under Round Robin with a 2 ms quantum, at what time does P1 finish?
16 ms
6 ms
12 ms
14 ms
Sign up free to see the answer and a step-by-step explanation.
Processes (arrival time, burst time in ms): P1 (0, 8), P2 (2, 3), P3 (4, 1), P4 (5, 4). What is the average waiting time under SRTF (pre-emptive SJF)?
4.5 ms
5 ms
2.5 ms
3.5 ms
Sign up free to see the answer and a step-by-step explanation.
Processes (arrival time, burst time in ms): P1 (0, 8), P2 (2, 3), P3 (4, 1), P4 (5, 4). What is the average turnaround time under FCFS?
6.5 ms
8.5 ms
9 ms
10 ms
Sign up free to see the answer and a step-by-step explanation.