Closed

Java Project

Design and implement a Demand Paging virtual memory simulator!

It must be a text based application (NOT a GUI based one).

Please use Java programming language.

The following algorithms must be implemented: FIFO, OPT, LRU and LFU.

The application must simulate the execution of each of these algorithms on a hypothetical

computer having only N physical frames (numbered from 0 to N-1, N<8), assuming that

the single process that is running has a virtual memory of ten frames (numbered from 0 to

9). The number N should be a number provided in the command line as an argument.

The algorithms will be simulated based on a reference string (a sequence of pages that are

to be accessed) that will be either read from the keyboard or randomly generated.

THE SIMULATION MUST FOLLOW THE ANIMATED EXAMPLES FROM THE

ONLINE MODULE 3 AS CLOSE AS POSSIBLE IN ALL ASPECTS !!!

The program should be menu-based and the menu will keep the user in a loop containing

the following options:

0 – Exit

Will exit the program

1 – Read reference string

A reference string will be read from the keyboard and stored in a buffer. Each value of the

reference string will be verified and validated (or rejected).

Using option 1 again will result in overwriting the old reference string.

2 – Generate reference string

A reference string will be randomly generated; the length of the reference string will be

given by the user interactively. The string will be stored in a buffer.

Using option 2 more than once will result in overwriting the old reference string.

3 – Display current reference string

Will display the stored reference string; if there is no reference string stored yet, an error

message will be displayed.

4 – Simulate FIFO

Will simulate the step by step execution of the FIFO algorithm using the stored reference

string; if there is no reference string stored yet, an error message must be displayed.

The user will press a key after each step of the simulation to continue the simulation.

The total number of faults will be displayed at the end of the simulation.

5 – Simulate OPT

Will simulate the step by step execution of the OPT algorithm using the stored reference

string; if there is no reference string stored yet, an error message must be displayed.

The user will press a key after each step of the simulation to continue the simulation.

The total number of faults will be displayed at the end of the simulation.

6 – Simulate LRU

Will simulate the step by step execution of the LRU algorithm using the stored reference

string; if there is no reference string stored yet, an error message must be displayed.

The user will press a key after each step of the simulation to continue the simulation.

The total number of faults will be displayed at the end of the simulation.

7 – Simulate LFU

Will simulate the step by step execution of the LFU algorithm using the stored reference

string; if there is no reference string stored yet, an error message must be displayed.

The user will press a key after each step of the simulation to continue the simulation.

The total number of faults will be displayed at the end of the simulation.

Selecting a different option will result in an error message but the user will NOT exit the

loop!

Deliverables:

1. The source code of the project

2. A report document ([login to view URL]…) containing an introduction and an

overview of the project, then a comprehensive description of the design and the

implementation of your project.

3. A test document ([login to view URL] [login to view URL] …) containing screensots that show the

execution of the 4 algorithms using the inputs from HW6. Three screenshots are

required for each algorithm: one that shows the beginning of the simulation, one in

the middle of the simulation and one showing the end of the simulation.

A test document ([login to view URL] [login to view URL] …) containing screensots that show the

execution of the 4 algorithms using the following inputs: N=5, ref. string is:

0 1 2 3 4 5 6 7 8 9 0 9 1 8 2 7 3 6 4 5

Three screenshots are requi

Skills: Java, Software Architecture

See more: core java projects, java projects for engineering students, free download java projects with source code and description, java mini projects with source code and output, java projects with source code in netbeans, java projects for beginners, java projects for students, java project ideas with source code, kart project design, implement project design website, client server java project, java project library management system design documentation description, java project uml design, authentication web design java project, design java project, detailed design document download java project, java project design online shopping, project design examples java, write design document flex java project, hospital management project design java

About the Employer:
( 4 reviews ) Bowie, United States

Project ID: #20318942

40 freelancers are bidding on average $131 for this job

suju8811

Dear,Client. I am checking your requirements carefully now. But while checking at the first part, I noticed that this job is so suitable for me. Because I have an excellent skills in algorithm and Java. FIFO, OPT, LRU More

$250 USD in 7 days
(70 Reviews)
7.5
liveexperts123

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the More

$300 USD in 2 days
(52 Reviews)
7.0
utkarshkatiyar19

