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

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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