Computer Science EngineeringHardISRO SC
3 processes each need a maximum of 2 units of the same resource (held one at a time). What is the minimum number of units that guarantees deadlock freedom?
- A. 3
- B. 4
- C. 5
- D. 6
Correct answer: B. 4
Worst case each holds 1: 3x1=3; one extra unit lets someone finish => 4.
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
- 3 processes each need a maximum of 4 units of the same resource (held one at a time). What is the minimum number of units that guarantees…
- Free partitions (in KB, in address order) are 400, 150, 400, 600, 100. Processes of sizes 260, 350, 90, 210 KB arrive in this order. Using…
- Free partitions (in KB, in address order) are 200, 500, 150, 300, 150. Processes of sizes 420, 350, 420, 350 KB arrive in this order…
- A B+ tree node (block 4096 bytes) holds up to p child pointers of 8 bytes and p-1 keys of 12 bytes. The order p (max pointers per node) is
- A B+ tree node (block 2048 bytes) holds up to p child pointers of 6 bytes and p-1 keys of 10 bytes. The order p (max pointers per node) is
- R(A,B,C,D) with FDs AB->C, C->D, D->A. The closure AB+ is