Question

Consider a computer system that uses a paging system. The memory contains 16 frames, each frame can accommodate 512 memory lo
0 0
Add a comment Improve this question Transcribed image text
Answer #1

frame size = 512
page size = 512
(1)2345
page number = 2345/512 = 4
page offset = 2345 mod 512 = 297
Page-4 maps to frame number 2
Physical address = frame number * page size + page offset
Physical address = 2 * 512 + 297 = 1321

(2)1024
page number = 1024/512 = 2
page offset = 1024 mod 512 = 0
Page-2 maps to frame number 10
Physical address = frame number * page size + page offset
Physical address = 10 * 512 + 0 = 5120

(3)6780
page number = 6780/512 = 13
page offset = 6780 mod 512 = 124
There is no mapping for page-13 in page table.
It is a page fault

Add a comment
Know the answer?
Add Answer to:
Consider a computer system that uses a paging system. The memory contains 16 frames, each frame...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT