Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please post the answer as soon as possible. Thanks in advance!! QUESTION 1/24 MARKS] A paging system with 25 pages of logical address space and

Please post the answer as soon as possible. Thanks in advance!!

image text in transcribed

image text in transcribed

image text in transcribed

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 Page number 0 Frame number 185 Physical memory 1 16 2 125 3 24 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 Size of physical memory = total frames (number of frames) * frame size (c) 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 ] = 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

5-43. This book was exciting, well written, and held my interest.

Answered: 1 week ago