We read your photo as:
Calculate the waiting times and average waiting time for processes P1, P2, P3 with burst times 4, 13, 12 using FCFS.
ScanSolve AI Answer
Answer
Step-by-step solution
4 stepsHere's the calculation for the waiting times and average waiting time using the First Come First Served (FCFS) scheduling algorithm, based on the provided burst times.
Given Burst Times:
- P1: 4
- P2: 13
- P3: 12
The waiting time for a process is calculated as the sum of the burst times of all processes that completed before it. The formula from your notes, , correctly represents this.
Calculate the waiting time for P1.
P1 is the first process, so it starts immediately.
Using the formula:
Calculate the waiting time for P2.
P2 waits for P1 to complete.
Using the formula:
Your calculation for P2 incorrectly subtracted 4 instead of 13.
Calculate the waiting time for P3.
P3 waits for P1 and P2 to complete.
Using the formula:
Calculate the average waiting time.
The average waiting time is the sum of all waiting times divided by the number of processes.
Try one yourself
A new problem that tests the same skill.
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
More Computer Science Questions

Handwritten Step-by-Step Solution
Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.
Try on WhatsApp