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?
- A. 7.33 ms
- B. 3.67 ms
- C. 4.33 ms
- 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 के टाइम क्वांटम वाले राउंड रॉबिन में औसत प्रतीक्षा समय क्या है?
- A. 7.33 ms
- B. 3.67 ms
- C. 4.33 ms
- 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
- Four processes have (arrival, burst) times P1 (0, 7), P2 (2, 4), P3 (4, 1) and P4 (5, 4) in ms. Under pre-emptive Shortest Remaining Time…
- Under priority scheduling, a low-priority process may wait for ever. Which technique fixes this by slowly raising the priority of…
- Many short processes sit idle behind one long CPU-bound process, lowering device and CPU utilisation. This 'convoy effect' is typical of…
- Which page-replacement algorithm can suffer from Belady's anomaly, where giving a process MORE frames produces MORE page faults?
- A process has 3 page frames, all empty at first, and refers to pages 7, 0, 1, 2, 0, 3, 0, 4, 2, 3. How many page faults occur under the…
- A system has 12 tape drives. P0 holds 5 (maximum need 10), P1 holds 2 (maximum 4) and P2 holds 2 (maximum 9). Under the Banker's…