Question: 3 Solve each of the followingquestion: a) If the total number of frame
ID: 3612113 • Letter: Q
Question
Question: 3 Solve each of the followingquestion: a) If the total number of framesin the main memory are 64 and the size of each frame is 64 bitsthen what will be the size of main memory in bytes?b) Calculate the size of the pagetable (in bytes) if there are 8 pages and there are 256 frames inthe main memory? (assuming that page table just contain theinformation of |f|+|d|) c) If 8 bits are used torepresent the page number, what will be number of pages in thelogical address space of a process? Question: 3 Solve each of the followingquestion: a) If the total number of framesin the main memory are 64 and the size of each frame is 64 bitsthen what will be the size of main memory in bytes?
b) Calculate the size of the pagetable (in bytes) if there are 8 pages and there are 256 frames inthe main memory? (assuming that page table just contain theinformation of |f|+|d|) c) If 8 bits are used torepresent the page number, what will be number of pages in thelogical address space of a process?
Explanation / Answer
Dear,
a) If the total number of frames in the main memory are 64and the size of each frame is 64 bits then what will be the size ofmain memory in bytes?
Number of frames in main memory = 64
size of each frame =64bits
Size of main memory(in bytes) =number of frames * size of each frame
= 64* 8 = 512 bytes
b) Calculate the size of the page table (in bytes) if there are8 pages and there are 256 frames in the main memory? (assuming thatpage table just contain the information of |f|+|d|)
Sizeof page table = ?
# of pages = 8 = 23
pagetable entry size is 3 bytes
# of frames = 256
page table size = # of frames * PTE = 256 * 3 =768bytes
c) If 8 bits are used to representthe page number, what will be number of pages in the logicaladdress space of a process?
page number requires to represent = 2^3 = 8 bits
numberof pages requires to represent = 2^3 * 2^10 = 2^13 =13 bytes.
I hope this will helps you!!!!!!!!!!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.