recategorized by
3,203 views

2 Answers

Best answer
1 votes
1 votes
In order to allow only one process to enter its critical section,generaly  we will take semaphore value as 1 as when it will enter in critical section it will down the semaphore value to zero so that no other process is able to down ,further the value of semaphore .

 (b) option ans.
selected by
0 votes
0 votes
i think ans should be 1 .
when a process want to enter critical section it decrements value by 1 .
Now value becomes to zero. if another process try to enter critical section it goes to waiting queue.
 2 & 3 can not be possible value for binary semaphore it can contain only 0 & 1 possible value
Answer:

Related questions

0 votes
0 votes
2 answers
1
makhdoom ghaya asked Sep 16, 2016
2,966 views
Remote Computing Service involves the use of time sharing and _______.Multi-processingInteractive processingBatch processingReal-time processing
1 votes
1 votes
2 answers
2
1 votes
1 votes
2 answers
3
makhdoom ghaya asked Sep 16, 2016
858 views
Match the following :$\begin{array}{clcl} \text{(a)} & \text{Disk scheduling} & \text{1.} & \text{Robin-round} \\ \text{(b)} & \text{Batch processing} & \text{2.} & \tex...
0 votes
0 votes
0 answers
4