Compute what the average turnaround time will be

Assignment Help Operating System
Reference no: EM132141186

Show all steps

Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all decisions on the information you have at the time the decision must be made.

Process          Arrival Time

P1                   0.0

P2                   0.4

P3                   1.0

a. What is the average turnaround time for these processes with the FCFS scheduling algorithm?

b. What is the average turnaround time for these processes with the SJF scheduling algorithm?

c. The SJF algorithm is supposed to improve performance, but notice that we chose to run process P1 at time 0 because we did not know that two shorter processes would arrive soon.

Compute what the average turnaround time will be if the CPU is left idle for the first 1 unit and then SJF scheduling is used.

Remember that processes P1 and P2 are waiting during this idle time, so their waiting time may increase. This algorithm could be known as future-knowledge scheduling.

Reference no: EM132141186

Questions Cloud

Growth rate of dividends : How do you calculate g, the growth rate of dividends, using the following variables? g=growth rate of future earnings and the growth in the common stockholders
Coupon rate of a particular bond : If current market yields in the bond market are above the coupon rate of a particular bond-what will happen to the intrinsic value (PV and market price)?
Describe an efficient algorithm to find the paths : We want to find 3 edge disjoint paths from a designated starting vertex u to a specific destination vertex d .
Uses of capm-capital assets pricing model : Consider investing in machinery that costs $ 1000 and generates in one year $ 1300, $ 1,100 or $ 900 with equal probability.
Compute what the average turnaround time will be : Compute what the average turnaround time will be if the CPU is left idle for the first 1 unit and then SJF scheduling is used.
What are the expected net percentage returns : If each stock is priced at $125, what are the expected net percentage returns on each stock to (1) a pension fund that does not pay taxes
Calculate equity valuation-gordon growth model : A company just paid a dividend of 2.30 to its shareholder. It estimates that future growth will be at 2%. What is the value of the stock
Effective after-tax wacc with the increase in leverage : If COWCOWs pre-tax WACC remains constant, what will be it's effective after-tax WACC with the increase in leverage?
What is the npv of cowland copr investment : a) What is the NPV of COWLAND COPR'S Investment? The NPV of COWLAND COPR's investment is $___ million. - Round to two decimal places

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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