Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The following figure illustrates the division of the virtual and physical addres

ID: 3643252 • Letter: T

Question


The following figure illustrates the division of the virtual and physical addresses of a CPU as well as the memory layout.



1- Assuming that the main memory is addressable in bytes, compute:

- The size (in bits) of physical memory space? (2 pt)


- The size (in bits) of logical memory space? (2 pt)


- The size (in bits) of a frame? (2 pt)


2- Complete the division (replace the XX with the corresponding numbers) of the physical and virtual addresses on the figure (3 pt)


Consider the contents of the page table pointer and page table as shown on the following figure



3- Draw the architecture of the memory system, which includes the virtual and physical addresses, the page table, the page table register as well as the connectors (6 pt)


4- Consider the following logical addresses. For each, determine whether or not a page fault is generated. (3 pt)

? 2 | 105

? 5 | 640

? 8 | 320



Explanation / Answer

Size of physical memory space = 2^12 x 2^20 = 2^32 bits
Size of logical memory space = 2^23 bits
Size of frame = 2^12 bits

Physical Address -> left XX = 31, Right XX = 11
Logical Address -> 11

3rd part can be googled...typical book theory

All three will give page faults, as none of these are the frames are in the page table, initially
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote