Question 61
HardA system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries. How much memory does a single-level page table need per process?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
A system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries. How much memory does a single-level page table need per process?
4 MB
1 MB
16 MB
4 KB
Sign up free to see the answer and a step-by-step explanation.
A 48-bit virtual address space uses 4 KB pages, 8-byte entries and four-level paging, with each level indexed by the same number of bits. How many bits index each level?
10
12
9
16
Sign up free to see the answer and a step-by-step explanation.
Memory access takes 100 ns, a TLB lookup 10 ns, and the TLB hit ratio is 95%. What is the effective access time with single-level paging?
105 ns
210 ns
110 ns
115 ns
Sign up free to see the answer and a step-by-step explanation.
Memory access takes 100 ns, a TLB lookup 10 ns, and the TLB hit ratio is 95%. What is the effective access time with two-level paging?
115 ns
120 ns
310 ns
110 ns
Sign up free to see the answer and a step-by-step explanation.
What TLB hit ratio is needed for an effective access time of at most 125 ns, with a 20 ns TLB and 100 ns memory (single-level paging)?
At least 95%
At least 80%
At least 90%
At least 99%
Sign up free to see the answer and a step-by-step explanation.
Logical address 0x3A7F uses 4 KB pages. What are its page number and offset?
Page 0xA7F, offset 3
Page 3, offset 0xA7F
Page 14, offset 0x7F
Page 0x3A, offset 0x7F
Sign up free to see the answer and a step-by-step explanation.
In a system with 1 KB pages, page 5 is in frame 9. What is the physical address for logical address 5,300?
10,516
9,396
5,300
9,216
Sign up free to see the answer and a step-by-step explanation.
How many bits does a page-table entry's frame number need if physical memory is 4 GB with 4 KB frames?
22
12
32
20
Sign up free to see the answer and a step-by-step explanation.
Which page size trade-off is correct?
Larger pages mean smaller page tables but more internal fragmentation
Page size has no effect on fragmentation
Smaller pages always reduce TLB misses
Larger pages mean more page-table entries
Sign up free to see the answer and a step-by-step explanation.
A segment table has segment 2 with base 4300 and limit 400. What happens for logical address (2, 53)?
It maps to 453
It traps: offset beyond limit
It maps to 4700
It maps to 4353
Sign up free to see the answer and a step-by-step explanation.