Question 41
MediumPhysical memory is 256 MB with 4 KB frames. How many frames are there?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
Physical memory is 256 MB with 4 KB frames. How many frames are there?
4,096
65,536
64
256
Sign up free to see the answer and a step-by-step explanation.
A process of 72,766 bytes uses 2,048-byte pages. How much internal fragmentation is there in its last page?
962 bytes
0 bytes
1,086 bytes
2,048 bytes
Sign up free to see the answer and a step-by-step explanation.
Segment 0 has base 1400 and limit 1000. What physical address does (segment 0, offset 430) map to?
1830
2400
Trap
1430
Sign up free to see the answer and a step-by-step explanation.
A segment table has: segment 0 (base 219, limit 600), segment 1 (base 2300, limit 14), segment 2 (base 90, limit 100). Which of these logical addresses is illegal?
(2, 99)
(0, 430)
(1, 10)
(1, 20)
Sign up free to see the answer and a step-by-step explanation.
A 32-bit address uses two-level paging with 4 KB pages and a 10-bit outer index. How many bits form the inner index?
20
12
22
10
Sign up free to see the answer and a step-by-step explanation.
Why is multi-level paging used?
To avoid internal fragmentation
To avoid keeping a huge, mostly empty single-level page table in memory
To remove the TLB
To make pages bigger
Sign up free to see the answer and a step-by-step explanation.
What does an inverted page table index on?
Disk blocks
Segments
Logical pages of each process
Physical frames, with one entry per frame
Sign up free to see the answer and a step-by-step explanation.
What is the main advantage of larger pages?
More pages per process
Smaller page tables and fewer TLB misses
Less internal fragmentation
No page faults
Sign up free to see the answer and a step-by-step explanation.
With 1 KB pages, how many bits of a logical address form the offset?
10
12
8
16
Sign up free to see the answer and a step-by-step explanation.
A system has 36-bit physical addresses and 4 KB frames. How many bits does a frame number need?
24
20
36
12
Sign up free to see the answer and a step-by-step explanation.