Question:
In an operating system using the Banker’s algorithm, what does it mean when the current system state is classified as ‘Safe’?
बैंकर एल्गोरिदम का उपयोग करने वाले ऑपरेटिंग सिस्टम में, वर्तमान स्थिति को ‘सुरक्षित’ (Safe State) कहे जाने का क्या अर्थ है?
Options:
- There exists at least one sequence in which all processes can finish execution without entering a deadlock
- No process will ever request any more resources
- All processes have completed execution and released their resources
- The CPU utilization is at 100%
- कम से कम एक ऐसा क्रम मौजूद है जिसमें सभी प्रक्रियाएं बिना डेडलॉक में पड़े अपना निष्पादन पूरा कर सकती हैं
- कोई प्रक्रिया अब किसी संसाधन का अनुरोध नहीं करेगी
- सभी प्रक्रियाओं ने निष्पादन पूरा कर लिया है
- CPU उपयोग 100% पर है
Correct Answer: a)
Explanation:
A state is safe if there exists a safe execution sequence \(\langle P_1, P_2, …, P_n \rangle\) such that for each \(P_i\), the resources that \(P_i\) still needs can be satisfied by current available resources plus resources held by all previous processes.
सुरक्षित अवस्था (Safe State) का अर्थ है कि कम से कम एक ऐसा सुरक्षित क्रम (Safe Sequence) उपलब्ध है जिससे सभी प्रक्रियाएं बिना डेडलॉक के पूरी हो सकती हैं।