Intro to Operating Systems

Intro to Operating Systems Student: Gabriel Guevara Chapter: 5 Exercises Exercise #2 Give at least two “real life” examples (not related to a computer system environment) of each of these concepts: deadlock, starvation and race. Describe how the deadlocks could be resolved. 2 real life examples of the concept of deadlock: A. In a presidential election 2 candidates reach an electoral deadlock when neither candidate get a majority of the 270 electoral votes required to win the presidency.

This is resolved by the House of Representatives, with each state delegation having one vote. Senators would elect the vice-president. B. Diet deadlock occurs when calories are restricted when a human being is dieting , as a consequence the body’s metabolism slows down; The reason is the body is worried about going into starvation mode and is trying to holdown to leftover body fat. The solution to diet deadlock is to: 1. Eat more protein to boost metabolism. 2. Lift weights to increase muscle mass, the more muscle mass the more calories burned in a 24 hour period (day). . Do more cardio to burn more calories. 2 Real life examples of Starvation: Hypoxia is the name given to oxygen starvation, for example of this condition is when brain tissue is deprived of oxygen-rich-blood, if this condition lingers a range of events could follow such as permanent brain damage or death. The solution is to restore the flow of oxygen-rich-blood to the brain via any surgical procedure that would unlock the deadlock or flow of vital oxygen enriched blood back into the brain.

Aviation Fuel starvation occurs when there is a supply problem to the engine for various reasons such as a blocked fuel filter or gradual fuel pump failure. But the most popular problem with fuel starvation is with aircraft with water contaminated fuel being delivered to the engine instead of none-contaminated fuel resulting in fuel starvation within the engine. This is corrected by replacing the fuel filter or fuel pump and testing the fuel for the presence of water prior to use for a flight. 2 Examples of the term race: Exploitative competition is when 2 organisms vie for the same resources.

One way for nature to solve this condition is to naturally develop habitat conditions to induce mutualistic bonds between the 2 organisms so that one cannot survive in their natural habitat without the other, therefore perhaps reversing deadlock conditions. Organism competition: Utilization of the same resources by organisms of the same or different species living together in a community resulting in a sort of deadlock competition for said resources. One way to relief this deadlock condition is for one organism to develop a method of eliminating the other by intelligently depriving it from the resource in question.

Advance exercise 14 A system that is in an unsafe state is not necessarily deadlock. Explain why this is true? Give an example of such system (in an unsafe state) and describe how all the processes could be completed without causing deadlock to occur. Answer 1: An unsafe state doesn’t suggest a realistic deadlock is presently occurring it appears this term is used to described that a sequence of events have now set favorable condition(s) to suggest a deadlock is highly likely to occur.

Answer 2: An example of an unsafe state within a system could be where a system has jobs in its request queue greater than what is available in memory to handle the jobs waiting to be executed, setting ideal conditions for a deadlock. The concept of avoidance suggest that the system can remove one of the deadlock conditions if it knew ahead of time the sequence of a request associated with each of the active processes. There must exist at least one allocation of resources sequence that would allow jobs to continue without becoming deadlocked.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with MyStudyWriters
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Business and administrative studies
Thank you for your hard work
Customer 452773, October 19th, 2023
fin571
EXCELLEN T
Customer 452773, March 21st, 2024
Business and administrative studies
Thank you for your hard work and effort. Made a 96 out of 125 points Lacked information from the rubic
Customer 452773, October 27th, 2023
Business and administrative studies
excellent job! got an A, thank you
Customer 452773, May 24th, 2023
Philosophy
Thank you
Customer 452811, February 17th, 2024
Sociology
THANK YOUUUUU
Customer 452591, March 18th, 2021
Leadership Studies
awesome work as always
Customer 452773, August 19th, 2023
Business and administrative studies
excellent job!
Customer 452773, May 25th, 2023
Business and administrative studies
always perfect work and always completed early
Customer 452773, February 21st, 2023
English 101
great summery in terms of the time given. it lacks a bit of clarity but otherwise perfect.
Customer 452747, June 9th, 2021
Business and administrative studies
excellent, got a 100
Customer 452773, May 17th, 2023
Managerial Accounting & Legal Aspects of Business ACC/543
excellent work
Customer 452773, February 7th, 2024
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Close

Sometimes it is hard to do all the work on your own

Let us help you get a good grade on your paper. Get professional help and free up your time for more important courses. Let us handle your;

  • Dissertations and Thesis
  • Essays
  • All Assignments

  • Research papers
  • Terms Papers
  • Online Classes
Live ChatWhatsApp