Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A system has a main memory of 6 4 bytes, and its contents are described in the table below. Note that a value at column

A system has a main memory of 64 bytes, and its contents are described in the table below. Note that a value at column named by addr is an index, and a value at column named by val is memory content.
Assume the following:
- This system uses a paging system with a single-level page table.
- The page size is 8 bytes, and so is the frame size.
- A virtual address is 6 bits. The high 3 bits is the page number, and the low 3 bits is the offset.
- The page table fits in a single frame, and it is located at the first frame of the main memory.
- An index of the page table indicates the page number. For example, the first entry of the page table is the entry for page number 0.
- Each page table entry is 1 byte. In each entry the 3 lowest order bits indicate the frame number. The next higher bit is set to 0 if the page is currently in the memory, and is 1 if the page is not in the memory.
- The page number and frame number start from 0.
Suppose the user accesses virtual memory addresses 0x0D,0x18,0x32,0x3C,0x27. Write the value stored in the physical memory address if the frame is in memory, or write page fault if the frame is not in memory.

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_2

Step: 3

blur-text-image_3

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

Big Data With Hadoop MapReduce A Classroom Approach

Authors: Rathinaraja Jeyaraj ,Ganeshkumar Pugalendhi ,Anand Paul

1st Edition

1774634848, 978-1774634844

More Books

Students also viewed these Databases questions