adplus-dvertising
frame-decoration

Question

What is Semaphore?

a.

Grant more than one thread access to a shared resource at the same time

b.

Useful when a collection of resources is being synchronized

c.

Make use of a counter to control access to a shared resource

d.

All of the mentioned

Answer: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is Semaphore?

Similar Questions

Discover Related MCQs

Q. Which method is used to abort thread prior to it’s normal execution?

Q. Which of these statements is incorrect ?

Q. What is multithreaded programming?

Q. What is an iterator?

Q. What are the advantages of the named iterator?

Q. Which namespace is mostly preferred for the operation of networking in C#?

Q. Which of the following are the classes defined by the namespace System.Net:

Q. Which of the following are the interfaces defined by the namespace System.Net:

Q. Which of the following are the classes that support the standard HTTP protocol ?

Q. Which of the following class/classes supports the task of uploading and downloading the file:

Q. How many ports of TCP/IP are reserved for specific protocols?

Q. How many bits are present in a single IP address?

Q. Which of the following is the full form of DNS?

Q. Which of the following classes is used to encapsulate IP address and DNS?

Q. Which of the following are the protocols defined by .NET runtime:

Q. What does URL stand for?

Q. Which of these exceptions is thrown by the URL class’s constructors?

Q. What does the following form define?

Protocol://HostName/FilePath?Query

Q. Which of these classes is used to encapsulate IP address and DNS?

Q. Which of these is a standard for communicating multimedia content over email?