...
Process-Synchronization
October 11, 2023
Process-Synchronization
October 11, 2023
Process-Synchronization
October 11, 2023
Process-Synchronization
October 11, 2023

Process-Synchronization

Question 49
Semaphores are used to :
A
Synchronise critical resources to prevent deadlock
B
Synchronise critical resources to prevent contention
C
Do I/o
D
Facilitate memory management
Question 49 Explanation: 
→ Semaphores are implemented to prevent deadlocks using wait and signal operation.
→ A semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system.
→ A semaphore is simply a variable. This variable is used to solve critical section problems and to achieve process synchronization in the multi processing environment.
Correct Answer: A
Question 49 Explanation: 
→ Semaphores are implemented to prevent deadlocks using wait and signal operation.
→ A semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system.
→ A semaphore is simply a variable. This variable is used to solve critical section problems and to achieve process synchronization in the multi processing environment.

Leave a Reply

Your email address will not be published. Required fields are marked *