Exam 6: Synchronization Tools
Exam 1: Introduction57 Questions
Exam 2: Operating-System Structures42 Questions
Exam 3: Processes55 Questions
Exam 4: Threads Concurrency59 Questions
Exam 5: Cpu Scheduling57 Questions
Exam 6: Synchronization Tools61 Questions
Exam 7: Synchronization Examples57 Questions
Exam 8: Deadlocks40 Questions
Exam 9: Main Memory58 Questions
Exam 10: Virtual Memory54 Questions
Exam 11: Mass-Storage Structure46 Questions
Exam 12: Io Systems30 Questions
Exam 13: File-System Interface50 Questions
Exam 14: File-System Implementation36 Questions
Exam 15: File-System Internals25 Questions
Exam 16: Security32 Questions
Exam 17: Protection32 Questions
Select questions type
Mutex locks and counting semaphores are essentially the same thing.
(True/False)
4.8/5
(31)
Assume you had a function named update() that updates shared data. Illustrate how a mutex lock named mutex might be used to prevent a race condition in update().
(Essay)
4.7/5
(34)
Which of the following is not true about test_and_set instruction?
(Multiple Choice)
4.8/5
(40)
Which of the following is not true about compare_and_swap instruction?
(Multiple Choice)
4.9/5
(34)
Under which of the following contention loads does traditional synchronization become faster than CAS-based synchronization?
(Multiple Choice)
4.9/5
(36)
Which of the following is NOT true for Peterson's solution?
(Multiple Choice)
5.0/5
(32)
When mutex lock is implemented as a binary semaphore, what should its value be initialized to be?
(Multiple Choice)
4.8/5
(45)
What is the correct order of operations for protecting a critical section using a binary semaphore?
(Multiple Choice)
5.0/5
(40)
In _________, the process may be changing common variables, updating a table, writing a file, and so on.
(Multiple Choice)
4.9/5
(37)
The preemptive kernel may be more responsive than non-preemptive kernel.
(True/False)
4.8/5
(30)
In _________, the process requests permission to access and modify variables shared with others.
(Multiple Choice)
4.8/5
(33)
Explain two general approaches to handle critical sections in operating systems.
(Essay)
4.7/5
(34)
Showing 21 - 40 of 61
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)