Question

A given memory system has a page size of 1 KB. If a process references memory location 9210, calculate the page number and the offset within the page. (Show all work)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Each page is of size 1KB = 1024 bytes/locations .

Given the address /location = 9210

Divide the address by 1024 to get the no of pages/page number = 9210/1024 = 8.994140625 = here integer part is page number and decimal part is the offset in that page itself

So page number = 8

Offset = multiply by 1024 the decimal part = 1024×0.994140625= 1018 = offset in page 8

We can verify using formula :

Address location = page number*1024 +(offset)

= 1024×8 + 1018 = 8092 + 1018

= 9210 = hence proved

Add a comment
Know the answer?
Add Answer to:
A given memory system has a page size of 1 KB. If a process references memory...
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