UGC NET Paper 2 (Computer Science)Hard
For the reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 and 3 frames, the number of page faults under LRU is:
- A. 9
- B. 12
- C. 15
- D. 10
Correct answer: B. 12
FIFO gives 15, LRU 12 and the Optimal policy 9 for this classic string.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- A TLB lookup takes 20 ns, a memory access 100 ns and the TLB hit ratio is 90%. The effective access time (single-level paging) is:
- A system has a 32-bit virtual address, 4 KB pages and 4-byte page table entries with a single-level page table. The page table size is:
- In the bounded-buffer producer-consumer solution with n slots, the semaphores empty, full and mutex are initialised respectively to:
- A Unix-style inode has 12 direct pointers and one single indirect pointer. With 4 KB blocks and 4-byte block pointers, the maximum file…
- For three tasks, the Liu-Layland utilization bound for Rate Monotonic scheduling, n(2^(1/n) - 1), is approximately:
- Consider. I. Strict 2PL ensures conflict serializability. II. Strict 2PL ensures cascadeless schedules. III. 2PL guarantees freedom from…