The Shortest Job First (SJF) and the Shortest Remaining-Time First (SRTF) requires the computation of the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The Shortest Job First (SJF) and the Shortest Remaining-Time First (SRTF) requires the computation of the next CPU "burst length" for each process. i) What are the variables required to compute the CPU "burst length"? ii) The exponentially weighted moving average (EWMA) can be computed given that we have to = actual length of nth CPU burst, tn+1 =predicted value for next CPU burst, for a, 0 <a <1.write the formula to approximate the EWMA. iii) write the general formula for the expression in question 3.a.ii above. iv) Make two important assumptions for hte computation of the EWMA. bi) In a resource allocation graph, processes P1, P2, and P3 exist with three resources R1, R2, R3. R1 is assigned to P2, R2 is assigned to P3, and R3 is assigned P1. P1, P2, and P3 are requesting for R1, R2, and R3 respectively ii)Draw the resource allocation diagram. iii) Provide the conditions necessary for deadlocks to occur. iv)State whether a deadlock will occur or not. The Shortest Job First (SJF) and the Shortest Remaining-Time First (SRTF) requires the computation of the next CPU "burst length" for each process. i) What are the variables required to compute the CPU "burst length"? ii) The exponentially weighted moving average (EWMA) can be computed given that we have to = actual length of nth CPU burst, tn+1 =predicted value for next CPU burst, for a, 0 <a <1.write the formula to approximate the EWMA. iii) write the general formula for the expression in question 3.a.ii above. iv) Make two important assumptions for hte computation of the EWMA. bi) In a resource allocation graph, processes P1, P2, and P3 exist with three resources R1, R2, R3. R1 is assigned to P2, R2 is assigned to P3, and R3 is assigned P1. P1, P2, and P3 are requesting for R1, R2, and R3 respectively ii)Draw the resource allocation diagram. iii) Provide the conditions necessary for deadlocks to occur. iv)State whether a deadlock will occur or not.
Expert Answer:
Answer rating: 100% (QA)
i In a resource allocation graph process P1 P2 and P3 exist with three resources R1R2 R3 R1 is assigned to P2 R2 is assigned to P3 and R3 is assigned P1 P1 P2 and P3 are requesting for R1 R2 and R3 requesting ii Draw the resource ... View the full answer
Related Book For
The Architecture of Computer Hardware, Systems Software and Networking An Information Technology App
ISBN: 978-1118322635
5th edition
Authors: Irv Englander
Posted Date:
Students also viewed these accounting questions
-
Explain how the shortest job first algorithm can result in starvation.
-
The exponentially weighted moving average is a one-sided moving average of the time series. The smoothed value St is an average of Yt and prior values. The regular moving average is two sided,...
-
The following two plots show exponentially weighted moving averages of the percentage change in the US gross national product (GNP). The time seriesis quarterly, from 1960 through the first quarter...
-
What steps have been taken in the EU to provide lighter accounting regulation for micro-entities?
-
For each of the following F values, determine whether the probability indicated is greater than or less than 1%: (a) P(F5,4 > 14) (b) P(F6,3 > 30) (c) P(F10,12 > 4.2) (d) P(F2,3 > 35) (e) P(F2,3 < 35)
-
Depreciation is a period expense for financial statement purposes. Do you agree? Explain.
-
\(\mu=790, \sigma=48, n=250\) In Exercises 1-4, a population has a mean \(\mu\) and a standard deviation \(\sigma\). Find the mean and standard deviation of the sampling distribution of sample means...
-
R.K. Maroon (RKM) is a seed-stage, Web-oriented entertainment company with important intellectual property. RKMs founders, all technology experts in the relevant area, are anticipating a quick leap...
-
A. What is agency problem within the context of a limited liability company? ii) Explain TWO causes of agency problem. iii) Explain TWO remedies to agency problem. B. Describe the how the optima...
-
A periodic signal x[n] of fundamental period N can be represented by its Fourier series If you consider this a representation of x[n] (a) Is x 1 [n] = x[n N 0 ] for any value of N 0 periodic? If so...
-
1. (15 marks) Nancy is planning a birthday party for two friends born on the same month and day. There will be just one cake, with blue candles for Stephanie and red candles for William, one for each...
-
March 5 March 9 March 18. March 25 March 29 Sales Purchase Purchase Sales Totals Activities Beginning inventory Purchase Warnerwoods Company uses a perpetual inventory system. It entered into the...
-
The order for a patientis Robitussin syrup (guaifenesin) 10mL PO q4h. How many ounces of Robitussin wouldthe patient have received by 10 p.m. if the first dose wasadministered at noon?
-
Assume that on January 1, 2019, a parent sells to its wholly owned subsidiary, for a sale price of $243,000, equipment that originally cost $276,000. The parent originally purchased the equipment on...
-
In 1975, the National Bowling League NBL allowed one of its charter member teams to trademark its team name as The Drunken Irish . The team often nicknamed The Drunks were the top scoring team in the...
-
A nurse is establishing an ideal body weight for a 5\'9\" (175 cm)healthy female. Based on the rule-of-thumb method, what would bethis client\'s ideal weight?
-
What is memory repression? How are allegedly repressed memories unlocked? Why were researchers such as Beth Loftus sceptical about the claims about repressed memories being uncovered? Can memories be...
-
Cassandra Casey operates the Futuristic Antique Store. She maintains subsidiary ledgers for accounts payable and accounts receivable. She presents you with the following information for October 2019:...
-
Which class of instructions can reduce performance by potentially invalidating the instructions in a pipeline? Identify two methods that can be used to partially overcome this problem.
-
Name two advantages to the use of object images.
-
Discuss possible tape scheduling algorithms for a tape controller. Assume that files are stored contiguously on tape. What effect would non-contiguous, linked files have on your algorithm?
-
Extract a trading and profit and loss account for the year ended 30 June 19X8 for F Kidd. The trial balance as at 30 June 19X8 after his first year of trading was as follows: Dr Cr Rent 1,560...
-
From the following trial balance of F Chaplin drawn up on conclusion of his first year in business, draw up a trading and profit and loss account for the year ended 31 December 19X8. A balance sheet...
-
From the following details draw up the trading account of T Clarke for the year ended 31 December 19X7, which was his first year in business: Carriage inwards Returns outwards Returns inwards Sales...
Study smarter with the SolutionInn App