Computer Science EngineeringVery hardISRO SC
Four processes arrive together with CPU bursts 5, 8, 14, 9 ms in the order P1..P4. With round robin, time quantum 4 ms, the average waiting time in ms is
- A. 10
- B. 18.5
- C. 18
- D. 17.25
Correct answer: C. 18
Run the queue in quanta of 4 ms; wait = completion - burst. Average = 18.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- A single-level page table is used. TLB lookup takes 5 ns, memory access 120 ns, and the TLB hit ratio is 95%. The effective memory access…
- In a demand-paged system the memory access time is 200 ns and a page fault takes 8 ms to service. To keep the effective access time within…
- In a demand-paged system the memory access time is 120 ns and a page fault takes 12 ms to service. To keep the effective access time…
- A machine has 32-bit virtual addresses, 1 KB pages and 4-byte page-table entries; every page-table level occupies exactly one page…
- A two-level cache has L1 hit time 1 ns, L1 hit rate 90%, L2 hit time 10 ns, L2 local hit rate 80%, and memory access 100 ns. The average…
- A two-level cache has L1 hit time 1 ns, L1 hit rate 92%, L2 hit time 15 ns, L2 local hit rate 75%, and memory access 200 ns. The average…