adplus-dvertising
frame-decoration

Question

A monitor is characterized by :

a.

a set of programmer defined operators

b.

an identifier

c.

the number of variables in it

d.

all of the mentioned

Posted under Operating System

Answer: (a).a set of programmer defined operators

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A monitor is characterized by :

Similar Questions

Discover Related MCQs

Q. A procedure defined within a ________ can access only those variables declared locally within the _______ and its formal parameters.

Q. The monitor construct ensures that :

Q. The operations that can be invoked on a condition variable are :

Q. The process invoking the wait operation is :

Q. If no process is suspended, the signal operation :

Q. A collection of instructions that performs a single logical function is called :

Q. A terminated transaction that has completed its execution successfully is ____________ otherwise it is __________

Q. The state of the data accessed by an aborted transaction must be restored to what it was just before the transaction started executing. This restoration is known as ________ of transaction.

Q. Write ahead logging is a way :

Q. In the write ahead logging a _____ is maintained.

Q. An actual update is not allowed to a data item :

Q. The undo and redo operations must be _________ to guarantee correct behaviour, even if a failure occurs during recovery process.

Q. The system periodically performs checkpoints that consists of the following operation(s) :

Q. Consider a transaction T1 that committed prior to checkpoint. The <T1 commits> record appears in the log before the <checkpoint> record. Any modifications made by T1 must have been written to the stable storage either with the checkpoint or prior to it. Thus at recovery time:

Q. Serializable schedules are ones where :

Q. A locking protocol is one that :

Q. The two phase locking protocol consists of :

Q. The growing phase is a phase in which :

Q. The shrinking phase is a phase in which :

Q. The following program consists of 3 concurrent processes and 3 binary semaphores. The semaphores are initialized as S0 = 1, S1 = 0, S2 = 0.

Process P0
while(true)
{
wait(S0);
print '0';
release(S1);
release(S2);
}

Process P1
wait(S1);
release(S0);

Process P2
wait(S2);
release(S0);

How many times will P0 print ‘0’ ?