The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
We consider a program which has the two segments shown below consisting of in structions in segment 0, and read/write data in segment 1. Segment 0 has read/execute protection, and segment 1 has read/write protection. The memory system is a de mand-paged virtual memory system with virtual addresses that have a 4-bit page num ber, and an 10-bit offset. The page tables and protection are as follows (all numbers in the table are in decimal):

|
Segment o |
Segment 1 |
||
|
Read/Execute |
Read/Write |
||
|
Virtual Page # |
Page frame # |
Virtual Page # |
Page frame # |
|
 0 |
 2 |
 0 |
On Disk |
|
 1 |
On Disk |
 1 |
 14 |
|
 2 |
 11 |
 2 |
 9 |
|
 3 |
 5 |
 3 |
 6 |
|
 4 |
On Disk |
 4 |
On Disk |
|
 5 |
On Disk |
 5 |
 13 |
|
 6 |
 4 |
 6 |
 8 |
|
 7 |
 3 |
 7 |
 12 |
For each of the following cases, either give the real (actual) memory address which re sults from dynamic address translation or identify the type of fault which occurs (ei ther page or protection fault).
Fetch from segment 1, page 1, offset 3
Store into segment 0, page 0, offset 16
Fetch from segment 1, page 4, offset 28
Jump to location in segment l, page 3, offset 32
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------