For this project, you will implement both the process synchronization and memory
management components that execute in a single CUP operating system. It is very
similar to the concept you have done on Project 4. But you have to integrate them
together. The input data is provided as attached (processes.txt). Each row
represents a user process that needs to be executed by the CPU. The format is as
follows:
P: 1, 5, 3, 5, 3, 2, 6, 1, 3, 1, 4, 4, 5, 2, 6, 3, 5, 2, 2, 5
Each user process has a sequence of pages to be executed as the numbers indicated
in the rows in the file. Though every process has their page IDs all between 1 to 6, they
have different contents for different processes. So it is better create a Process class to
load each process from the .txt file, such as:
all you need is in the files
plz see the upload files
you will need to return an .java files and a report for this question


0 comments