Determine mean process turnaround time

Assignment Help Data Structure & Algorithms
Reference no: EM1363606

Five batch jobs, A through E arrive at the scheduler at approximately the same time. They have estimated running times of 40ms, 50ms, 90ms, 30ms and 80ms respectively. Their priorities are 2, 3, 1, 5 and 4, respectively, with 1 being the highest priority. Specify the order in which processes execute and determine the mean process turnaround time for each of the following scheduling algorithms:

a) Round robin (assume the jobs are preemptable)

b) Priority scheduling

c) First come, first serve (assume order A, B, C, D, E)

d) Shortest job first

For (a), assume each process gets a fair share of time on the CPU. For (b) through (d), assume that only one job runs at a time until finished. Ignore process switching overhead (assume it takes 0 time).

Reference no: EM1363606

Questions Cloud

Write program to allow two users to play tic-tac-toe : Write a program that will allow two users to play tic-tac-toe. The program should ask for moves alternately from player X and player O.
Explain which one of the following makes up : Explain Which one of the following makes up the Administrative and regulatory agencies arena
What questions would you ask dynamic duos owners : Explain what questions would you ask Dynamic Duo's owners and what legal steps would you recommend that Dynamic Duo take?
Genetic syndrome causing facial malformations : Crouzon Syndrome is a genetic syndrome that cause facial malformations. It occurs in 1 in 60,000 births annually. This submission provides specific details about the syndrome and the treatments required to address the syndrome.
Determine mean process turnaround time : Their priorities are 2, 3, 1, 5 and 4, respectively, with 1 being the highest priority. Specify the order in which processes execute and determine the mean process turnaround time for each of the scheduling algorithms.
Tax consequences of transfer : There're 3 major requirements of Code Section 351: (1) the transfer must consist of property, (2) the transfer must be solely in exchange for stock and (3) the transferors must be in control immediately after the exchange.
Define the dielectric constant of the dielectric : define the dielectric constant of the dielectric.
Explain what is goodwill at work : Goodwill at Work - Explain what is goodwill at work and What are some examples of goodwill where you work
Technology in the areas of nursing : Do you think that there are areas of nursing that are not improved by increased technology? Why?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Threat model to describe risk of attack vector

Construct a simple threat model that describes the risk this represents: attacker(s), attack vector, vulnerability, assets, and likelihood of occurrence, likely impact, and plausible mitigations.

  Explain types of information systems

Question 1. Explain five types of information systems, and give an example of each. Question 2. Describe three common reasons for a systems request. Try and find one not listed in the text.

  Program for stack by using dynamically allocated array

Write a C++ class which implements stack by using a dynamically allocated array. Initial size of particular stack must be determined when it is created.

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Find cost of sorting the relation

Suppose the cost of seek is 5milliseconds, while the disk transfer rate is 40 mgbytes per second. Find the cost of sorting the relation , in seconds, w/bb = 1 & w/ bb= 100.

  Perform page trace analysis by fifo page removal algorithm

Using the FIFO page removal algorithm, do a page trace analysis indicating page faults with asterisks (*). Then compute the failure and success ratios.

  Online vs. face-to-face classes

Communication A significant distinction between online and face-to-face classes lies in the area of communication.

  Algorithm to take input m constraints over n variables

For instance, the constraints x1 = x2, x2 = x3, x3 = x4, and x1 6= x4 cannot be satis fied. Give an efficient algorithm that takes as input m constraints over n variables and decides whether the constraints can be satis fied.

  Design algorithm to read a file of employee records

Design an algorithm and souce code C++ that will read a file of employee records and produce a weekly report of gross earnings for those employees.

  Give time algorithm that outputs satisfying assignment

Find out  whether there is an assignment of true/false values to the literals such that at least a*m clauses will be true. Note that 3-SAT(1) is exactly the 3-SAT problem. Give an O(m*n)-time algorithm that outputs a satisfying assignment for 3-S..

  Algorithm to read arbitrary number of data records

Write the algorithm to read arbitrary number of data records, each comprising name, age, and code.

  Testing item in array of member using sequential search

Look up each test item in array of member items, by using sequential search. What is the worst-case running time of it. (asymptotically, in terms of n and k)?

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