Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose that we have the following page table for a process currently running and assume that the page size is 1024 bytes. Everything is
Suppose that we have the following page table for a process currently running and assume that the page size is 1024 bytes. Everything is numbered starting from zero and all addresses are memory byte addresses. The system uses 24 bits for addressing. The Main Memory has 1Mb of RAM. Page number Valid? 0 1 MU1 1 2 0 3 4 WWWL 5 FEET 1 0 1 Modified? 0 1 0 0 1 1 Frame number 13 7 -> 2 0 a. [3 marks] How many frames of Main Memory can be assigned to a program (maximum)? How many logical pages can a program have in total (maximum)? How many bits are used to address the offsets within a page? Show your work. b. [1 mark] Considering the number of bits used to address a process: what is the maximum size of the Virtual Memory disk allowed (i.e., the file in the hard drive where all the processes are allocated)? c. [6 marks] What physical address would each of the following virtual addresses correspond to? (Including explaining what happens if a page faults, and all the remaining frames are free) (1) [2 marks] 0x000200 (ii) [4 marks] 0x00104C
Step by Step Solution
★★★★★
3.40 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
Answer A The maximum number of frames that can be assigned to a program is 1MB of Main Memory 1024 b...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