Consider the following two queue system Queue 0 CPU Queue 1 CPU scheduler used at Queue...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following two queue system Queue 0 CPU Queue 1 CPU scheduler used at Queue 0 is Shortest job first-Preemptive CPU scheduler used at Queue 1 is Shortest job first-Non-Preemptive CPU is scheduled between Queue 0 and Queue 1 according to round robin scheduler. That is CPU is given to Queue 0 for 8 ms then switched to Queue 1 for 8 ms then switched back to Queue 0 for 8 ms then switched back to Queue 1 for 8 ms and so on until all processes completed CPU information for processes are defined as follows: Queue 0 PO P1 33339 P2 P3 Arrival time 6 18 20 24 CPU time 7 1 7 1 Queue 1 P4 P5 P6 P7 Arrival time 0 8 24 30 CPU time: 8 6 4 1 Calculate the average waiting time for all eight processes. Show all detailed scheduling events and your calculation. (20 points) Consider the following two queue system Queue 0 CPU Queue 1 CPU scheduler used at Queue 0 is Shortest job first-Preemptive CPU scheduler used at Queue 1 is Shortest job first-Non-Preemptive CPU is scheduled between Queue 0 and Queue 1 according to round robin scheduler. That is CPU is given to Queue 0 for 8 ms then switched to Queue 1 for 8 ms then switched back to Queue 0 for 8 ms then switched back to Queue 1 for 8 ms and so on until all processes completed CPU information for processes are defined as follows: Queue 0 PO P1 33339 P2 P3 Arrival time 6 18 20 24 CPU time 7 1 7 1 Queue 1 P4 P5 P6 P7 Arrival time 0 8 24 30 CPU time: 8 6 4 1 Calculate the average waiting time for all eight processes. Show all detailed scheduling events and your calculation. (20 points)
Expert Answer:
Answer rating: 100% (QA)
To calculate the average waiting time for all eight processes we need to simulate the scheduling eve... View the full answer
Related Book For
Posted Date:
Students also viewed these operating system questions
-
Tom and Jerry opened a new lawn service. They provide three types of services: mowing, fertilizing, and planting trees. The cost of mowing is $35.00 per 5000 square yards, fertilizing is $30.00 per...
-
A stack is used to reorder an array of integers. Describe the ordering in the integer array arr after executing function fun()? void fun(int arr[], int n) { Stack Type stk int i; for (i=0; i < n;...
-
The purpose of this programming project is to gain some experience involving the design of a few OS components by simulation. These components include CPU management and scheduling, process...
-
Describe An Analysis of the relationship between Employee Engagement, Satisfaction, and Organizational Performance at Enterprise Mobility
-
(a) Calculate the theoretical efficiency for an Otto cycle engine with Y= 1.40 and r = 9.50. (b) If this engine takes in 10,000 J of heat from burning its fuel, how much heat does it discard to the...
-
What are component percentages? Why are they useful?
-
Verify that the fluctuating component of velocity (2D assumption) satisfies the following equation: \[\begin{equation*}\frac{\partial v_{x}^{\prime}}{\partial x}+\frac{\partial...
-
Thomas Stafford owned four promissory notes. Payments on the notes were deposited into a bank account in the names of Stafford and his daughter, June Zink, jointly with a note on the account...
-
Jordan has student loan debt and is worried that it will reduce that amount that can be borrowed for a home. While the percentage of income for a house payment is not a problem, but there is also a...
-
18. Add the Office field to the Filters area of the Pivot Table. Filter the table so that only organizations with private offices are visible.
-
If you have a lawsuit in Dutchess County Supreme Court and you want to appeal the decision of that court, which SPECIFIC court would you appeal to? If you have a lawsuit in Town of Poughkeepsie court...
-
Assignment - Arrays - Road Trip You are going on a road trip with some friends. Make a Python program to collect all the data of the trip and calculate each person share of the cost. Prompt the user...
-
need python and pseudo code thank you Analysis Phase for Project #3.doc NOTE: Execute Project#3 Test Case #6 (see project #3) requirements for the six test cases Numbers below to be input from the...
-
The following algorithm computes the digits of the binary representation of a positive integer n. String of bits ConvertToBinary(int n) 1: if n == 1 then 2: return n 3: else 4: return...
-
In this exercise you are provided with an abstraction that represents the instances of crime reported by various U.S. stat in 2012. The abstraction shows the reporting state, the rate of all property...
-
In the following table, you will find annual return data for six high-tech companies between the years 1997 and 2007. Use the information below to compute the variance - covariance matrix of the...
-
Case 5 iROBOT: Robots for the Home R obots have been around for a long time. Detroit has used robots for four decades to build cars, and manufacturers of all kinds of goods use some form of robotics...
-
Why can wastewater treatment requirements in Hawaii be less stringent than those in most locations on the U.S. mainland?
-
The union and the employer agreed on the following set of facts. Lucky Resort operates a casino, a golf course, a hotel, and four restaurants at its facility, which is open year-round. The operations...
-
The Teaching Assistants Union at Civic University represents teaching assistants, markers, and sessional (contract) instructors. It also represents instructors in two programs offered by the...
-
Despite the fact that collective bargaining is one of the most important activities in labour relations, labour relations legislation concentrates mostly on establishing the conditions under which...
-
A political pollster approaches people on the street and asks them to describe their political affiliation. Twenty-eight people describe themselves as Democrats, 25 as Republicans, 8 people provide a...
-
Listed below are a number of hypothetical research hypotheses. For each hypothesis, identify the independent and dependent variable. a. Male drivers are more likely to exhibit road rage behaviors...
-
Listed below are a number of research questions and hypotheses from actual published articles. For each hypothesis, identify the independent and dependent variable. a. The use of color in a Yellow...
Study smarter with the SolutionInn App