Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a 1 6 - bit memory addressing computer system where the memory page size is 2 KB ( 2 0 4 8 bytes )

Consider a 16-bit memory addressing computer system where the memory page size is 2 KB (2048 bytes), and
each process is allocated 4 frames the main memory, which are empty initially. Now consider a process, which
requires 8 pages of storage. At some point during its execution, a few pages have been referred with the
following sequence:
6,3,2, and 7
The page table is shown below:
Calculate the number of bit used to represent
i. Page size
ii. Page number
List the address ranges (logical address) for each page number of the process (in decimal).
List the address ranges (logical address) that will result in a page fault (in decimal).
Calculate the total number of frame in the main memory.
Given the following new ordered references to the virtual/logical addresses (in decimal)
4500,8000,3000,1100,
I. Identify the page number of the virtual/logical
address
II. Calculate the main memory physical addresses (in
decimal).
If there is a page fault, please use LRU based page replacement to replace the page. Show which page
will be affected and compute the physical addresses after the page fault. We assume the last four
references are as shown in the Table above before the new references.
image text in transcribed

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

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions