UGC NET Paper 2 (Computer Science)Hard
Compared to semaphores, a monitor provides:
- A. Automatic mutual exclusion on its procedures plus condition variables for scheduling constraints
- B. No synchronisation guarantees at all
- C. Mutual exclusion only, with no way to express waiting conditions
- D. A purely hardware-implemented locking mechanism
Correct answer: A. Automatic mutual exclusion on its procedures plus condition variables for scheduling constraints
A monitor encapsulates shared data with procedures that execute with implicit mutual exclusion, while condition variables (wait/signal) handle scheduling, reducing the manual bookkeeping semaphores require.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- The main advantage of a multilevel feedback queue scheduler over a simple multilevel queue scheduler is that it:
- The convoy effect, where a long CPU-bound process causes many short processes to wait behind it, is most characteristic of:
- A relation R(Student, Course, Hobby) has two independent multivalued dependencies, Student ->> Course and Student ->> Hobby, with no…
- In relational query optimisation, the heuristic of pushing selection operations down below joins is beneficial mainly because it:
- Relations R (1000 blocks) and S (500 blocks) are joined with block nested-loop join, R as the outer relation, using 12 buffer blocks in…
- The Durability property of ACID transactions is primarily guaranteed by: