Compare the average completion times of all jobs

Assignment Help JAVA Programming
Reference no: EM13167685

The purpose of this project is to write a program
 (use any programming language) that simulates an operating system. The program implements the following CPU scheduling algorithms. 1. First-Come-First-Serve (FCFS) 2. Shortest-Job-First (SJF) 3. Round-Robin with time slice = 3 (RR-3) 4. Round-Robin with time slice = 5 (RR-5) The program will read process burst times from a file (job.txt) -
 this file will be provided by the instructor. A sample input file of four jobs is given as follows (burst time in ms).: [Begin of job.txt] Job1 6 Job2 4 Job3 10 Job4 7 [End of job.txt] Note: You can assume that (1) there are no more than 30 jobs in the input file (job.txt). (2) processes arrive in the order they are read from the
file for FCFS, RR-3 and RR-5. (3) all jobs arrive at time 0 for SJF. Compare the average completion times of all jobs for each
scheduling algorithm. Output the details of each algorithm's execution. You need
to show which jobs are selected at what times as well as their starting and stopping burst values.
You can choose your display format, but it is recommended that you display the results in
terms of a Gantt chart.

Reference no: EM13167685

Write a java script code for a function called areabox

Write a Html/Java Script code that does the following 1) A Function called AreaBox that takes two parameters,length & width of the rectangle and returns the Area of the Rect

Create a gui with 3 jtextfield,one jtextarea and display it

The user should be able to input in the text fields the loan amount, interest rate, and term, or input the loan amount in a text field and then select from the combo box the

A program that reads in two integers typed on the keyboard

Write a program that reads in two integers typed on the keyboard and outputs their sum, difference, and product. Must compile correctly in Eclipse. Here is what I have done, b

Java program- displays all the details of stations

Write a Java program called codes. java that, firstly, prompts (asks) the user to enter an input file name. This is the name of a text file that can contain any number of re

Create a class named movie that can be used with a video

extend above with a Rental class. This class should store a Movie that is rented, an integer representing the ID of the customer who rented the movie, and an integer indicat

Questions of java programming

Write a program that opens a .txt, reads the contents of the file line by line, and prints the content of each line. To do this, you should use look up how to use the Buffer

Add a button that will read the text fields

Create a GUI with two text fields for inputting the dimensions of a rectangle. Identify these two text fields as Length and Width with labels. Add a button that will read th

Describe the method overriding and overloading you would use

Discussion Question: Discuss an example of an inheritance hierarchy of Java superclasses and subclasses, and describe the method overriding and overloading you would use to


Write a Review

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