Consider that five processes P0, P2, ..., P4 arrive for execution at the times indicated in...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider that five processes P0, P2, ..., P4 arrive for execution at the times indicated in Table 1. No more processes will arrive until the last process completes. All jobs are completely CPU bound. All times are given in seconds. The priority range is from 1(highest) to 5 (lowest). Table 1: Process arrival/CPU-burst times and priorities. Process Id Arrival Time PO 0 P1 2 P2 P3 P4 12 Note: The values of burst time and priorities are taken from your registration number i.e. if your registration number is 12345 then the Burst time/ Priority for process PO will be 1, for Pl it will be 2 and so on, if your registration number is of six digits i.e. 123456 then Burst time/ Priority for process POwill be 12, for Pl it will be 3 and so on, i. Draw Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: [02 Marks] • Preemptive and Non-Preemptive Shortest Job First; • Preemptive and Non-Preemptive priority; ii. Determine the turnaround time of each process for each of these scheduling algorithms? [01 Marks] iii. Determine the waiting time of each process for each of these scheduling algorithms? [01 Marks] iv. Determine the response time of each process for each of these scheduling algorithms? [01 5 8 Consider that five processes P0, P2, ..., P4 arrive for execution at the times indicated in Table 1. No more processes will arrive until the last process completes. All jobs are completely CPU bound. All times are given in seconds. The priority range is from 1(highest) to 5 (lowest). Table 1: Process arrival/CPU-burst times and priorities. Process Id Arrival Time PO 0 P1 2 P2 P3 P4 12 Note: The values of burst time and priorities are taken from your registration number i.e. if your registration number is 12345 then the Burst time/ Priority for process PO will be 1, for Pl it will be 2 and so on, if your registration number is of six digits i.e. 123456 then Burst time/ Priority for process POwill be 12, for Pl it will be 3 and so on, i. Draw Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: [02 Marks] • Preemptive and Non-Preemptive Shortest Job First; • Preemptive and Non-Preemptive priority; ii. Determine the turnaround time of each process for each of these scheduling algorithms? [01 Marks] iii. Determine the waiting time of each process for each of these scheduling algorithms? [01 Marks] iv. Determine the response time of each process for each of these scheduling algorithms? [01 5 8
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Consider two processes P1 and P2 where P1 = 50, t1 = 25 and P2 = 75, t2 = 30. a. Can these two processes be scheduled using rate monotonic scheduling? Illustrate your answer using a Gantt chart. b....
-
1- Given the followving arrival times and CP U cycle times. Job / Process CPU Cycles Required / Service Time Priority 3 (Silver) 2 (Gold) 1 (Diamond) 2 (Gold) 2 (Gold) Arrival Time A 3 B 8 4 3 14 E...
-
For a homomorphism from P2 to P3 that sends 1 1 + x, x 1 + 2x and x2 x - x3 where does 1 - 3x + 2x2 go?
-
A share of preferred stock pays a dividend of $5 per year. If the price of this preferred stock is currently $100, what is the cost of preferred stock? Fill in the blank
-
Keesha earned x dollars per month in 2006, where x < $5,600. a. Did she earn more or less than the maximum taxable income for 2006? b. Express her Social Security tax for the year algebraically. c....
-
Although an ideal voltmeter has an infinite internal resistance, this theoretical ideal is usually not met in practice. The voltmeter in Figure P19.76 has an internal resistance of 10 9 and is used...
-
Consider the plot of power as a function of the allocation ratio, $r$, for the two-sample z-test shown in Figure 4.4 and the $\mathrm{R}$ code for generating plot. a. Recall that $\mathrm{n}$ is the...
-
Describe a situation in which the sales value at splitoff method cannot be used but the NRV method can be used for joint-cost allocation.
-
The Belfast router will perform NAT. Configure the Belfast router as follows: Define the NAT pool. The pool consists of public network address 200.10.10.64/26. Exclude first 10 addresses from this...
-
The client memo is distinct from the work in the problem portion (not related). Assume you are hired to complete a feasibility study for a potential hotel near the ballpark in downtown San Diego....
-
2.6 Consider a single sampling plan with n = 50 and c = 3. (a) Construct an OC curve for this sampling plan. (b) Suppose that AQL = 2%. Determine the producer's risk.
-
You work as a salesperson for a 3D printing company that designs and manufactures 3D solutions for engineering, pharmaceuticals, national museums, film production companies, and many others. Your...
-
More and more salespeople are using digitally enhanced presentations as part of their persuasive communications tools. What guidelines should be followed when using these tools?
-
You work in digital content creation and social media communications for a wide variety of SME-type businesses and want to develop a format for showcasing all of your work to date. Considering the...
-
If the GDP deflator values for 2008 and 2010 were 190 and 212.8 , respectively, which of the following best describes the annual growth rate of the overall price level? A. 5.8 percent B. 6 percent C....
-
Given the complex nature of the selling process, it is often useful to employ a combination of several closing methods. Describe some of the key methods in closing a sale.
-
How does the poet employ linguistic ambiguity and metaphorical resonance to evoke the existential conflict between the ephemeral nature of existence and the perennial quest for meaning?
-
MgO prevents premature evaporation of Al in a furnace by maintaining the aluminum as Al2O3. Another type of matrix modifier prevents loss of signal from the atom X that readily forms the molecular...
-
The president of a nonunion company called a meeting of employees to express his dissatisfaction regarding worker productivity and scrap rates, He also announced that breaks would be more restricted....
-
An auto worker who had been on FMLA leave for a serious health condition was given clearance by her doctor and reported to work on June 27, 2000. She had previously worked on the engine line in a...
-
A man was hired to drive a bus transporting persons with physical and mental disabilities. The hiring was conditional on the successful completion of a criminal background check. The transportation...
-
(a) Among 880 smart phones sold by a retailer, 72 required repairs under the warranty. Estimate the probability that a new phone, which has just been sold, will require repairs under the warranty....
-
A car rental agency has 19 compact cars and 12 intermediate-size cars. If four of the cars are randomly selected for a safety check, what is the probability of getting two of each kind?
-
With reference to Exercise 3.34, suppose that the questionnaire filled in by one of the 150 persons is to be double-checked. If it is chosen in such a way that each questionnaire has a probability of...
Study smarter with the SolutionInn App