Devam Ediyor

Java Project

Design and implement a Demand Paging virtual memory simulator!

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

You can use the C/C++ or 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.

Deliverables:

1. The source code of the project

2. A report document ([url removed, login to view]…) 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 ([url removed, login to view] [url removed, login to view] …) 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.

4. A test document ([url removed, login to view] [url removed, login to view] …) containing screensots that show the execution of the 4 algorithms using the following inputs: N=5, ref. string is:

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

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.

Beceriler: Java

Daha fazlasını görün: use algorithms programming, total virtual memory, text algorithms, ten key test, string source code java, string algorithms, reference computer programming, programming simulator online, programming java pdf, programming algorithms examples, program java programming, or java, opt programming, online programming simulator, online programming java, module computer programming, line algorithms, java programming test, java programming program, java programming pdf, java programming online test, java programming language pdf, java programming beginning, java programming examples, java online test programming

İşveren Hakkında:
( 21 değerlendirme ) Seoul, Korea, Republic of

Proje NO: #6546458

Seçilen:

usmanahmad958

I have good programming skills especially in Java and c++ and also the good knowledge of operating systems. So these school assignments are not a problem for me.I will implement this in Java or C++ any language you wan Daha fazlası

3 gün içinde 99$ USD
(4 Değerlendirme)
2.4

18 freelancer bu iş için ortalamada 170$ teklif veriyor

dobreiiita

Hello I am Java expert and interested in this project. I have reviewed your requirements and understood it. I will provide completed code, report document and test document in 3 days. Please communicate to discuss Daha fazlası

in 3 gün içinde252$ USD
(267 Değerlendirme)
7.0
Ajz

Hi there, I had been helping students recently and providing quality documented code, with documentation. They had been impressed and I am sure it is helping them get good marks too. Ajz

in 3 gün içinde200$ USD
(22 Değerlendirme)
5.3
jasqwerty

Fairly in-depth project, so it'll take a day or two to get done, and I would need some input from you as well, such as what your HW6 test strings are. Other than that, should be fairly straightforward getting this done Daha fazlası

in 3 gün içinde177$ USD
(34 Değerlendirme)
5.2
szymszteinsl

Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality,. Best Regards, Szymszteinsl

in 2 gün içinde100$ USD
(21 Değerlendirme)
5.0
mingzixian523

Hello, sir. I have enough experience in Java programming. I have read your attachment. I can do your project. Thanks. Regards.

in 3 gün içinde210$ USD
(8 Değerlendirme)
4.5
Ravi1G

Hi Brother/Sister I am expert In Java and Algorithm I can do your task Please check my past projects and reviews , you will get idea that I am best freelancer for this project Thank You :)

in 5 gün içinde144$ USD
(15 Değerlendirme)
4.3
ciphe

I have MS in Information Security with research interest of Cryptography. I have implemented Cryptography algorithms in Java and C, written security solutions in J2EE and Java, have implemented datastructures in Ja Daha fazlası

in 20 gün içinde631$ USD
(5 Değerlendirme)
3.7
gojkid

Read your project description very carefully. I can create a demand paging virtual memory simulator. I saw that you asked to implement LRU,LFU,OPT, & FIFO. Yhse algorithms are easy to implenent.

1 gün içinde 55$ USD
(10 Değerlendirme)
3.5
topcoder9793

Dear christineheartz, If you remember we have worked before in Freelancer on a Java project for calculating performance time of several data structures. With overwhelming experience to work with you in the past, I w Daha fazlası

in 3 gün içinde120$ USD
(6 Değerlendirme)
3.3
vita1ity

Hello. I am interested in your project. I have required skills and experience in Java development. I have completed several projects on this freelancer site and on others resources. All of them were successful. I am ab Daha fazlası

in 3 gün içinde133$ USD
(5 Değerlendirme)
3.3
Yknox

Hello I'm interesting your project very well I'm a Good C/C++, Java expert. I understand your req exactly. I m quite well experienced in these jobs. Let's go ahead with me I can speak in korean. I want to Daha fazlası

in 3 gün içinde100$ USD
(1 Değerlendirme)
2.0
dutsoftware

Hello, I am a software engineer. I can help you accomplish this task. Hope we can cooperate. P/S: I'm new to [url removed, login to view], please give me a chance and I won't let you down.

in 7 gün içinde180$ USD
(0 Değerlendirme)
0.0
vapashos

hi i'm a computer engineer with experience in JAva and c++ this is a classical operating system problem for simulating,i think i can give it to you on 5 days from now.

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
RazzakFaisal

Hi, I am 8+ years of experience in software design and development. I daily deal with different data structures and their performance improvement. I'll be happy to work with you on this project. Will give you compl Daha fazlası

in 5 gün içinde222$ USD
(0 Değerlendirme)
0.0
umadevisathesh

Hi, I am Umadevi, having 6+ years of experience in HTML,JavaScript,JQuery,Java,J2EE working in MNC, for developing web based product. I will do this job. Please contact me with the details

in 10 gün içinde155$ USD
(1 Değerlendirme)
0.0
stoundm1

The algorithms are classical in a typical OS course and no GUI is required, so it'll be not hard to finish.

in 3 gün içinde111$ USD
(0 Değerlendirme)
0.0
souravmaitra

Please contact with me in Skype [url removed, login to view], I will give all details how should we design whole algorithm for this project.

in 7 gün içinde155$ USD
(0 Değerlendirme)
0.0
vivekiris

Hi, This is Vivek Mishra, I have done Master’s in Computer Science and MS in consultancy Management. I have 10+ years of development experience using Java technologies like, Struts1.3, Servlet, JSP, SpringMVC, Hibernat Daha fazlası

in 30 gün içinde35$ USD
(0 Değerlendirme)
0.0