a) Why do we need scheduling in operating system? b) Consider the following set of processes...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
a) Why do we need scheduling in operating system? b) Consider the following set of processes in Table 1, with the length of the CPU-burst/cycle/time given in milliseconds and the priority. Process Arrival Time A C D 0 2 3 6 Table 1 CPU Cycle 5 4 6 4 [1 Marks] Priority 3 4 2 i. Draw a timeline chart to illustrate the execution of the above processes using Priority scheduling (preemptive) (smaller number implies higher priority). [3 Marks] ii. Complete Table 2 for the Priority scheduling. Show your calculation. Table 2 Process A B с D Waiting Time Average Waiting Time (AWT): Average Turnaround Time (ATT): Turnaround Time a) Why do we need scheduling in operating system? b) Consider the following set of processes in Table 1, with the length of the CPU-burst/cycle/time given in milliseconds and the priority. Process Arrival Time A C D 0 2 3 6 Table 1 CPU Cycle 5 4 6 4 [1 Marks] Priority 3 4 2 i. Draw a timeline chart to illustrate the execution of the above processes using Priority scheduling (preemptive) (smaller number implies higher priority). [3 Marks] ii. Complete Table 2 for the Priority scheduling. Show your calculation. Table 2 Process A B с D Waiting Time Average Waiting Time (AWT): Average Turnaround Time (ATT): Turnaround Time
Expert Answer:
Answer rating: 100% (QA)
a Scheduling helps you think about what you want to achieve in a day week or month and it k... View the full answer
Related Book For
Managing in a Global Economy Demystifying International Macroeconomics
ISBN: 978-1285055428
2nd edition
Authors: John E. Marthinsen
Posted Date:
Students also viewed these organizational behavior questions
-
For more than a century, financial accounting has followed many paths throughout the world. Each country established its own standard-setting body to codify' generally accepted accounting principles...
-
The task is about short film called (through deaf eyes). The film is about deaf people. You have to watch the film and write (what do you think)....
-
For more than a half century, a dozen African countries pegged their currency, the CFA franc, to the French franc. Many analysts felt that central bank intervention caused the CFA franc to become...
-
Giroud plc is considering two alternative investment opportunities. Each of the two projects has an expected life of five years and requires an initial investment of $100,000. A feasibility study...
-
How is cash held as a compensating balance reported on the balance sheet?
-
Let's look at Dick's Sporting Goods (Dick's) some more. Think about Dick's. How did Dick's get the money in order to fund its operations? Return to Dick's Annual Report and look at Dick's financial...
-
The activity of component \(i\) can be written as (a) \(a_{i}=\frac{f_{i}^{0}}{f_{i}}\) (b) \(a_{i}=\frac{f_{i}}{f_{i}^{0}}\) (c) \(a_{i}=\ln \left(\frac{f_{i}}{f_{i}^{0}} ight)\) (d) \(a_{i}=\ln...
-
Frank White will retire in six years. He wants to open some type of small business operation that can be managed in the free time he has available from his regular occupation, but that can be closed...
-
1) If a company has fixed costs of $6,000 per month and their product that sells for $200 has a contribution margin ratio of 30%, how many units must they sell in order to break even? 2) A company...
-
Part 2: Presentation and Data Work (90 marks) You have been asked to collect company data and to create a final written presentation based on your analysis of the data and the performance measures...
-
The Graph of f(x) = x3 - 4x - 2 is which of the following? . -54 -3 2-1 3. 4 5 . -5 4 -3 3 45
-
Discuss your family relationships by identifying their type and characteristics and by noting any influence of culture, gender, and/or technology. Discuss in detail, noting interesting...
-
You are working for an organisation called Future Enterprises Ltd which has over recent years, grown its market both nationally and internationally. It now wishes to promote the right person from...
-
Recent coverage of Elon Musk`s statements on Twitter acquisition leveraged questions about the power of social media platforms over politics. Do you agree with arguments that place considerable...
-
Both "Bonnie & Clyde" and "Jaws" brought major changes to the Hollywood film industry. Discuss in detail the innovations each brought and why. What changes do you believe will occur in the Hollywood...
-
Jackson Katz discusses how men like Howard Stern and Eminem have capitalized on violence against women to gain publicity and wealth. Now, influencers like Andrew Tate utilize this same strategy to...
-
Compute the portfolio return, the portfolio beta and the expected return of the portfolio based on the CAPM model.Did the portfolio over or under perform? Stock Portfolio Name Shares Price 7/1/2014...
-
Assume you are the accountant for Catalina Industries. John Catalina, the owner of the company, is in a hurry to receive the financial statements for the year ended December 31, 20X1, and asks you...
-
Use the Three-Sector Model to explain the effects fiscal policy had on the U.S. economy. Assume the United States had highly mobile international capital markets and a flexible exchange rate.
-
Must a country with a deficit in its CA also have a government budget deficit? Under what conditions, if any, could the nation with a budget surplus have deficit in its CA? Fully explain.
-
How are Bit coins different from VCU1, VCU2, and VCU3 currencies? How are they similar? What is the primary economic threat of Bit coins?
-
In Fig. 1.69, find the equivalent spring constant of the system in the direction of \(\theta\). k1 00000 K2 00000 K3 00000 k12 FIGURE 1.69 A system of linear and torsional springs connected to...
-
A machine of mass \(m=500 \mathrm{~kg}\) is mounted on a simply supported steel beam of length \(l=2 \mathrm{~m}\) having a rectangular cross section (depth \(=0.1 \mathrm{~m}\), width \(=1.2...
-
A cantilever beam of length \(L\) and Young's modulus \(E\) is subjected to a bending force at its free end. Compare the spring constants of beams with cross sections in the form of a solid circle...
Study smarter with the SolutionInn App