Computer Science EngineeringVery hard
Seven units of one resource type are shared by processes that each need at most 3 units. What is the largest number of processes that guarantees deadlock freedom?
- A. 2
- B. 6
- C. 3
- D. 4
Correct answer: C. 3
Deadlock freedom needs n(m-1)+1 <= R, i.e. 2n + 1 <= 7, so n <= 3.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- Which of the following CPU scheduling algorithms is non-preemptive by definition?
- Which layer of the OSI model is responsible for routing packets between networks?
- A page fault occurs when a process
- Removing partial dependencies of non-key attributes on a candidate key brings a relation into
- Which of the following protocols is connectionless?
- Processes P1, P2, P3 arrive at time 0 with CPU bursts 10, 5 and 8 ms. Under round robin with time quantum 4 ms, the average waiting time…