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...
-
Discuss some of the ways that estimates of the costs of competitors products can be determined.
-
Where do we have an expectation of privacy?
-
What is the product of 4 and 19 modulo 12 ?
-
Eleanor's Computers is a retailer of computer products. Using the financial data provided, complete the financial ratio calculations for 2010. Advise management of any ratios that indicate potential...
-
Please help. USE THE FOLLOWING INFORMATION FOR QUESTIONS #1-7: The company has a defined benefit plan Salary at the end of 2005 $ 85,000 Employment started at the beginning of 2001 Retirement...
-
Sebastian Trains Co (ST) is a UK based rail operating company which holds three UK rail franchises. The franchises allow ST to run trains on the rail network in a particular geographical area within...
-
Testir Corp. has outstanding 'zero coupon' debt of $600 million, so $600 million is due at the end of year 1. Testir begins a risky corporate strategy. Management estimates with a 60% probability,...
-
FIN 3600 Module 6 Assignment 2: Applying Capital Budgeting Techniques to Analyze Projects Name: For full credit, you must show your work Main Capital Incorporated is considering two mutually...
-
Explain the concept of customer lifetime value (CLV) and how and why should (shouldn't)use it.
-
1. What is time-driven activity based management (TDABC)?How does it differfrom activity based costing (ABC)and why would TDABC be used in place of ABC? 2. According to a Wall Street Journal article...
-
On January 1, 2021, X Company estimated the following costs for the year: Direct materials$61,700 Direct labor96,900 Factory supplies19,800 Factory maintenance28,000 Advertising46,200 Factory...
-
International Listening Association (www.listen.org) Answer the following questions. 1. What is the mission of the International Listening Association? 2. What is the student membership fee for the...
-
Briefly outline the following items:the pros and cons of accrual basis v. cash basis,how the accounting cycle works, andhow it could benefit Idris. 0 answers
-
Several months have passed and the Managing Partner approved and properly filed the Complaint and properly submitted the Request for Production of Documents that you drafted. In fact, it has been 75...
-
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...
-
Explain how deductions and tax credits affect the amount of income tax you pay.
-
What is your taxable income?
-
What is the relationship between taxes and personal financial planning?
Study smarter with the SolutionInn App