Project - RATCH - The Ru bATCH job simulator

Assignment Help C/C++ Programming
Reference no: EM132268021

Operating Systems Project - RATCH - The Ru bATCH job simulator

Description - For this project, you will build upon your interactive shell from project 2. You will add the ability to start programs and simulate their execution similar to what has been done. The system will have a set amount of memory, a variable burst time, and uses a round robin queue for keeping track of running processes.

Commands the RUSH shell will implement for this project

start <program> - Add the program to the simulator

step <number> - Advance the system X units of time

setBurst <number> - Set the amount of time a process gets on the CPU before being moved to the back of the queue

setMemory <integer> - Set the amount of memory available for the system

getMemory - Print out the amount of memory for the system

run - Advance the simulator until no jobs are left to run

addProgram <name> <timeRequirement> <memoryRequirement> <pair>*

<pair> is

<timeTodoIO> <AmountOfIOTime> // Both are integers

This command adds a program to the filesystem in the current directory

Notes on simulation: When a job goes to run, the system must have memory to support it otherwise it will not run. When a job asks for IO, it must be removed from the queue until it finishes the I/O request. Once it is finished it will go to the back of the ready queue. Whenever the current job is finished or leaves the queue, an updated system state should be printed out.

Submission requirements: Include all of your files in a directory name project3 along with a Makefile that can build your program and produce the RATCH executable.

Note - The code need to be able to run on putty Linux my system doesn't support C++11. The code need to be run on any system.

Attachment:- Assignment File.rar

Reference no: EM132268021

Questions Cloud

Promote innovation among your team members : Leading a new team what processes or methods would you use to minimize the threats to creativity and promote innovation among your team members?
Write a paper on the brain with david eagleman : Episode 5 from the PBS video/film series, "The Brain with David Eagleman." The Episode is entitled "Why Do I Need You." You can find and view it easily from.
Provisions of human resource services : Give two examples of the different options for the provisions of human resource services.
Justify the reward and punishment for human actions : In this section you have studied several ethical arguments the purpose of which is to both say what is right or good and to justify the reward and punishment.
Project - RATCH - The Ru bATCH job simulator : Operating Systems Project - RATCH - The Ru bATCH job simulator. For this project, you will build upon your interactive shell from project
Describing the key events in the career of lance loeffler : Write a paragraph describing the key events in the career of Lance Loeffler, Halliburton's Executive Vice President and Chief Financial Officer.
How generations differ from each other on work ethics-values : Can you briefly explain what generation means and how generations differ from each other on Work Ethics and Values?
Evaluate article and critique statistical analysis employed : Evaluate the article and critique the statistical analysis employed in the study. Would you have included more and/or different variables? Explain your answer.
Coca cola case study : Coca Cola was first concocted by a druggist in 1885 and for over a hundred years maintained a commanding lead over its nearest rival, Pepsi Cola

Reviews

len2268021

3/27/2019 10:43:04 PM

The project will have all requirements fresh work plagiarism free and the code need to be able to run on putty Linux my system doesn’t support c++11. The code need to be run on any system. Note: your code must account for extraneous spaces or newlines. If it does not handle these input cases, a grade deduction will be made. Your program will be tested by inputting the commands listed earlier into a file, then redirected into your program via ./NAME < inputFile. If your program does not work in this manner, you will not receive a passing grade on the project.

len2268021

3/27/2019 10:42:59 PM

Submission requirements: Include all of your files in a directory name project3 along with a Makefile that can build your program and produce the RATCH executable. This directory into the file project. I expect one directory to be produced project3 that contains your source code and a Makefile that will build your program. I use auto-grading on these assignments.

len2268021

3/27/2019 10:42:52 PM

Rubric - Your program will be graded in the following areas. Your assignment is graded on capabilities. Adherence to submission requirements - Meets all requirements in the assignment. Functionality - Works on input not provided at time of assignment. Code quality - Good design and formatting. Comments - Well commented, good coverage, functions, classes, the program itself, readme files. This assignment is worth 100 points and are assigned as follows. A – Is rated as a 3 in all areas. B – Has a 3 in functionality and adherence to submission requirements and at most one two in the other areas. C - Has a 2 in functionality, a 3 in adherence to submission requirements, and twos in the other areas. D – Has a 2 in functionality. F – Does not meet the above requirements.

Write a Review

C/C++ Programming Questions & Answers

  Set of nested for loops

Use a set of nested for loops to display the letters "R" and "B" in patterns as they might appear on a checkerboard.

  Check the value of the variable temperature is greater

Write an if-else statement that outputs the word "Emergency" provided the value of the variable pressure is greater than 100 or the value of the variable.

  What system or application you wish to develop motivations

A project proposal (1-2 pages) outlines what system or application you wish to develop, the motivations or aims, user requirements or required functions, system structures and a rough plan. What you need to submit is a standalone Word or PDF file...

  Write a program that creates an array of 200 random numbers

Write a program that creates an array of 200 random real numbers between 0 and 200.  Using the statistics library, calculate and output the following: mean, median, variance, standard deviation, maximum value, and minimum value.

  Write c++ program that includes a suitable hashing function

Write a C++ program that includes a suitable hashing function and hash table to store this list of countries into your hash table

  Explain initialize variables counting the lines and letters

If the output file cannot open, exit the program. Initialize variables counting the lines and letters. Write a program that reads a given text file, outputs the text file as is, and also prints the number of lines and the number of times each lette..

  Create a sodoku validator

There is a problem in my operating systems class where my partner and I have to create a sodoku validator using C++. It must also be multithreaded.

  Create a website that would allow users to enter and submit

Create a Website that would allow users to enter and submit survey

  Find the factorial of a given integer

Write C programs that use both recursive and non-recursive functions. i) To find the factorial of a given integer.

  Inheritance and output formatting

Inheritance and Output Formatting, finish the implementation of class name and derived classes person and employee in the following code. Format the output neatly using setw() and or other setioflags features

  Write method called setgoal that increments the value by one

Write a class called NumberOfGoals that represents the total number of goals scored by a football team. The NumberOfGoals class should contain a single integer.

  Write program which inputs number of winning coupons

Write a program which inputs number of coupons you win and outputs how many candy bars and gumballs you can get if you spend all off your coupons on candy bars first and remaining coupons on gumballs in c++.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd