Q1. Assume you have a system with three processes (X, Y, and Z) and a single...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q1. Assume you have a system with three processes (X, Y, and Z) and a single CPU. Process X has the highest priority, process Z has the lowest, and Y is in the middle. Assume a priority-based scheduler (i.e.. the scheduler runs the highest priority job, performing preemption as necessary). Processes can be in one of five states: RUNNING, READY, BLOCKED, NOT YET CREATED, or TERMINATED. Given the following cumulative timeline of process behavior, indicate the state the specified process is in AFTER that step, and all preceding steps, have taken place. For all questions in this Part, use the following options for each answer: 1. Running 2. Ready 3. Blocked 4. Process Has Not Created Yet 5. Terminated Step 1: Process X is loaded into memory and begins; it is the only user-level process in the system. i) Process X is in which state? ii) Process Y is in which state? Step 2: The running process issues an I/O request to the disk. iii) Process X is in which state? iv) Process Y is in which state? Step 3: The previously issued I/O request completes. v) Process X is in which state? vi) Process Y is in which state? vii) Process Z is in which state? Step 4: The running process completes. vii) Process X is in which state? ix) Process Y is in which state? x) Process Z is in which state? (10 Marks) Q1. Assume you have a system with three processes (X, Y, and Z) and a single CPU. Process X has the highest priority, process Z has the lowest, and Y is in the middle. Assume a priority-based scheduler (i.e.. the scheduler runs the highest priority job, performing preemption as necessary). Processes can be in one of five states: RUNNING, READY, BLOCKED, NOT YET CREATED, or TERMINATED. Given the following cumulative timeline of process behavior, indicate the state the specified process is in AFTER that step, and all preceding steps, have taken place. For all questions in this Part, use the following options for each answer: 1. Running 2. Ready 3. Blocked 4. Process Has Not Created Yet 5. Terminated Step 1: Process X is loaded into memory and begins; it is the only user-level process in the system. i) Process X is in which state? ii) Process Y is in which state? Step 2: The running process issues an I/O request to the disk. iii) Process X is in which state? iv) Process Y is in which state? Step 3: The previously issued I/O request completes. v) Process X is in which state? vi) Process Y is in which state? vii) Process Z is in which state? Step 4: The running process completes. vii) Process X is in which state? ix) Process Y is in which state? x) Process Z is in which state? (10 Marks)
Expert Answer:
Answer rating: 100% (QA)
For Step 1 i Process X is in the Running state because its the only userlevel process in the system ... View the full answer
Related Book For
Posted Date:
Students also viewed these finance questions
-
If someone is in the 25 percent tax bracket, this means that ______ is owed in taxes. a. 25 percent of his or her salary b. 25 percent of his or her adjusted gross income c. 25 percent of his or her...
-
Ashley Travis, of Harrisburg, Illinois, is in the 25 percent marginal tax bracket and is considering the tax consequences of investing $2,000 at the end of each year for 30 years in a tax-sheltered...
-
Jonathan has the following separate casualties during the year: Decrease in Fair Market Value Adjusted Basis Business furniture $5,000 3 years $4,000 15,000 Business machinery 14,000 3 years The...
-
The electron affinity of oxygen is -141kJ/mol, corresponding to the reaction O (g) + e- O- (g) The lattice energy of K2O(s) is 2238kJ/mol. Use these data along with data in Appendix C and Figure 7.9...
-
A $15 000, 2.5% bond is purchased six years and six months before maturity to yield 3% semi-annually. If the bond interest is payable semi-annually, what is the purchase price of the bond?
-
What does Apple state regarding its accounting policy involving consolidated financial statements?
-
On March 13, 1963, Ernesto Miranda was arrested for kidnapping and rape and taken to a Phoenix police station. After being identified by the complaining witness, he was questioned by two police...
-
Klumb Inc. uses a periodic inventory system. Its records show the following for the month of May, in which 74 units were sold. InstructionsCalculate the ending inventory at May 31 using the (a) FIFO,...
-
1. a) Suppose you deposit $2500 each year for 20 years in a savings account paying 5% compounded annually. How much would the account contain after 20 years? How much of the FV did you actually...
-
Complete the missing amounts in the following production report. Materials are added at the beginning of the process; conversion costs are incurred evenly; the ending inventory is 60% complete. The...
-
1. You decide to add an additional oven to the process. The number of dozens of cookies that can be produced per hour will increase to: 12 dozen because we doubled the capacity of the baking step....
-
Two birds are flying south for the winter. Bird 1 reaches its destination in 10 hours, while bird 2 reaches its destination in 8 hours. If bird 2 covers twice as much distance as bird 1, what is the...
-
5.1 A 0.30-kg object is thrown vertically from ground level and rises to a maximum height of 25 m. Calculate the initial kinetic energy of the object.
-
Light with intensity, I, produces a photoelectric emission, and the photoelectrons have a maximum kinetic energy of 5 . 0 eV . If the inensity of light is tripled, what is fhe maximum kinetic energy...
-
Humans remain cool due to sweating. The reason this works can be best explained by which of the properties of water?
-
In a hydraulic press, the largest piston has a diameter of 5 0 cm and can lift up to 1 . 4 Tons when a force of 2 0 0 N is applied to the smaller piston. What is the radius of the minor piston?
-
In your response, comment mainly on the validity and reliability of the data collected for the purpose of their program evaluation and possible alternative ways of collecting data. Background...
-
Provide a draft/outline of legal research involving an indigenous Canadian woman charged with assault causing bodily harm under (Sec 267b) of the Criminal Code, where the crown wants a 12-month jail...
-
If the supply and demand curves cross at a price of $2, at any price above that there will be a). An equilibrium b). A surplus c). A shortage d). A crisis
-
The existence of the federal income tax and the welfare system serve as the primary elements of a. Discretionary fiscal policy. b. Non-discretionary fiscal policy. c. Monetary policy. d. Exchange...
-
Suppose you observe that minor changes in supply seem to cause dramatic changes in price, you would conclude that A. Demand is unit elastic. B. Demand is elastic. C. Demand is inelastic. D. Demand is...
-
The things that might lead a person to quit might not be the same things that lead a person to stay with an organization. For example, another job offer or the tendency to always be looking for new...
-
Divide the team into three groups. Each group will choose value, brand, or retention equity. Or, if team sizes are smaller, each team will select an equity component. For each equity component,...
-
Generate survey or interview items that would capture value-, brand-, or retention-equity levels in workers. If possible, ask a sample of your friends and neighbors to take a survey based on your...
Study smarter with the SolutionInn App