CS FundamentalsHardGATE CS
A program alternately computes for 20 ms and does disk I/O for 80 ms. With 4 such independent programs and the 1 − pⁿ model, what CPU utilisation results, and what would a fifth program add?
- A. about 59% → about 67%
- B. about 80% → about 100%
- C. about 41% → about 33%
- D. about 59% → about 59%
Correct answer: A. about 59% → about 67%
p = 0.8. 1 − 0.8⁴ = 1 − 0.4096 ≈ 59%; 1 − 0.8⁵ = 1 − 0.32768 ≈ 67%. Each extra process adds less (diminishing returns).
More Operating Systems questions
- In a system with paging, a process's logical address space is 64 pages of 1 KB and physical memory is 32 frames. How many bits are in the…
- An 8 MB file uses linked indexed allocation: each 4 KB index block holds 1024 four-byte pointers, of which the last is reserved as the…
- Processes (arrival, burst) are P1 (0, 8), P2 (1, 4), P3 (2, 9), P4 (3, 5) and P5 (6, 2). What is the average waiting time under preemptive…
- Round Robin with quantum 2 runs A (arrival 0, burst 5), B (1, 3), C (2, 6) and D (4, 2). A newly arrived process joins the ready queue…
- At time 10 the CPU becomes free and four jobs wait: J1 (arrived 2, burst 6), J2 (arrived 5, burst 2), J3 (arrived 1, burst 10), J4…
- With 3 frames, initially empty, the reference string 4, 7, 0, 7, 1, 0, 1, 2, 1, 2, 7, 1, 2, 0, 4, 7 is run under FIFO, LRU and Optimal…