...
GATE-2024-CS1(Forenoon)
December 10, 2024
GATE-2024-CS1(Forenoon)
December 10, 2024
GATE-2024-CS1(Forenoon)
December 10, 2024
GATE-2024-CS1(Forenoon)
December 10, 2024

GATE-2024-CS1(Forenoon)

Question 62
Consider a memory management system that uses a page size of 2 KB. Assume that both the physical and virtual addresses start from 0. Assume that the pages 0, 1, 2, and 3 are stored in the page frames 1, 3, 2, and 0, respectively. The physical address (in decimal format) corresponding to the virtual address 2500 (in decimal format) is _________
A
6596
B
C
D
E
Question 62 Explanation: 
Page number=Virtual address / Page size= 2500 / 2048 = 1
Offset=Virtual address mod Page size
Offset= 2500 mod  2048=452
Frame number for Page 1 is 3
Page size = 2048 bytes
Calculate the Physical Address:
Physical address = (Frame number × Page size) + Offset =(3*2048)+452=6596
Correct Answer: A
Question 62 Explanation: 
Page number=Virtual address / Page size= 2500 / 2048 = 1
Offset=Virtual address mod Page size
Offset= 2500 mod  2048=452
Frame number for Page 1 is 3
Page size = 2048 bytes
Calculate the Physical Address:
Physical address = (Frame number × Page size) + Offset =(3*2048)+452=6596

Leave a Reply

Your email address will not be published. Required fields are marked *