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

  Draw flow chart to enter credit card balance

Draw a flow chart or write the pseudocode for an application that allows a user to enter a credit card balance. Interest rate is 1 percent per month.

  Credibility of a qualitative measurement

Why is it appropriate to use some surrogate measures as part of a Goal/Question/Metrics measurement program? Give and defend at least two reasons.

  Creating a program using the move instruction

Create a program using the move instruction to manufacture the following results. Move the contents of register AX to registers BX, SI, and DS.

  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.

  Qiestion about update statement

A table namedPoints varchar(81) has values stored in a column named Point. There are 2-columns in the Points table, X and Y.

  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?

  Deisgn risk assessment policy that identifies risks

Deisgn Risk Assessment Policy, that identifies risks associated with an organization's infrastructure. A risk assessment template may be downloaded from Sans: http://www.sans.org/resources/policies/#template

  Draw aoa network diagram representing project

Draw a AOA network diagram representing the project. Put the node numbers in circles and draw arrows from node to node, labeling each arrow with the activity letter.

  Concept of object orientation & universal modeling language

Describe the concept of object orientation and Universal Modeling Language as used in computer programming.

  Prepare a business case for project

Business Case - Using the information that you compiled in the project proposal, prepare a Business Case for this project.

  Relationship of application development methodologies-models

Explain the relationships between application development methodologies, models, and tools. Compare and contrast the various generations of programming languages.

  Draw entity relationship model for project management system

A consultant is not necessarily a project leader, but they can only be project leader for one project. Draw an entity relationship model for the project management System.

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