Computer Science EngineeringVery hard
Four processes arrive at time 0 with CPU bursts 6, 8, 7 and 3 ms. What is the average waiting time (ms) under non-preemptive shortest job first?
- A. 9
- B. 8
- C. 7
- D. 6.5
Correct answer: C. 7
Running in the order 3, 6, 7, 8 gives waits 0, 3, 9, 16, whose mean is 28/4 = 7.
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 system uses 32-bit virtual addresses and 4 KB pages. How many entries does a single-level page table have?
- A TLB with 90% hit ratio takes 20 ns per lookup and main memory takes 100 ns per access. What is the effective memory access time (ns)…
- A disk has cylinders 0-199 with the head at 53. The request queue is 98, 183, 37, 122, 14, 124, 65, 67. Total head movement under FCFS is
- In the relation R(A,B,C,D,E) with FDs A->B, B->C, C->D, D->E, the candidate key is
- A /24 network is divided using the mask 255.255.255.224. How many usable hosts does each subnet have?
- With 3-bit sequence numbers, the largest allowed sender window in the Selective Repeat protocol is