Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 1(24 MARKS] A paging system with 25 pages of logical address space and a page size of 256 bytes need to be mapped in
QUESTION 1(24 MARKS] A paging system with 25 pages of logical address space and a page size of 256 bytes need to be mapped in a physical memory of 128 frames. The page table is given in Figure 1. Logical memory Physical memory Page number 0 1 2 Frame number 185 16 125 24 3 Figure 1 (a) Calculate the frame size of the physical memory in bytes. (b) Calculate the size of logical memory and physical memory (convert the answer to in 2" bytes OR (pow (2,n)). Size of logical memory = total pages (number of pages) * page size = Calculate the frame size of the physical memory in bytes. (b) Calculate the size of logical memory and physical memory (convert the answer to in 2" bytes OR (pow (2.n)). Size of logical memory = total pages (number of pages) * page size Size of physical memory = total frames (number of frames) * frame size () Calculate the number of entry in the page table, (2m/2"). (d) Calculate the number of bits that will be used for the page number and frame number in logical memory address and physical memory address, respectively? (Answer based in question (b)) Logical memory, page number = and offset = Physical memory, frame number = and offset = (e) Given the page number and the offset as 1:26 for logical address, calculate the physical address. Page number 1 = frame number Physical address = (frame number * frame size) + offset (f) Calculate the logical address (decimal) given a physical address as 001 1000 1000 10102. Frame number 24 = page number Logical address = (page number * page Size) + offset =(
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started