Computer AwarenessVery hardIBPS SO IT Officer

Processes P1, P2 and P3 arrive at time 0 in that order with CPU bursts of 5, 3 and 1 ms. Under Round Robin with a time quantum of 2 ms, what is the average waiting time?

  1. A. 7.33 ms
  2. B. 3.67 ms
  3. C. 4.33 ms
  4. D. 5.00 ms

Correct answer: C. 4.33 ms

Order: P1 0–2, P2 2–4, P3 4–5, P1 5–7, P2 7–8, P1 8–9. Waiting = completion − burst: P1 9 − 5 = 4, P2 8 − 3 = 5, P3 5 − 1 = 4; average 13 ÷ 3 ≈ 4.33 ms. 7.33 is the average turnaround time.

हिंदी में

प्रक्रियाएँ P1, P2 और P3 समय 0 पर इसी क्रम में आती हैं और उनके CPU बर्स्ट क्रमशः 5, 3 और 1 ms हैं। 2 ms के टाइम क्वांटम वाले राउंड रॉबिन में औसत प्रतीक्षा समय क्या है?

  1. A. 7.33 ms
  2. B. 3.67 ms
  3. C. 4.33 ms
  4. D. 5.00 ms

उत्तर: C. क्रम: P1 0–2, P2 2–4, P3 4–5, P1 5–7, P2 7–8, P1 8–9। प्रतीक्षा = समापन − बर्स्ट: P1 9 − 5 = 4, P2 8 − 3 = 5, P3 5 − 1 = 4; औसत 13 ÷ 3 ≈ 4.33 ms। 7.33 औसत टर्नअराउंड समय है।

More Computer Awareness questions

Exams that ask this topic