...
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.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!