Q31
A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have such that deadlocks never arise is _________.
Show answer without attempting
Answer: 7
GATE CS · Operating Systems · 2 questions
2 Deadlocks questions from GATE CS papers (2014), each with the official answer key. Part of Operating Systems. Answer any question right here and it is marked straight away, or practise them one at a time.
Answer: 7
| Allocation X | Allocation Y | Allocation Z | Max X | Max Y | Max Z | |
|---|---|---|---|---|---|---|
| P0 | 0 | 0 | 1 | 8 | 4 | 3 |
| P1 | 3 | 2 | 0 | 6 | 2 | 0 |
| P2 | 2 | 1 | 1 | 3 | 3 | 3 |
Answer: B
0/20 correct0 marks