Hi, I'm an expert in java programming and demand paging/virtual memory concept in operating systems. I'm sure that I can easily do this project for you. We can have a chat. Thanks.

$200 USD in 5 days
(320 Reviews)
7.2
huangxiangyan

Hi ! How are you ? I have a detail look to your project, and I'm sure I can complete your project. I have 6 years software and mobile developement experiences. Please let's discuss deta More

$155 USD in 3 days
(92 Reviews)
6.7
vladang

Hello sir/madam... I can make your Java application for FIFO, OPT, LRU and LFU. I already did something similar earlier... Please, contact me to make deal.... Regards

$50 USD in 3 days
(154 Reviews)
6.4
kipdev13

Hello,how are you? Nice to meet you. very interested in your work.I have experiences for many years about Java coding.i have ever done with pagination virtual memory. I have read your proposal quickly and then am sure More

$50 USD in 2 days
(86 Reviews)
6.1
umg536

Hi there, please leave a message on my chat so we can discuss the budget and deadline of the project. I have read your project description and i'm confident i can do this project for you perfectly. Thanks

$140 USD in 7 days
(16 Reviews)
6.0
koustav2006

HI..I am proficient in core Java programming with comp sc background and very familiar with page replacement algorithms like FIFO, LRU, OPT and LFU and can help you write the console based page access simulation progra More

$100 USD in 2 days
(174 Reviews)
6.3
valor312

VERY EASY FOR ME As you can see in my review, I've done similar with yours I can do it within 1 day Please see https://www.freelancer.com/u/valor312?w=f Hello. I have read your description and I am so interested More

$100 USD in 1 day
(93 Reviews)
6.2
dungforever

Hi. ⭐⭐⭐ I can complete your project in 2 days ⭐⭐⭐ I've read your requirements carefully. I understood your requirement and I have full experience in Java programming. I am a certified freelancer with great ideas & meth More

$90 USD in 3 days
(56 Reviews)
5.5
fastestJohn

Hello. I have just read your proposal in detail. I am very interested in your project. I am a Java and C++ ✮✮✮expert✮✮✮ as you can see through my reviews. https://www.freelancer.com/u/fastestJohn I have rich experien More

$100 USD in 3 days
(35 Reviews)
5.4
jk901

Dear As I am a senior software developer, have rich experience with various web and application development using C#, VC, VB.Net, NodeJS, ReactJS, Angular Js, Vue js, Php, Matlab, java, and python If you are interes More

$150 USD in 3 days
(15 Reviews)
5.0
Victorier006

hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. java/javafx is my top skill and passision. i can provide most quality and high speed. if you want to success, More

$140 USD in 7 days
(11 Reviews)
5.1
phantom1222

Hi, I have read all your requirement and I wish to work for your project. I have rich experience with java development and I can help you perfectly. I'm very interested in your job post.I believe my skills would be i More

$100 USD in 7 days
(12 Reviews)
4.6
namitkhandelwal

Hello, warm greetings! I am a Java developer working on Java technology since 7+ years having hands on windows and web development experience. I would like to help in your application development. It would be better More

$240 USD in 7 days
(28 Reviews)
4.3
iMonte555

Hello there. I have read your description. I am a java expert. I want to discuss about your project detail with you by chatting. Hope your response. Thanks.

$100 USD in 5 days
(14 Reviews)
4.4
mihalceageorgica

I have 5 years of experience with java. I worked on different enterprise projects. I also have full time job as java programmer.

$140 USD in 7 days
(11 Reviews)
3.8
xiaolong1112

How are you?. I'm a java expert having long and full experiences in 7 years and you can check my skill via reviews. Speaking of my Java skill, I can build the various kind of projects using Java such as JavaGUI Desktop More

$150 USD in 3 days
(6 Reviews)
3.8
ixorawebmob

Dear Hiring Manager, I have carefully gone through your requirements for website. I am a Certified expert Php developer and a website Designer and with great experience in the field you mentioned. I have developed ma More

$50 USD in 7 days
(6 Reviews)
3.5
ExpertSoul

Hello, I'm an expert Java developer with experience in object-oriented, data structure, swing, JavaFX and more advanced. I can help you to finish this project with great quality. Regards Relevant Skills and Experience More

$102 USD in 1 day
(9 Reviews)
3.6