Q8.Marks: +2.0UGC NET Paper 2: Computer Science 26th Nov 2021
📄 Passage
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.
What is the minimum number of bits needed for the physical address?
1.28
2.34✓ Correct
3.24
4.12
Solution
The correct answer is 34.
Key Points
According to the question, the total size of the main memory is 16 GB. The size of the virtual address space is 32 bits. The page size is 4KB. It is also given that the frame size and page size are the same for the given machine.
Converting all the units into Bytes. So, the main memory size is = (24 x 210 x 210 x 210 )Bytes = 234 Bytes.
Thus the correct answer is 34.
Additional Information
The page is referred to as a continuous memory block with a fixed memory size in an operating system. But it is virtual memory. The page is the smallest data set unit in the virtual memory.
The frame in the operating system is referred to as a fixed length of the physical block. The frame is often found on the RAM block.