Practice mode Operating Systems

With a page size of 1024 bytes, logical address 3500 is in a page mapped to frame 7. What is the physical address?

Correct answer C. 7596

Explanation

The page number is 3500 div 1024 = 3 and the offset is 3500 mod 1024 = 428. The physical address is frame x page size + offset = 7 x 1024 + 428 = 7596. The value 7168 is only the frame's starting address without the offset. Paging keeps the offset unchanged and replaces only the page number with the frame number.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

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

Links and website addresses are not allowed in comments.