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

  Termination time of the project

Throughout the implementation phase of a project, as a project manager you are facing many team issues and these issues are creating risks that you did not anticipate during design phase.

  Data type identification

Assume you wish to produce a report of your movie collection. Determine which fields would you use, and which would be the data types of each of those fields?

  Creating a flowchart and pseudocode

You have a document with the grades of students from Starting Programming, along with the students data. Your part of the program has to loop through records,

  Create an eer mode using traditional eer notation

Create an EER model for the following situation using traditional EER notation, the Visio notation or the supertypes notation. An international school of technology has hired you to create a database management system

  Consider the following program segment

Consider test cases  t 1 = ( n  = 3) and  t 2 = ( n  = 5). Although these tour the same prime paths in  printPrimes() , they do not necessarily find the same faults. Design a simple fault that  t 2 would be more likely to discover than  ..

  Draw er diagram that models information of company

Draw an ER diagram that models the information in the following scenario: A manufacturing company has several assembly plants in different cities.

  Design a wireframe prototype

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

  Methodologies for software development

ITECH6501 PRINCIPLES OF SOFTWARE ENGINEERING - methodologies for software development in terms of time, cost and resources

  Finding cause of the bug

The following LMC program is supposed to input two numbers, compare them, and output the higher of the two numbers.

  For the prototype user interface

For the prototype user interface, design a switchboard that leads from main sections to sub-sections of related system tasks. The main sections may include member information, registration, payments

  Explain how firm testing for each development method

Research, write, and provide a 4-6 page proposal of the alternative methods the firm might consider for completing the Frequent Shopper Program. Explain how the firm would conduct testing for each development method.

  What information-gathering methods are most appropriate

what information-gathering methods are most appropriate to learn about requirements from reliable's own management staff and other employees? from client health-care organizations? from suppliers?

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