Cosc 2425 computer organisation assignment- virtual memory-


COSC 2425 Computer Organisation Assignment: Virtual Memory- Dallas County Community College District

Create a Java program which translates a virtual address to a physical address for a hypothetical computer. The input is a text file with a list of 16-bit virtual addresses in Hexadecimal. The output is a text file with the corresponding physical addresses. Each page fault will also result in a message to the console. This computer is byte-addressable with 16-bit virtual addresses, 2KB of physical memory, and a 256 byte page size. It uses a FIFO page replacement policy.

Requirements

1. The program must be written in Java.

2. It reads Hexidecimal address from the virtual.txt file and writes physical addresses to the physical.txt file.

3. When a page is not in physical memory. A page fault occurs. The program must display a message to the console indicating which page (if any) was swapped out of physical memory and which physical memory frame the new page was loaded into.

4. To implement the FIFO page replacement policy a queue is required. You may implement the queue yourself or use the one provided by the Java API.

5. In addition to using the FIFO replacement policy, run the same data using an LRU policy. Calculate and display the hit ration for that.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Cosc 2425 computer organisation assignment- virtual memory-
Reference No:- TGS03024394

Now Priced at $45 (50% Discount)

Recommended (92%)

Rated (4.4/5)