• recategorized by
889 views
3 3 votes
In Dining philospher problem, there are X number of dinners and Y number of chopsticks. What is the minimum number of chopsticks required to insure that there will be no deadlock?

A) X

B) Y - X

C) Y - X + 1

D) [Y/2] + 1

1 Answer

2 2 votes
Answer should be A, which is X. I think here dinners is referring to the philosophers else question not making any sense.
Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
700
700 views
Venomking asked Jul 21, 2023
700 views
The answer is not given as (d), does pre emotion do not work in threads?Consider the following two-thread program, where initially value of integer counter = $0$ :Thread ...
0 0 votes
1 1 answer
690
690 views
admin asked May 20, 2023
690 views
Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is first come first serv...
0 0 votes
1 1 answer
552
552 views
admin asked May 20, 2023
552 views
Match $\text{List I}$ with $\text{List II}$$\text{List I}$$\text{List II}$$\text{A}$. IPC$\text{I}$. Resource Allocation$\text{B}$. Demand Paging$\text{II}$. Computationa...
0 0 votes
1 1 answer
910
910 views
admin asked Oct 23, 2022
910 views
Match List I with List II :$\begin{array}{ll} \text{List I} & \text{List II} \\ \\\text { (A) Least frequently used } & \text { (I) Memory is distributed among processors...