engineering recuitment Rajasthan Informatics Assistant (Suchna Sahayak) Mock Test 2023 Operating Systems Concurrency and Synchronization Operating System Solution
Which of the following statements is NOT true with respect to semaphores?
1
When one process modifies the semaphore value, no other process can simultaneously modify the same semaphore value.
2
An integer variable that, apart from initialisation, is accessed only through two standard atomic operations.
3
Semaphore is a signalling mechanism, i.e. processes perform wait() and signal() operation to indicate whether they are acquiring or releasing the resource
4
A process must acquire the lock before entering the critical section; it releases the lock when it exits the critical section.