Question

Suppose we have 212 bytes of virtual memory and 27 bytes of physical main memory. Suppose the pag...

Suppose we have 212 bytes of virtual memory and 27 bytes of physical main memory. Suppose the page size is 24 bytes.

a) How many pages are there in virtual memory?

b) How many page frames are there in main memory?

c) How many entries are in the page table for a process that uses all of virtual memory?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Virtual memory = 212 bytes

Physical memory = 27 bytes

Page size = 24 bytes

(a) No of pages in virtual memory = 212/24 = 8. I think virtual memory should be the exact multiple of page size.

(b) No of page frames = 27/24 = 1

(c) There is only one page frame in main memory. If a process uses all of the virtual memory, the process will be using 8 pages in virtual memory. So, there will be eight entries in its page table.

Add a comment
Know the answer?
Add Answer to:
Suppose we have 212 bytes of virtual memory and 27 bytes of physical main memory. Suppose the pag...
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