Semaphore is a/an ......to solve the critical section problem.
a) hardware for a system
b) special program for a system
c) integer variable
d) none of these
How many permissible operations on semaphores?
a) Two
b) Three
c) Four
d) Five
Explanation: [P (wait or down), V (signal or up)]
If the semaphore value is negative ……
a) Its magnitude of processes
c) No operation performed
b) It is invalid
d) None of these
The code that changes the value of the semaphore is……..
a) remainder section code
b) non – critical section code
c) critical section code
d) none of these
In which of the problem several
concurrent processes require access to some objects such as file?
a) Producer-consumer problem
b) reader-writer problems
c) Dining reader problem
d) none of these
In reader writer problem some process extract information from the objects are called………
a) Reader
b) Writer
c) both a & b
d) none of these