Question
1.
2.
3.
4.
Answer (Detailed Solution Below)
Option 1 : 5 / 5
Advertisement
Detailed Solution
सही उत्तर 5 / 5 है।
Key Points
Helpful?
Question:
A counting semaphore is initialized to 5. At most how many processes can enter the critical section simultaneously? / एक काउंटिंग सेमाफोर 5 से प्रारंभ किया गया है। अधिकतम कितनी प्रक्रियाएँ एक साथ क्रांतिक खंड में प्रवेश कर सकती हैं?
1.
5 / 5
2.
1 / 1
3.
0 / 0
4.
Unlimited / असीमित
Correct Answer: 5 / 5
A counting semaphore with initial value n permits up to n processes to pass wait() before blocking; a binary semaphore (value 1) permits only one. / n मान वाला काउंटिंग सेमाफोर n प्रक्रियाओं को wait() पार करने देता है।
Downloaded from PrepSnap (prepsnap.in)