Computer Science EngineeringVery hard
Banker's algorithm: Available = (3,3,2); P1 has Allocation (2,0,0) and Max (3,2,2) and P1 can run to completion first. What is the Available vector after P1 finishes and releases its resources?
- A. (5,3,2)
- B. (3,3,2)
- C. (7,4,5)
- D. (4,3,2)
Correct answer: A. (5,3,2)
Finished processes return their Allocation, so (3,3,2) + (2,0,0) = (5,3,2).
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
- A logical address space has 64 pages of 1 KB each and is mapped onto physical memory of 32 frames. How many bits are in the physical…
- Thrashing in a virtual memory system is mainly caused by
- A file system inode has 12 direct pointers and one single-indirect pointer. The block size is 4 KB and a pointer is 4 bytes. What is the…
- A table has 10 rows and column x contains 3 NULL values. What does SELECT COUNT(x) FROM table return?
- A schedule is conflict-serializable if and only if its precedence (serialization) graph
- Compared with a B-tree, a B+ tree keeps data only in linked leaf nodes, which makes it especially efficient for