Computer AwarenessVery hardIBPS SO IT · SBI PO
Three processes arrive at time 0 in the order P1 (burst 10 ms), P2 (burst 4 ms) and P3 (burst 2 ms). By how much does the average waiting time under non-pre-emptive SJF fall compared with FCFS?
- A. 8 ms
- B. 5.33 ms
- C. 2.67 ms
- D. 16 ms
Correct answer: B. 5.33 ms
FCFS waits are 0, 10, 14 (average 8 ms); SJF runs P3, P2, P1 with waits 0, 2, 6 (average 2.67 ms). The fall is 8 − 2.67 = 5.33 ms; 16 ms is the fall in TOTAL waiting time, not the average.
हिंदी में
तीन प्रक्रियाएँ समय 0 पर इस क्रम में आती हैं: P1 (बर्स्ट 10 ms), P2 (बर्स्ट 4 ms) और P3 (बर्स्ट 2 ms)। FCFS की तुलना में नॉन-प्री-एम्प्टिव SJF में औसत प्रतीक्षा समय कितना घटता है?
- A. 8 ms
- B. 5.33 ms
- C. 2.67 ms
- D. 16 ms
उत्तर: B. FCFS में प्रतीक्षा समय 0, 10, 14 हैं (औसत 8 ms); SJF में P3, P2, P1 चलते हैं और प्रतीक्षा समय 0, 2, 6 हैं (औसत 2.67 ms)। कमी 8 − 2.67 = 5.33 ms है; 16 ms कुल प्रतीक्षा समय की कमी है, औसत की नहीं।
More Computer Awareness questions
- In a STUDENT table, both RollNo and Email can uniquely identify every row. The designer chooses RollNo as the primary key. What is Email…
- A relation is in 1NF and its primary key consists of a single attribute. Which normal form is it then guaranteed to satisfy?
- A funds-transfer transaction commits successfully, and a second later the database server loses power. When it restarts, the transfer is…
- Which network device is matched with the WRONG OSI layer at which it mainly operates?
- An IPv6 address is written as colon-separated groups of hexadecimal digits. In full (uncompressed) form, how many groups are there and how…
- In a 48-bit MAC address, what do the first 24 bits (the Organisationally Unique Identifier) identify?