Question 116
[Q.16] Which condition is NOT one of the four necessary conditions for deadlock to occur?
Detailed Solution
No preemption is the required deadlock condition (non-preemption).
[Q.16] Which condition is NOT one of the four necessary conditions for deadlock to occur?
No preemption is the required deadlock condition (non-preemption).
[Q.17] The Banker's Algorithm is primarily used in operating systems for:
Banker's algorithm ensures system stays in a safe state to avoid deadlocks.
[Q.18] What is the purpose of a counting semaphore initialized to a value of 5?
Semaphore value tracks available resource units.
[Q.19] In Linux file system, an 'inode' stores:
Inode stores metadata and block pointers; file name is stored in directory entry.
[Q.20] Shortest Remaining Time First (SRTF) is the preemptive version of:
SRTF preempts running process if a new process arrives with shorter remaining CPU burst.