Question 31
MediumWith a page size of 1024 bytes, what are the page number and offset of logical address 2050?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
With a page size of 1024 bytes, what are the page number and offset of logical address 2050?
Page 20, offset 50
Page 2, offset 2
Page 1, offset 1026
Page 2, offset 50
Sign up free to see the answer and a step-by-step explanation.
Segment 2 has base 4300 and limit 400. Which physical address does logical address (segment 2, offset 53) map to?
4353
4700
453
4300
Sign up free to see the answer and a step-by-step explanation.
Segment 1 has base 2400 and limit 400. What happens on an access to (segment 1, offset 500)?
Physical address 2500
Physical address 500
Physical address 2900
A trap, because the offset exceeds the segment limit
Sign up free to see the answer and a step-by-step explanation.
What is the main drawback of making pages larger?
More internal fragmentation in the last page of each process
Larger page tables
More TLB entries needed
More external fragmentation
Sign up free to see the answer and a step-by-step explanation.
What phenomenon occurs when increasing the number of page frames results in an increase in the number of page faults under FIFO page replacement?
Thrashing
Bélády's Anomaly
Cache Invalidation
Segmentation Fault
Sign up free to see the answer and a step-by-step explanation.
A system uses 16-bit logical addresses and 1 KB pages. How many entries does a single-level page table have?
65536
16
64
1024
Sign up free to see the answer and a step-by-step explanation.
With 4 KB pages, what are the page number and offset of logical address 9000?
Page 9, offset 0
Page 2, offset 808
Page 2, offset 900
Page 1, offset 4904
Sign up free to see the answer and a step-by-step explanation.
Page 3 of a process is in frame 7, and pages are 1 KB. What physical address does logical address 3200 map to?
7168
10368
7296
3200
Sign up free to see the answer and a step-by-step explanation.
A 32-bit system uses 8 KB pages and 4-byte page-table entries. How large is a process's single-level page table?
1 MB
2 MB
4 MB
8 KB
Sign up free to see the answer and a step-by-step explanation.
Memory access takes 80 ns and a TLB lookup 10 ns, with a 90% TLB hit ratio. What is the effective memory-access time (TLB checked first)?
106 ns
170 ns
98 ns
90 ns
Sign up free to see the answer and a step-by-step explanation.