University : Others UniLearnO is not sponsored or endorsed by this college or university.
Subject Code : CSC3002F
Country : South Africa
Assignment Task

 

Problem Description & Task
This assignment is about OS virtual memory management. Although, typically, an OS can support more than one process, this assignment assumes there is only one process.
The assignment is to simulate memory management (specifically memory address mapping), where we assume a tiny computing system that supports up to 1KB physical
memory with 12-bit virtual addresses (4096 bytes). Suppose that the size of a virtual page and a physical frame is 128 bytes (i.e., with 7 address bits representing page offset).
Write a Java program called OS1Assignment.java. This program will take only one parameter − the input sequence filename, which contains a sequence of virtual
memory accesses − where each address is stored as 8 bytes (unsigned long type). Your program should read and analyse each virtual address (in binary format) and translate it into the corresponding physical address (in binary format).
Note: to simplify things, you can place the fixed page-to-frame mapping into an array, before performing any address translation.
To verify that you can read the correct sequence of memory accesses, you can test your program with the given simple test sequence file (OS1testsequence). For example:
• First address should be: 0x00000044, and the physical address (after translation) should be: 0x144.
• Second address should be: 0x00000224, and the physical address (after translation) should be: 0x01A4.

Submission Guidelines
Place, in a ZIP file named as your student number (e.g. PRTPIE003.ZIP), the following:
1. Your source code: OS1Assignment.java
2. Your output file: output-OS1
3. A README file that includes your name and student number and a one sentence description of the approach your algorithm uses for this memory address translation task.

 

This CSC3002F - IT Assignment has been solved by our IT experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : Brett
  • Posted on : June 09th, 2019

Whatsapp Tap to ChatGet instant assistance