Digital-Logic-Design
February 7, 2025ISRO CS 2014
February 11, 2025Operating-Systems
Question 1 |
Two processes X and Y need to access a critical section. Consider the following synchronization construct used by both the processes.
Here, varP and varQ are shared variables and both are initialized to false. Which one of the following statements is true?

Here, varP and varQ are shared variables and both are initialized to false. Which one of the following statements is true?
The proposed solution prevents deadlock but fails to guarantee mutual exclusion | |
The proposed solution guarantees mutual exclusion but fails to prevent deadlock | |
The proposed solution guarantees mutual exclusion and prevents deadlock | |
The proposed solution fails to prevent deadlock and fails to guarantee mutual exclusion |
Correct Answer: A
Subscribe
Login
0 Comments