Question

Consider a logical address space of 8 pages; each page is 2048 byte long, mapped onto a physical memory of 64 frames.

Consider a logical address space of 8 pages; each page is 2048 byte long, mapped onto a physical memory of 64 frames.


(i) How many bits are there in the logical address and how many bits are there in the physical address?

(ii) A 6284 bytes program is to be loaded in some of the available frames ={10,8,40,25,3, 15,56,18,12,35} . Show the contents of the program's page table.

(iii) What is the size of the internal fragmentation?

(iv) Convert the following logical addresses 2249 and 5245 to physical addresses.


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

Question gives, logical address space = 8 pages, each page size = 2048 bytes, physical memory = 64 frames. (i) Addressing with in a 2048-word page requires 11 bits (Since, 211 = 2048). Since, the logical address space consists of 8 pages, 23 = 8 pages. The logical address must be 11 + 3 = 14. Similarly, since there are 64 = 26 physical pages, physical address = 11 + 6 = 17. (ii) Given program(length) size = 6284 bytes. Given, available frames = {10, 8, 40, 25, 3, 15, 56, 18, 12, 35}. The given program can be divided into 6284/2048 = 4 pages.

Quotion gives Gnes Logical Address sPace pag ach Page size - 2oye byhes 64 frames sical mmody re) bits - 3046) Con sists singe the logical adnsfa conslsts of s y addseus 8 Pages The logta add Similarly, since here ae 64 PhysiaJ given ogram am (length) size628 bjtes The given progam onbe divde,mto 628%048 Page map Table:index 10 valid vaUd Valid vali d Tnvalid rr valid anvali d 40 5

Add a comment
Know the answer?
Add Answer to:
Consider a logical address space of 8 pages; each page is 2048 byte long, mapped onto a physical memory of 64 frames.
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