Consider the dining philosophers problem and which of the below statements are TRUE to synchronize the philosophers problem. Assume there are ‘N’ philosophers.

  1. (N-1) philosophers should take the left fork and later right fork, and the remaining one philosophers should take right fork first and later left fork.
  2. Odd philosophers should follow left to right and even philosophers should follow right to left.
  3. Odd and even philosophers should follow the left to right fork.

     (6)

Which of the following statement is true?

1
only 1
2
only 2
3
only 1 and 2
4
only 2 and  3

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation