adplus-dvertising
frame-decoration

Question

A semaphore is a shared integer variable

a.

that can not drop below zero

b.

that can not be more than zero

c.

that can not drop below one

d.

that can not be more than one

Posted under Operating System

Answer: (a).that can not drop below zero

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A semaphore is a shared integer variable

Similar Questions

Discover Related MCQs

Q. Mutual exclusion can be provided by the

Q. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called

Q. Process synchronization can be done on

Q. A monitor is a module that encapsulates

Q. To enable a process to wait within the monitor,

Q. Restricting the child process to a subset of the parent’s resources prevents any process from :

Q. A parent process calling _____ system call will be suspended until children processes terminate.

Q. Cascading termination refers to termination of all child processes before the parent terminates ______.

Q. With ……………. only one process can execute at a time; meanwhile all other process are waiting for the processor. With ………….. more than one process can be running simultaneously each on a different processor.

Q. In UNIX, each process is identified by its :

Q. In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process.

Q. The child process can :

Q. The child process completes execution,but the parent keeps executing, then the child process is known as :

Q. Inter process communication :

Q. Messages sent by a process :

Q. The link between two processes P and Q to send and receive messages is called :

Q. Which of the following are TRUE for direct communication :

Q. In indirect communication between processes P and Q :

Q. In the non blocking send :

Q. In the Zero capacity queue :