Consider the following process model with two suspend states. Ready! suspend Event occurs Blocked/ suspend Admit...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following process model with two suspend states. Ready! suspend Event occurs Blocked/ suspend Admit New Activate Suspend Activate Suspend Admit Ready Event occurs Blocked Suspend Dispatch Timeout Running Event wait Release Exit (a) Briefly describe the Blocked and Ready / suspend states. (4 marks) (b) Give an example on each transition of state from Running state to Blocked state and then to Blocked/suspend state. (4 marks) (4 marks) (c) Why are two modes (user and kernel) needed in modern operating system? (d) Consider a computer with N processors in a multiprocessor configuration. (i) How many processes can be executed in each of the Ready, Running, and Blocked states at one time? Justify your answer. (4 marks) (ii) What is the minimum number of processes that can be executed in each of the Ready, Running, and Blocked states at one time? Justify your answer. (4 marks) Consider the following process model with two suspend states. Ready! suspend Event occurs Blocked/ suspend Admit New Activate Suspend Activate Suspend Admit Ready Event occurs Blocked Suspend Dispatch Timeout Running Event wait Release Exit (a) Briefly describe the Blocked and Ready / suspend states. (4 marks) (b) Give an example on each transition of state from Running state to Blocked state and then to Blocked/suspend state. (4 marks) (4 marks) (c) Why are two modes (user and kernel) needed in modern operating system? (d) Consider a computer with N processors in a multiprocessor configuration. (i) How many processes can be executed in each of the Ready, Running, and Blocked states at one time? Justify your answer. (4 marks) (ii) What is the minimum number of processes that can be executed in each of the Ready, Running, and Blocked states at one time? Justify your answer. (4 marks)
Expert Answer:
Answer rating: 100% (QA)
a Blocked state A process is in the blocked state when it is waiting for a resource to become available For example a process may be blocked waiting for an IO operation to complete or for a mutex lock ... View the full 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
-
Assume you are a media planner and you have just completed a media plan using both magazine and television advertising. Your magazine schedule reaches 50 percent of the target audience and your...
-
Discuss three benefits of seeking feedback, both in formal and informal ways, from those who are being coached. Discuss whether feedback should be formative or summative and justify your response....
-
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...
-
What does the following code fragment print? String \(s=\) "He11o World"; s. toUpperCase(); s. substring (6, 11); StdOut.println(s);
-
Find Vo in the circuit in Figure P8.64 jl.2 -j12 1:2 1 1602 2 -j8 6 Ideal 4 Figure P8. 64
-
The vice-president of sales and marketing, Madison Tremblay, is trying to plan for the coming year in terms of production needs to meet the forecasted sales. The board of directors is very supportive...
-
Find the z-score that corresponds to each percentile. 1. P 5 2. P 50 3. P 90
-
What role does communications play is sustaining Texas Nameplates entrepreneurial culture?
-
What are three resource management tools that facilitate family decision making? Discuss how to structure a successful performance appraisal interview?
-
Annette Creighton opened Creighton Consulting. She rented a small office and paid a part-time worker to answer the telephone and make deliveries. Her chart of accounts is as follows: Creighton's...
-
For the solid shaft shown in the figure, determine the maximum shearing stress. And the twisting angle. The modulus of Rigidity for the shaft is 40 GN/m Use the last THREE digits of your ID number...
-
25. If a current of 0.40 A is used to electrolyze a 0.50 M solution of Au3+(aq) for 35.0 minutes, how much Au(s) will be electroplated onto to a ring immersed in this solution? (Assume 100% current...
-
What was the highest contract price that the November orange juice futures contract has traded for over its lifetime? Open High Low Settle Change Lifetime High Lifetime Low Open Interest 128.50 73.00...
-
Over the last fifty years in Italy, the average annual return on small stocks, large stocks and corporate bonds have been 12.50%, 9.25% and 8.50% respectively. The short-term government securities in...
-
Q.8 Following are the summarized statements of financial position of Aluminium Limited (AL) and Silver Limited (SL) as at 31 December 2022: AL SL Rs. in million Property, plant and equipment 1,160...
-
1. An unpolarized light beam is incident on the polarizes of a polarization experiment and the intensity of light beam emerging from the analyzer is measured as 100 Lumens. Now, if the analyzer is...
-
Mark each function as even, odd, or neither: (a) sin(x) (b) e (c) |x-1| (d) 25 (e) r sin(x)
-
Michelles trust is subject to 3.8% surtax on the lesser of the trusts net investment income or the excess of the trusts adjusted gross income over the $12,400 threshold (the highest trust tax rate)....
-
What types of programming languages are vulnerable to buffer overflows?
-
Discuss the rationale for locating applications on the client, the server, or split between client and server.
-
What are three objectives of an OS design?
-
The tube is subjected to a torque of 750 N. m. Determine the amount of this torque that is resisted by the gray shaded section. Solve the problem two ways: (a) by using the torsion formula, (b) by...
-
The solid shaft has a diameter of 0.75 in. If it is subjected to the torques shown, determine the maximum shear stress developed in regions BC and DE of the shaft. The bearings at A and F allow free...
-
The solid shaft has a diameter of 0.75 in. If it is subjected to the torques shown, determine the maximum shear stress developed in regions CD and EF of the shaft. The bearings at A and F allow free...
Study smarter with the SolutionInn App