GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2024 set2

GATE 2024 set2 · CS · NAT · 2 marks · Operating System › Memory Management

GATE 2024 set2 Computer Science and Information Technology question: Consider a 32-bit system with 4 KB page size and page table entries of size 4 bytes…

Consider a 32-bit system with 4 KB page size and page table entries of size 4 bytes each. Assume 1 KB bytes. The OS uses a 2-level page table for memory management, with the page table containing an outer page directory and an inner page table. The OS allocates a page for the outer page directory upon process creation. The OS uses demand paging when allocating memory for the inner page table, i.e., a page of the inner page table is allocated only if it contains at least one valid page table entry.

An active process in this system accesses 2000 unique pages during its execution, and none of the pages are swapped out to disk. After it completes the page accesses, let denote the minimum and denote the maximum number of pages across the two levels of the page table of the process.

The value of is ________

Show answer

Official answer: 1028

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion