Professional KnowledgeHardIBPS SO IT
A system has 3 processes sharing 4 identical resource units, each needing at most 2 units. The system is:
- A. Possibly deadlocked
- B. Always deadlocked
- C. Deadlock-free
- D. Unsafe
Correct answer: C. Deadlock-free
Worst case each holds 1 (3 units), 1 left lets one finish, so no deadlock: need n(r-1)+1 <= 4 gives 4 <= 4.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- Which of the four conditions for deadlock is broken by requiring processes to request all resources at once?
- Producer-consumer with a bounded buffer of N slots uses semaphores. Initial values are:
- Race condition occurs when:
- Two-level paging for a 32-bit address with 4 KB pages: 10 bits outer, 10 bits inner and 12 bit offset. Entries in each inner table (4…
- Memory access 100 ns, TLB lookup 10 ns, hit ratio 90%, two-level paging. EMAT is:
- Reference string 7,0,1,2,0,3,0,4,2,3,0,3,2 with 3 frames and FIFO. Number of page faults: