Frame offset is reserved for number of bits
| Comprehension: 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 __________? |
| i➥ 12 |
| ii➥ 24 |
| iii➥ 28 |
| iv➥ 34 |
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
Read More
- Operating System
- Computer Network
- Data Structure
- Theory of Computation
- Algorithms
- Digital Logic Design
- Computer System Architecture
- Discrete Math
- Computer Graphics
- Compiler Design
- Software Engineering
- Artificial Intelligence
- Database Management System
- Data mining
- Programming Languages
- Microprocessor
- Linear Programming Problems
| More related Questions on Memory Management |
Read more
| More related Questions on Operating System |
Read more
| More Questions on June 2021 |
