CSE 116 Lecture Notes - Lecture 7: Virtual Memory, Paging, Directaccess
Document Summary
Cse 116 intro to computer science ii. This exercise will require you to create a java program that mimics the. Problem description: operation of an operating system virtual memory capability. Virtual memory is still used because although the complement of ram in a modern pc is huge and growing, the size and number of programs that need to be executing simultaneously is growing even faster. Your program will not attempt to emulate a complete virtual memory capability but rather will demonstrate a two-level memory. The two levels will be implemented as a file on disk and a java array in memory. In real life the virtual memory capability depends on the ability of the operating system to detect the situation when a program tries to execute an instruction outside its protected area of memory. We will not be executing any code in our virtual memory but will restrict ourselves to data storage.