Skip to content

ISRO Scientist/Engineer CSE 2020Databases › Transactions and Concurrency Control

ISRO Scientist/Engineer CSE 2020 PYQ: Raymonds tree based algorithm ensures

Raymonds tree based algorithm ensures

  1. A
    no starvation, but deadlock may occur in rare cases
  2. B
    no deadlock, but starvation may occur
    Correct answer
  3. C
    neither deadlock nor starvation can occur
  4. D
    deadlock may occur in cases where the process is already starved

Answer

(B) no deadlock, but starvation may occur

Approach

Raymond's tree-based algorithm is a distributed mutual exclusion algorithm that arranges processes in a logical tree and uses a token to grant critical section access. The token-holding process is always reachable via the tree edges, so a circular wait (deadlock) cannot form. However, a process may wait indefinitely if requests keep getting forwarded to other nodes, leading to possible starvation.

Reviewed by ISRO IQ Editorial Team.