Frame offset is reserved for number of bits
Read the following and answer the questions:
Consider a machine with 16 GB main memory and 32-bits virtual address space, with page size as 4KB. Frame size and page size is same for the given machine.
The number of bits reserved for the frame offset is __________?
Answer: Option I Solution: Given, Page size = 4KB = 212. Formula used, Page offset = ⌈log2(page size)⌉, Frame offset = Page offset. Calculation, Page offset = ⌈log2(212)⌉ = ⌈12*log22⌉ = ⌈12⌉ = 12 bits Note: log22 = 1 Frame offset = Page offset = 12 bits Therefore, 12 bits is reserved for the frame offset. So, Option(I)is correct.
Watch Video For Better Explanation
- Operating System
- Computer Network
- Data Structure
- Theory of Computation
- Digital Logic Design
- Computer System Architecture
- Discrete Math
- Computer Graphics
- Compiler Design
- Software Engineering
- Artificial Intelligence
- Database Management System
- Data mining
- Programming Languages
- Linear Programming Problems
|More related Questions on Memory Management|
|More related Questions on Operating System|
|More Questions on June 2021|