Which of the following is a synchronization mechanism?
-
Bakery Algorithm
-
Bankers Algorithm
-
Round Robin Algorithm
-
LRU Algorithm
A
Correct answer
Explanation
The Bakery Algorithm is a mutual exclusion algorithm used for process synchronization in critical sections. It ensures that processes take turns accessing shared resources by assigning numbers and waiting their turn. Bankers Algorithm is for deadlock avoidance, Round Robin is a CPU scheduling algorithm, and LRU is a page replacement algorithm.