A process can be in the following states after it is created: New, Ready, Blocked, Ready/Suspend,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A process can be in the following states after it is created: New, Ready, Blocked, Ready/Suspend, Blocked/Suspend, Running, Exit. (a) Write down the state transition (i.e., from which state to which state) that a process would experience as a result of the decision made by (i) the long-term scheduler, (ii) the medium-term scheduler, and (iii) the short-term scheduler. (b) What do the following two states represent: the "Ready/Suspend” and "Blocked/Suspend"? Explain why there are two "Suspend" states instead of one. (c) By choosing one software application that runs in an OS, list the user or OS actions on the process of such application that causes the process to go through EACH ONE OF the states listed above starting from the New state to the Exit state. (8 marks) (d) Draw the state diagram of the scenario in your answer in part (b) above. In your answer, label the states of the process clearly, and specify which user or OS actions from part (b) above causes each of the state transitions in your state diagram. (e) Describe how the OS manages multiple processes in a uniprocessor system so that multiple processes can be in blocked states waiting for different events, multiple processes can be in ready states waiting for execution, and one process can be chosen to run by the CPU. A process can be in the following states after it is created: New, Ready, Blocked, Ready/Suspend, Blocked/Suspend, Running, Exit. (a) Write down the state transition (i.e., from which state to which state) that a process would experience as a result of the decision made by (i) the long-term scheduler, (ii) the medium-term scheduler, and (iii) the short-term scheduler. (b) What do the following two states represent: the "Ready/Suspend” and "Blocked/Suspend"? Explain why there are two "Suspend" states instead of one. (c) By choosing one software application that runs in an OS, list the user or OS actions on the process of such application that causes the process to go through EACH ONE OF the states listed above starting from the New state to the Exit state. (8 marks) (d) Draw the state diagram of the scenario in your answer in part (b) above. In your answer, label the states of the process clearly, and specify which user or OS actions from part (b) above causes each of the state transitions in your state diagram. (e) Describe how the OS manages multiple processes in a uniprocessor system so that multiple processes can be in blocked states waiting for different events, multiple processes can be in ready states waiting for execution, and one process can be chosen to run by the CPU.
Expert Answer:
Answer rating: 100% (QA)
a Longterm scheduler New state to Ready state Mediumterm scheduler Ready state to Blocked state and vice versa Shortterm scheduler Ready state to Running state and vice versa b ReadySuspend The proces... View the full answer
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date:
Students also viewed these operating system questions
-
Understanding the economics of markets and the tools of supply and demand, is the CHIPS act good government policy? Be certain to comment on market efficiency, the non-price determinants of demand...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
The Globe and Mail compiled a list of the top 100 public companies in Canada according to profit. Leading the list is the Toronto- Dominion Bank, followed by the Bank of Nova Scotia. The following...
-
Continuation of Exercise 3-109. (a) What is the probability that you must call six times in order for two of your calls to be answered in less than 30 seconds? (b) What is the mean number of calls to...
-
An aluminum baseball bat has a length of 0.86 m at a temperature of 17 oC. When the temperature of the bat is raised, the bat lengthens by 0.000 16 m. Determine the final temperature of the bat?
-
Water flows through a 2-in.-diameter pipe with a velocity of \(15 \mathrm{ft} / \mathrm{s}\) as shown in Fig. P8.78. The relative roughness of the pipe is 0.004, and the loss coefficient for the exit...
-
Agler Company specializes in manufacturing motorcycle helmets. The company has enough orders to keep the factory production at 1,000 motorcycle helmets per month. Aglers monthly manufacturing cost...
-
Explain how you could establish a framework using these theories to support an audit. Highlight the key principles of the American Institute of CPAs ( AICPA \' s ) Rules of Conduct. Compare and...
-
A national catalog and Internet retailer has three warehouses and three major distribution centers located around the country. Normally, items are shipped directly from the warehouses to the...
-
Evaluate lim x 3 7 sin () 2+5
-
The following forces are acting at at a point. Find magnitude and direction of the resultant force. (i) 20 N force acting at 30 North of East. (ii) 25 N force towards North. (iii) 30 N force towards...
-
In a wheel of a bike, there are six spokes. If tensile forces in consecutive four spokes are 10N, 14N, 12N, and 5N respectively. Calculate the tensile forces in remaining two spokes. The wheel is in...
-
Find magnitude of two forces such that if they act at right angle, their resultant is 90 N and when they act at 60 their resultant is 117 N?
-
HSA contributions made by an employer: A. May include amounts above and beyond the employee's annual contribution limits. B. Are included in the amount in box 12, code W on Form W-2. C. Must be used...
-
Refer to Exercise 8.S.I. Construct a scatterplot of the data. Does the appearance of the scatterplot indicate that the pairing was effective? Explain. Exercise 8.S.I. A volunteer working at an animal...
-
Define the terms physical, logical, and behavioral security, and give an example of each one that illustrates the differences among them.
-
Create a context-level diagram for billing in a dental office. External entities include the patients and insurance companies.
-
What can be shown on a class diagram?
-
The accountant for Elite Security Services Ltd reviewed the following information for accounts receivable: For the financial year 2022 - 2023 1. At 1 July 2022, Allowance for Doubtful Debts had an...
-
On 1 June, Sugar Rush Ltd had Accounts Receivable and Allowance for Doubtful Debts accounts as below. GST Inclusive. The following transactions occurred during the month of June: 5. Credit sales...
-
Outback Get Away Ltd sells four-wheel drive accessories and recovery equipment on credit. The accounting records at 30 June 2023 highlights the following. Ignore GST. In the past, the companys yearly...
Study smarter with the SolutionInn App