Write a program to simulate the scheduling of cpu

Assignment Help Software Engineering
Reference no: EM13311313

In this project, write a program to simulate the scheduling of CPU. The program will randomly generate process CPU burst based on user's setting. Performance is measured and analyzed in a report. No specific time unit is needed; we use integer number to represent time. You can select any programming language for the program. You need to implement the simulation environment to simulate time and events.

Input of the program:
How long is the simulation (integer)
Probability of one process's arrival in one time unit (float number between 0 and 1)
Minimum and maximum process burst time (integers)
Switching latency (non-negative integer)
Scheduling algorithm ( FCFS, preemptive SJF, non-preemptive SJF, Round Robin)
Time quantum (integer, for Round Robin algorithm only)

Measurement:
Average waiting time
Average turn around time
CPU utilization (1 - switching_latency/overall_time)

Report:
Compare the algorithms under different simulation settings (burst size, arrival frequency, quantum size, latency size). Organize the results in a report about 2-3 pages and try to give explanation about the results.


Submission:
Source code
Report
Readme file 

Reference no: EM13311313

Questions Cloud

What is the speed of the airplane : A pitot tube on the nose of an airplane measures a stagnation pressure of 2.5 atmospheres. what is the speed of the airplane
Compute delta h_combustion for ethanol : If 3.140g of ethanol is burned completely in a bomb calorimeter at 298.15 K, the heat produced is 92.82kJ. 1) Calculate delta H_combustion for ethanol at 298.15 K. 2) Calculate delta H_f for ethanol at 298.15 K.
What is emotional intelligence : What do the letters INTJ stand for in a Myers-Briggs personality profile? Working with People on Projects. Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
How far will the plane fly in given time : A plane flies at 234 mi/hr (air speed) in the direction northeast; there is a wind of 51 mi/hr (ground speed) in the direction southeast. How far will the plane fly in 94 minutes
Write a program to simulate the scheduling of cpu : In this project, write a program to simulate the scheduling of CPU. The program will randomly generate process CPU burst based on user's setting. Performance is measured and analyzed in a report.
Find the kenetic energy of proton at first point : a proton has a speed 4.5*10^5 m/s at a point where electrical potential is 900V. it moves through a point where the electric potential is 500V. find the kenetic energy of proton at first point
What is an example of a corporate value : Understanding & Meeting Client Expectation.  Client participation. Where would you place the threshold for involving a client in a decision? What criteria would you use and how would you involve the client with that process of establishing the thr..
What will be the length of the wire : Suppose that you wish to fabricate a uniform wire out of 1.00 g of copper. Assume the wire has a resistance R = 0.700 %u03A9, What will be the length of the wire
Find the drift speed of the electrons in the wire : An aluminum wire having a cross-sectional area equal to 5.10 10-6 m2 carries a current of 3.50 A. Find the drift speed of the electrons in the wire

Reviews

Write a Review

Software Engineering Questions & Answers

  Design program using four program development life cycle

Design a program using the four Program Development Life Cycle step (Analyze, Flowchart, Pseudocode, and Test).

  Importance of udp and the relationship to tcp

Discuss and explain what the UDP does and its relationship to TCP in what ways is it similar and different, and why would we use UDP, and why can not a user program access IP directly?

  Question about inheritance

In computer programming would you say that a function could also be called an inheritance item due to the reuse of it in the program?

  Produce e-r diagram which documents entities

Produce an E-R diagram, which documents the entities and relationships involved in the Retail outlet of a Stationary Shop which includes sales, purchases and inventory of various stationary items etc.

  Evaluate efficacy of systems and process integration

You have been hired by the senior management team of a publishing house to evaluate the efficacy of systems and process integration with the organization's book distributor.

  What might be your key decision rules

You are a manager in a company that has a lot of in-house IS expertise. What might be your key decision rules for when to purchase a system versus when to develop it in-house?

  Does programmer need to understand needs of user

Does the programmer need to understand the needs of the user? Does the programmer need to know the end results of the system?

  Design pseudocode and flowchart for swallowing a pill

Write a solution in pseudocode for swallowing a pill. Translate solution into flowchart. Write about which tool they like best and why? Which tool do they think would be easiest to learn?

  Pseudocode for a recursive function

Think about a language of words, where each word is a string of dots and dashes. The following grammar describes this language:

  Question about ranges and functions

Assume you have functions that you want to call for many individual year values, as well as ranges of years, and you are deciding on whether to use an if statement or a switch statement.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Design 10 test cases

Design ten test cases and describe the purpose of each of them. The cause is one to two sentences.

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