Suppose you have the following processes Process PI P2 P3 P4 Arrival Time 0 Burst Time...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose you have the following processes Process PI P2 P3 P4 Arrival Time 0 Burst Time 14 2 10 3 2 5 7 7 13 P5 Use the following multilevel feedback queue CPU scheduling algorithm to execute the above processes: Queue 1: using RR CPU scheduling algorithm with Q Queue 2: using RR CPU scheduling algorithm with Q Queue 3: using FCFS CPU scheduling algorithm. 4 ms, 6 ms, and www-6 FOFS 1. Draw the Gantt Chart for Queue 2. 2. Find the total waiting time for process P2. Hint 1: Once a process executed using one queue it should go direct to start execution in the next queue if this queue is free. Hint 2: The starting time is 0 for Queue 1 only and it is different in all remaining queues. Suppose you have the following processes Process PI P2 P3 P4 Arrival Time 0 Burst Time 14 2 10 3 2 5 7 7 13 P5 Use the following multilevel feedback queue CPU scheduling algorithm to execute the above processes: Queue 1: using RR CPU scheduling algorithm with Q Queue 2: using RR CPU scheduling algorithm with Q Queue 3: using FCFS CPU scheduling algorithm. 4 ms, 6 ms, and www-6 FOFS 1. Draw the Gantt Chart for Queue 2. 2. Find the total waiting time for process P2. Hint 1: Once a process executed using one queue it should go direct to start execution in the next queue if this queue is free. Hint 2: The starting time is 0 for Queue 1 only and it is different in all remaining queues.
Expert 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 machine was purchased for a sum of 393,000$ having useful life of 13 years. How to account the level of depreciation under Sum of years Digits Method? Note: Salvage Value =39,000$. Brief the final...
-
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...
-
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 cost of a can of Coca Cola in 1960 was $0.10. The exponential function that models the cost of a Coca Cola by year is given below, where t is the number of years since 1960. C(t) = 0.10e0.0576t...
-
You are the purchasing manager of a company and are responsible for ensuring that necessary inputs are available to keep your factory operating. For each of the three types of purchases identified...
-
Describe some jobs for which you think it would be difficult to link pay to performance. What is there about these jobs that provokes this difficulty?
-
What does Lee Seidler say about external auditors? What overcomes the assumption that separation of duties prevents fraud?
-
On April 1, 2008, Rasheed Company assigns $400,000 of its accounts receivable to the Third National Bank as collateral for a $200,000 loan due July 1, 2008. The assignment agreement calls for Rasheed...
-
question 1question 2 Required information [The following information applies to the questions displayed below.] Shadee Corporation expects to sell 560 sun shades in May and 340 in June. Each shade...
-
Yolanda has the option of investing in two different mutual funds. The return in the random walk fund tends to fluctuate wildly, earning substantial positive returns one year only to realize negative...
-
What might the differences in the capital structures of firms in the banking and the automotive industries say about their relative riskiness as investments i.e. their required returns Be sure to...
-
Consider the position control system shown in the following figure. Write a MATLAB programme to obtain a unit-step response and a unit-ramp response of the system. Plot curves \(x_{1}(t)\) vs. \(t,...
-
How do physical units differ from equivalent units of production?
-
What is the difference between a smart building, a smart workplace, and a smart home?
-
Determine the range of \(K\) for the stability of a unity-feedback control system whose open-loop transfer function is \[G(s)=\frac{K}{s(s+1)(s+2)}\]
-
What type of manufacturing entities might use a process cost accounting system?
-
5 2 3 $300 $310 $320 $330 $340 Stern Associates is considering a project that has the following cash flow data. What is the project's payback? Year 0 Cash flows -$1,100 a. 2.31 years Ob. 3.52 years...
-
Suppose that a company has 10.000 outstanding shares in the beginning of the year. On April 1st, the company increases its shares by 6.000. On July 1st, the company increases its shares again, but...
-
The implementation of mutexes within the eCos kernel does not support recursive locks. If a thread has locked a mutex and then attempts to lock the mutex again, typically as a result of some...
-
Define: B = block size R = record size P = size of block pointer F = blocking factor; expected number of records within a block Give a formula for F for the three blocking methods depicted in Figure....
-
Why is the capability to relocate processes desirable?
-
The trial balance of Jeremina plc as at 31 March 2002 is as follows: (i) Stock of finished goods on 31 March 2002 163,000. (ii) Motor expenses and depreciation on motors to be apportioned:...
-
You are Br erired: with the following information relating to Plott plc for the year to 31 March 2011: Additional information: 1. The above information has been obtained after the compilation of the...
-
The following information has been extracted from the books of Quire plc as at 30 September 2011. The following additional information is to be taken into account: 1. Stocks at 30 September 2011 were...
Study smarter with the SolutionInn App