Question 1
Round Robin scheduling with time quantum = 2:
- P1: Burst time 5
- P2: Burst time 12
- P3: Burst time 13
- P4: Burst time 9
- P5: Burst time 12
What is the average completion time?
Step-by-step solution:
1. Round Robin simulation:
2. Completion times:
- P1: 21
- P4: 42
- P2: 46
- P5: 50
- P3: 51
3. Average: 210 ÷ 5 = 42.0
Answer: 42.0
1. Round Robin simulation:
2. Completion times:
- P1: 21
- P4: 42
- P2: 46
- P5: 50
- P3: 51
3. Average: 210 ÷ 5 = 42.0
Answer: 42.0