00 E8 CD 01
00 E8 CD 01
00 E8 CD 01
(c) Why is it that, on a system with paging, a process cannot access memory it does not
own? How could the operating system allow access to other memory? Why should it or
should it not?
(d) List cases where entire program need not be in memory, traditionally.
What are the physical addresses for the following logical addresses?
(a) 0,430
(b) 1,10
(c) 2,500
(d) 3,400
(e) 4,112
1
Exercise 3: Virtual Address
A certain computer provides its users with a virtual-memory space of 232 bytes. The computer
has 218 bytes of physical memory. The virtual memory is implemented by paging, and the
page size is 4096 bytes. A user process generates the virtual address 11123456. Explain how
the system establishes the corresponding physical location. Distinguish between software and
hardware operations.
• LRU replacement
• FIFO replacement
• Optimal replacement