### What is the waiting time of each process for each algorithms

Assignment Help Computer Engineering
##### Reference no: EM131824357

Assignment

1. Consider the following set of processes, with the length of the CPU time given in milliseconds:

 Process CPU Time Priority P1 2 2 P2 1 1 P3 8 4 P4 4 2 P5 5 3

The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0.

a. Draw four Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: FCFS, SJF, priority (a smaller priority number implies a higher priority), and RR (quantum = 2).

b. What is the waiting time of each process for each of these scheduling algorithms?

c. Which of the algorithms results in the minimum average waiting time (over all processes)?

#### Questions Cloud

 How much consumer surplus does harry enjoy : Harry is lucky enough to get a rentcontrolled apartment for \$300 per month. The market rent on such an apartment is \$3,000 per month. Should he stop the moment you express any thoughts about it : Should you have to be a lawyer to figure out the proper phrase to stop the search, or should he stop the moment you express any thoughts about it? What is amount of leslie gross estate for federal estate tax : The fair market value of the vacation beach house at the date of Leslie's death was \$100,000. What is the amount of Leslie's gross estate for federal estate tax Compare and contrast a business model : Compare and contrast a business model that assumes a certain amount of shoplifting and one that strives to prevent all. What is the waiting time of each process for each algorithms : What is the waiting time of each process for each of these scheduling algorithms? Which of the algorithms results in the minimum average waiting time? Compute the ending inventory for johnson company for 2010 : Use the dollar-value LIFO method to compute the ending inventory for Johnson Company for 2010 through 2014. How he might employ of the five major strategies : Provide a brief example of how he might employ of the five major strategies for engaging in conflict. Provide one example for each of the different strategies. Define allocation of antibiotics across the uses : Antibiotics are often given to people with colds (even though they are not useful for that purpose), but they are also used to treat life-threatening infections Summarize the events of a recent accounting scandal : Summarize the events of a recent accounting scandal. What could have been done to prevent this from happening in the first place

### Write a Review

#### Describe visual diagram with a brief explanation

Visual diagram with a brief explanation (PDF format). Diagrams can be made using any Microsoft Office product or sites such as Lucidchart.

#### Questionnbspthe hatcher company is in the method of

questionnbspthe hatcher company is in the method of developing a new inventory management system. one of the events

#### What are the advantages if any in using udp rather than tcp

q1 what are the merits if any in using udp instead of tcp when transferring large objects across the network?q2 where

#### Program to print a sequence of 20 random die tosses

Write down a program which produces a sequence of 20 random die tosses in an array and which prints the die values.

#### Explain what you will do to minimize the errors

make an array with 5 elements of type int in a for loop go from 0 to 5 (which means 6 elements) and try to print all elements; the program will compile, but what happens when you run it? What error message do you get.

#### Baseline for the linux system

Describe briefly the purpose of the baseline. Explain the areas of system would you involve in the baseline for your Linux system?

#### You have been asked to be the project manager for the

you have been asked to be the project manager for the development of an information technology it project. the system

#### Describe the Architecture of a Java EE application

Describe the Architecture of a Java EE application that describes the above system. Describe architectural style(s) you are following

#### Company the privileges needed to query

Give every employee in Local Locale Company the privileges needed to query and update the NEWS_ARTICLE table and the CLASSIFIED_AD table. Write out only two commands to accomplish this task. Save your work as a .sql file.

#### How many rtts would take this tcp connection to transmit

How many RTTs would take this connection to transmit a 100-packet sized file, just by using TCP AIMD mechanism, when no packets are lost during the transfer? (Assume slow-start is not used)

#### What are pros and cons of society''s increasing reliance data

What are pros and cons of society's increasing reliance data

#### Questionconsider a scheduling problem where there are 5

questionconsider a scheduling problem where there are 5 activities to be scheduled in four time slots. suppose we