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...
-
Joy would like to receive $6000 at the end of every 3 months for 10 years after her retirement. If she retires now and interest is 6.5% compounded semi-annually, how much must she deposit into an...
-
Gannett Co., Inc., publisher of USA Today, reported the following revenue data (in $000s) in its 2011 annual report. Required Prepare a trend analysis of Gannett's revenue sources, rounding your...
-
1. Your instructor will divide the class into teams and assign each team the task of investigating the start-up of one of the following businesses: a. Submarine sandwich shop b. Day care service c....
-
The following data relate to the Machinery account of Eshkol, Inc. at December 31, 2012. *In the year an asset is purchased, Eshkol, Inc. does not record any depreciation expense on the asset.In the...
-
3. If a proton is launched at a 2.0mm glass sphere with a velocity of 2.0 107 m/s, how might the sphere be charged such that the proton just makes it to its surface.
-
For a short time, the 250-kg roller-coaster car with passengers is traveling along the spiral track at a constant speed of v = 8 m/s. If the track descends d = 12 m for every full revolution, = 2...
-
The HR function comprises four key elements (selection, skills development, retention and managing labour supply). Which two of these are most likely to provide the most strategic advantage to an...
-
What are the advantages for both an LLC (taxed as a partnership) and a Corporation when it comes to liquidation?
-
What form should the offer take, and how should the offer be financed? Support your recommendations on qualitative analysis (a forecast of financial information and ratios is not expected)
-
Tesco is a British multinational grocery and general merchandise retailer, with a market capitalisation of 22.75 billion as of January 2022. Tesco International Sourcing Supplier Manual: "We are a...
-
Calculate the flowing: Return on assets Net income/assets Company A Return on equity Net income/equity Return on sales Net income/Sales
-
Write a program to find the index at which there is a match: Use the following array: int size[] = {4, 10, 15, 20); Have the user enter the integer to match from the keyboard. If the size is in the...
-
Case Study A group of research were interested in exploring resilience in the workplace. The researchers defined resilience as the process and outcome of successfully adapting to difficult or...
-
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?
-
a. Find the rank of the given matrix. b. Confirm the result of (a) in MATLAB. 3 5 ST TNT 2 A=1 7
-
Prove that the product of two symmetric matrices is not necessarily symmetric.
-
BAw Perform the indicated operations, if defined, for the following vectors and matrices. -2 1 -3 1 1 A = 1 -3 2 1 32 B = V= W = 0 0 4 5
Study smarter with the SolutionInn App