Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Understanding Operating Systems
Quiz 5: Process Synchronization
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
True/False
Although the Banker's Algorithm has been used to avoid deadlocks in systems with a few resources,it isn't practical for most systems.
Question 2
True/False
If locks are not used to preserve data integrity,the updated records in a database may include only some of the data-and their contents depend on the order in which each process finishes its execution.
Question 3
True/False
One problem with the Banker's Algorithm is that because the algorithm assumes the worst case,vital resources can be unavailable in order to guard against unsafe states.
Question 4
True/False
All recovery algorithms have one feature in common: they all require at least one victim,which,when removed from the deadlock,will free the system.
Question 5
True/False
To recover from deadlock,a factor that is commonly considered when selecting a victim is the CPU time used by a job - jobs close to completion are usually left alone.
Question 6
True/False
In the dining philosophers problem,there are five philosophers and four forks.
Question 7
True/False
A livelock can be caused by two processes accessing different areas of the same disk.
Question 8
True/False
When using the Banker's Algorithm,an operating system must be sure never to satisfy a request that moves it from a safe state to an unsafe one.
Question 9
True/False
Resource holding,where a job holds on to one resource while waiting for another one that's not yet available,can be sidestepped by forcing each job to request,at creation time,every resource it will need to run to completion.