What is a mutex?
A. is a binary mutex
B. must be accessed from only one process
C. can be accessed from multiple processes
D. none of the mentioned
At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V operations were completed on this semaphore. The resulting value of the semaphore is?
A. 42
B. 2
C. 7
D. 12
A binary semaphore is a semaphore with integer values ____________
A. 1
B. -1
C. 0.8
D. 0.5
The following pair of processes share a common variable X.X is set to 5 before either process begins execution. As usual, statements within a process are executed sequentially, but statements in process A may execute in any order with respect to statements in process B.How many different values of X are possible after both processes finish executing?
A. two
B. three
C. four
D. eight