Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 4 : 8.75 ms / 8.75 मिलीसेकंड

Advertisement

Detailed Solution

सही उत्तर 8.75 ms / 8.75 मिलीसेकंड है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

Four batch jobs arrive for FCFS scheduling with these arrival and CPU burst times in milliseconds: P1 arrives at 0 with burst 8, P2 arrives at 1 with burst 4, P3 arrives at 2 with burst 9, P4 arrives at 3 with burst 5. What is the average waiting time? / FCFS शेड्यूलिंग के लिए चार बैच जॉब इन आगमन और CPU बर्स्ट समय (मिलीसेकंड में) के साथ आते हैं: P1 आगमन 0 बर्स्ट 8, P2 आगमन 1 बर्स्ट 4, P3 आगमन 2 बर्स्ट 9, P4 आगमन 3 बर्स्ट 5। औसत प्रतीक्षा समय कितना है?

1.
7.75 ms / 7.75 मिलीसेकंड
2.
9.25 ms / 9.25 मिलीसेकंड
3.
6.50 ms / 6.50 मिलीसेकंड
4.
8.75 ms / 8.75 मिलीसेकंड

Correct Answer: 8.75 ms / 8.75 मिलीसेकंड

The run order is P1 from 0 to 8, P2 from 8 to 12, P3 from 12 to 21 and P4 from 21 to 26, giving waiting times 0, 7, 10 and 18, whose average is 35/4 = 8.75 ms. / चलन क्रम P1 0 से 8, P2 8 से 12, P3 12 से 21 और P4 21 से 26 है, जिससे प्रतीक्षा समय 0, 7, 10 और 18 मिलते हैं, जिनका औसत 35/4 = 8.75 मिलीसेकंड है।

Downloaded from PrepSnap (prepsnap.in)