Question
Option 2 : 12.33 ms / 12.33 मिलीसेकंड
Detailed Solution
सही उत्तर 12.33 ms / 12.33 मिलीसेकंड है।
Question:
Three processes P1, P2 and P3 with burst times 10, 5 and 7 milliseconds all arrive at time 0 and are scheduled with Round Robin using time quantum 4. What is the average waiting time? / तीन प्रोसेस P1, P2 और P3 बर्स्ट समय 10, 5 और 7 मिलीसेकंड के साथ सभी समय 0 पर आते हैं और टाइम क्वांटम 4 वाले राउंड रॉबिन से शेड्यूल होते हैं। औसत प्रतीक्षा समय कितना है?
Correct Answer: 12.33 ms / 12.33 मिलीसेकंड
The Gantt order is P1 0-4, P2 4-8, P3 8-12, P1 12-16, P2 16-17, P3 17-20, P1 20-22, so completion times are 22, 17 and 20, giving waiting times 12, 12 and 13 with average 37/3 = 12.33 ms. / गैंट क्रम P1 0-4, P2 4-8, P3 8-12, P1 12-16, P2 16-17, P3 17-20, P1 20-22 है, अतः समापन समय 22, 17 और 20 हैं, प्रतीक्षा समय 12, 12 और 13, औसत 37/3 = 12.33 मिलीसेकंड।