Consider below table of four processes under Multi-level queue scheduling. Queue number denotes the queue of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider below table of four processes under Multi-level queue scheduling. Queue number denotes the queue of the process. Note that priority of queue 1 is greater than queue 2. P1 P2 P3 P4 P5 P6 Arrival time 0 2 0 23 0 0 Burst time 7 5 8 4 b- Calculate the waiting time for each process c- Calculate the average waiting time 4 4 Queue 1 2 1 1 2 1 a- Draw a Gantt chart to illustrate how these processes would be scheduled if Queue 1 uses Round Robin (Time Quantum-7) and Queue 2 uses FCFS. Note that a task with the highest priority can interrupt the execution of task with a lower priority. Consider below table of four processes under Multi-level queue scheduling. Queue number denotes the queue of the process. Note that priority of queue 1 is greater than queue 2. P1 P2 P3 P4 P5 P6 Arrival time 0 2 0 23 0 0 Burst time 7 5 8 4 b- Calculate the waiting time for each process c- Calculate the average waiting time 4 4 Queue 1 2 1 1 2 1 a- Draw a Gantt chart to illustrate how these processes would be scheduled if Queue 1 uses Round Robin (Time Quantum-7) and Queue 2 uses FCFS. Note that a task with the highest priority can interrupt the execution of task with a lower priority.
Expert Answer:
Answer rating: 100% (QA)
a First lets create a Gantt chart to illustrate the scheduling Time 0 7 14 21 28 35 39 43 47 P1 P2 P... 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 operating system questions
-
a. C division of CS, Inc. has 3 service departments (Cafeteria, Human Resource Management, and Information Technology Support) and two production departments (Department 1 and Department 2). The...
-
The following information was compiled by Kingbird Company: Expected volume of production 105,000 units Actual level of production 99,000 units Budgeted fixed overhead $210,000 Actual fixed overhead...
-
Moodle X Question 44 Not yet answered Cash Accounts receivable (net) Inventory, December 31, 2016 Equipment and fixtures (net) Accounts payable Common stock Retained earnings Revenue - department a...
-
Landry State University, a public university located in Louisiana, has a June 30 fiscal year. On July 20 of the current year, Landry State University receives $2,125,000 in payments from the U.S....
-
A substance is at 2 MPa, 17C in a 0.25-m3 rigid tank. Estimate the mass from the compressibility factor if the substance is a) air, b) butane or c) propane.
-
1. Evaluate Microsoft's product and marketing evolution over the years. What has the company done well, and where did it falter? 2. Evaluate Microsoft's recent expansions into areas such as search...
-
A supermarket has been experiencing long lines during peak periods of the day. The problem is noticeably worse on certain days of the week, and the peak periods are sometimes different according to...
-
Water Sport Inc. manufactures a small personal water tube used for children learning to swim. Management is now preparing detailed budgets for the third quarter, July through September, and has...
-
1: Explain what elasticity of demand means. Support your explanation with a suitable example. 2: Describe the relationship between elasticity of demand and revenue when the prices are changed. 3:...
-
Franco Welles, sales manager for Nanek, Inc., is trying to decide whether to pay a sales rep for a new territory with straight commission or a combination plan. He wants to evaluate possible plansto...
-
Garred operates a proprietorship that generated $150,000 in income under GAAP. Included in this amount are: $9,000 of amortization expense; $5,000 for bad debt expense; $112,000 cost of goods sold;...
-
Do you think that managerial practice and talent varies sufficiently between competitors to explain why one is stronger than another?
-
Consider two normal distributions F = N(,0) and F2 = N(2,02). When F state-wise dominates F (assuming they are not perfectly correlated)? When F FOSD F2? When F SOSD F? Prove your answer. (Note that...
-
Bright Sparks (Pty) Ltd is a company based in Cape Town that specialises in buying and selling energy-efficient lighting equipment for residential and commercial use. The company has a 31 December...
-
Which Grade it Now scoring option would give you the highest final score if your attempt scores are all different from one another?
-
CKS Corporation just announced (and paid dividend out of) an EPS of $21.00 this morning. CKS Corporation has a tradition of distributing 60% of its EPS as dividend. The cost of equity for CKS stock...
-
Q. Find Double derrivative of the following. 1 f(x)=x- 2 1
-
Big Jim Company sponsored a picnic for employees and purchased a propane grill equipped with a standard-sized propane tank for the picnic. To make sure there was enough propane for all the cooking...
-
Consider the following program. #define Size 64 int A[Size; Size], B[Size; Size], C[Size; Size]; int register i, j; for (j = 0; j < Size; j ++) for (i = 0; i < Size; i++) C[i; j] = A[i; j] + B[i; j];...
-
In general, what are the strategies for exploiting spatial locality and temporal locality?
-
Table shows the process states for the VAX/VMS operating system. a. Can you provide a justification for the existence of so many distinct wait states? b. Why do the following states not have resident...
-
Which of the following are boiler mountings ? (a) Economiser (b) Fusible plug (c) Super heater (d) Injector
-
Which out of the following boiler is capable of generating superheated steam without additional accessories ? (a) Cochran (b) Lancashire (c) Locomotive (d) Cornish
-
The economiser of the boiler plant is used mainly to (a) increase steam capacity (b) reduce fuel consumption (c) increase steam pressure (d) increase life of the boiler
Study smarter with the SolutionInn App