For the following set of processes scheduled using FCFS policy, determine the average waiting time. Assume that the processes arrived in the order P1, P2, P3, P4.

Process Burst Time (ms)
P1 8
P2 15
P3 10
P4 7

This question was previously asked in
UGC NET Computer Science (Paper 2) 11 March 2023 Official Paper
View all UGC NET Papers >
  1. 8
  2. 16
  3. 32
  4. 48

Answer (Detailed Solution Below)

Option 2 : 16
Free
UGC NET Paper 1: Held on 21st August 2024 Shift 1
10.8 K Users
50 Questions 100 Marks 60 Mins

Detailed Solution

Download Solution PDF

The correct answer is 16

EXPLANATION:

Gantt chart:

F1 Savita ENG 22-12-23 D2

\(\text{Waiting Time} = \text{Completion Time} - \text{Arrival Time}\)

Process Burst Time (ms)    WT     
P1 8 0
P2 15 8
P3 10 23
P4 7 33

\(\text{Average Waiting Time} = \frac{\text{Sum of All Waiting Times}}{\text{Number of Processes}} \)

\(\text{Average Waiting Time} = \frac{\text{0 + 8 + 23 + 33}}{\text{4}} \)

\(\text{Average Waiting Time} = \frac{\text{64}}{\text{4}} \)

\(\text{Average Waiting Time} = 16\)

Latest UGC NET Updates

Last updated on Jun 12, 2025

-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.

-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.

-> The exam is conducted bi-annually - in June and December cycles.

-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions. 

-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.

More Process Scheduling Questions

More CPU Scheduling Questions

Get Free Access Now
Hot Links: teen patti master downloadable content teen patti bodhi teen patti master purana teen patti master 2023