Question: Consider a system that uses single-level paging for virtual memory with 32 bit physicaland virtual addresses. Suppose page size 16KB (2^14 bytes). a. How many

Consider a system that uses single-level paging for virtual memory with 32 bit physicaland virtual addresses. Suppose page size 16KB (2^14 bytes).

a. How many pages of virtual memory are there? Explain.

b. How many frames of physical memory are there? Explain.

c. How many bits are needed for the page offset? Explain.

d. How many bits are needed for the page number? Explain.

e. A process uses a contiguous 2^20 bytes of memory for its address space.

How many valid entries will the page table have? Explain.

f. What is the page number for each of the following virtual addresses? If the process described in(e) uses virtual addresses 0 -> 2^20, which of these addresses will be valid (Show your work!)?

1. 0x5555 5555

2. 0xEA5E 0ACE

3. 0x0000 1000

4. 0x0000 ABCD

5. 0x0005 EEEE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!