3- Consider the following set of processes, with the given CPU cycle duration in ms: Process...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3- Consider the following set of processes, with the given CPU cycle duration in ms: Process P1 Cycle duration 4 P2 5 P3 3 P4 P5 7 2 Priority 3 1 4 3 2 It is assumed that the processes arrived in order P1, P2, P3, P4, P5 at time 0. a- Draw four Gantt charts illustrating the execution of these processes scheduling algorithms using the FCFS (first come first served), SJF (short job first), a priority without requisition (smaller number indicates higher priority) and RR (round robin with quantum is 2). b- What is the average time to treat a process for each of the scheduling algorithms? c- What is the average process wait time for each of the scheduling algorithms? 3- Consider the following set of processes, with the given CPU cycle duration in ms: Process P1 Cycle duration 4 P2 5 P3 3 P4 P5 7 2 Priority 3 1 4 3 2 It is assumed that the processes arrived in order P1, P2, P3, P4, P5 at time 0. a- Draw four Gantt charts illustrating the execution of these processes scheduling algorithms using the FCFS (first come first served), SJF (short job first), a priority without requisition (smaller number indicates higher priority) and RR (round robin with quantum is 2). b- What is the average time to treat a process for each of the scheduling algorithms? c- What is the average process wait time for each of the scheduling algorithms?
Expert Answer:
Answer rating: 100% (QA)
a Gantt charts FCFS First Come First Served P1P2P3P4P50 4 9 12 19 21 SJF Shortest Job First P5P3P1P2P40 2 5 9 14 21 Priority Smaller number indicates ... View the full answer
Related Book For
Operating Systems Internals and Design Principles
ISBN: 978-0133805918
8th edition
Authors: William Stallings
Posted Date:
Students also viewed these programming questions
-
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. a. Draw...
-
One of Red Clay's employee handbook sections covers employee monitoring. An employee filed a complaint with the HR department stating he opposes this monitoring and chooses to opt out. What legal...
-
You are a consultant to a large manufacturing corporation considering a project with the following net after-tax cash flows (in millions of dollars): Years from Now ____________ After-Tax CF 0...
-
The Heartland Distribution Company is a food warehouse and distributor that has a contract with a grocery store chain in several Midwest and Southeast cities. The company wants to construct new...
-
Describe the purpose and process of utilization review.
-
Presented below is the income statement of Cowan, Inc.: Sales ................$380,000 Cost of goods sold .......... 225,000 Gross profit .............$155,000 Operating expenses .......... 85,000...
-
How many gallons are in a rectangular reservoir if the water pressure at the bottom is 5.3psi? The reservoir is 40feet long, 30 feet wide, and 20 feet high
-
You team is using potentiometers to capture the movement of a human subject's arm. You goal is to use the potentiometer readings (which measure angles) to track the position of the subject's hand....
-
What is the purpose of the day sheet? briefly define its purpose .
-
What is a sampling frame? How do researchers decide on the appropriate sample size for a study?
-
Capital per worker in China almost doubled between the 1990 and 2010. How do you expect Chinas output per worker to have changed over the same period? Why?
-
Define nonprobability sampling and probability sampling techniques. What are three types of nonprobability sampling?
-
The cost of the average consumers basket of goods and services in 2018 is roughly 10 times what it was in 1950. In other words, what the average consumer bought for $100 in 1950 would cost a consumer...
-
In terms of motivation crowding theory, explore some other examples of how extrinsic motivations can crowd out intrinsic motivations.
-
Question 1: A quality analyst wants to use control charts for controlling a packaging process. Each day in the past 10 days, he randomly selected four packages and weighed each. The data from that...
-
1. What are some current issues facing Saudi Arabia? What is the climate for doing business in Saudi Arabia today? 2. Is it legal for Auger's firm to make a payment of $100,000 to help ensure this...
-
How are multiple interrupts dealt with?
-
Calculate how much disk space (in sectors, tracks, and surfaces) will be required to store 300,000 120-byte logical records if the disk is fixed sector with 512 bytes/sector, with 96 sectors/track,...
-
A spooling system consists of an input process I, a user process P, and an output process O connected by two buffers. The processes exchange data in blocks of equal size. These blocks are buffered on...
-
Using Mendels data from the experiment in Figure 2.8, conduct a chi square test to determine if the data agree with Mendels law of independent assortment. Mendels data: THE DATA P cross F1 generation...
-
On rare occasions, an organism may have three copies of a chromosome and therefore three copies of the genes on that chromosome (instead of the usual number of two copies). The alleles for each gene...
-
Outline the steps that occur when piRITS or piRISC silences transposable elements by repressing transcription and by directly inhibiting TE RNAs, respectively. What is the role of piRNAs in this...
Study smarter with the SolutionInn App