Question 1
Round Robin scheduling with time quantum = 2:
- P1: Burst time 14
- P2: Burst time 7
- P3: Burst time 6
- P4: Burst time 7
What is the average completion time?
Step-by-step solution:
1. Round Robin simulation:
2. Completion times:
- P3: 22
- P2: 27
- P4: 28
- P1: 34
3. Average: 111 ÷ 4 = 27.8
Answer: 27.8
1. Round Robin simulation:
2. Completion times:
- P3: 22
- P2: 27
- P4: 28
- P1: 34
3. Average: 111 ÷ 4 = 27.8
Answer: 27.8