Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Objectives: CPU Scheduler Simulator ( 2 0 2 1 1 2 0 8 ) Your project is to write a program that simulates the service

Objectives:
CPU Scheduler Simulator (20211208)
Your project is to write a program that simulates the service of jobs (process) by the
CPU of a multi-user computer.
Inputs should be taken from text file with command arguments. And results also
should be written to output file and screen.
Recommendations & Rules:
The application must be written in CC++ programming language and must
be compiled on GNU/Linux Operating Systems.
Don't use any special library for protocols when coding. Write your own
functions if it's necessary. Only exemption is data structure functions that
given in Data structures lecture.
You should commit changes on github system. Usually at least one time a day
you should commit your code on github.
Unless otherwise explicitly specified, all written assignments or code that is
submitted is to be entirely the student's own work. Using any code or copying
any assignment from others is strictly prohibited without advance prior
permission from the instructor.
All students' work is their own. Students who do share their work with others
are as responsible for academic dishonesty as the student receiving the
material.
Students who encourage others to cheat or plagiarize, or students who are
aware of plagiarism or cheating and do not report it are also participating in
academically dishonest behavior.
In this case (academically dishonest behavior), students to be punished with no
grade.
Project Details:
Program should have command argument options to get input data from a text
file and command argument option for write output data. "-f" must be used
for command argument and following text indicate input file name and "-o"
for output file name.
student@db: $ ./cpe351-f input.txt -o output.txt
This file should have three columns and unlimited rows. It must be text and
fields should delimit by ":" character. Below table represent structure of this
file.
Some data fields may not use at decision process so you can omits the values. But
every process should have three of these values. At the Appendix section input.txt
file given as example.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions