The processes are in deadlock when?
عمل تعطل کا شکار ہیں کب؟
- The first process locks the first resource at the same time as the second process locks the second resource
- All processes terminate
- All processes blocked
- All processes try to kill each other
Explanation
- A deadlock is a situation in which two or more processes are blocked indefinitely, each waiting for the other to release a resource.
- In this scenario, the processes are said to be in a deadlock because they are unable to proceed due to resource constraints.
Related MCQs
آپ کا اکاؤنٹ کھولنے کے لیے درج ذیل میں سے کون سا استعمال کیا جا سکتا ہے؟
- Sing in
- Log in
- Sing out
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ریم کونسی میموری ہے؟
- Permanent
- Volatile
- Primary Memory
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
سافٹ ویئر کی خرابیوں کا عام نام کیا کہلاتا ہے
- Bugs
- Viruses
- Logic Bombs
- Trojans
اس سوال کو وضاحت کے ساتھ پڑھیں
پروگرام میں غلطیاں درست کرنے کوکیا کہا جاتا ہے
- Modifying
- Rectifying
- Bugging
- Debugging
اس سوال کو وضاحت کے ساتھ پڑھیں
- Primary Memory
- Secondary Memory
- Volatile Memory
- Cache Memory