If semaphore variable is 8 after 6 wait operations and 3
signal operations.what is semaphore
Answers were Sorted based on User's Feedback
Answer / deepika
let us assume semaphore value to be x before these operations.
Then 6 wait operations reduce its value by 6. So
new value of semaphore = x-6
3 signal operation increases the value by 3. So
new value is now = x-6+3
= x-3
But new value is 8. Thus
x-3=8
x=11
Hence our answer and semaphore value is 11.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / vinay
assumin it is counting semphore 6 wait operation causes semaphore value to reduce to 8-6=2 ,
then 3 signal oper make it 2+3=5
ans=5
| Is This Answer Correct ? | 4 Yes | 10 No |
In the process table entry for the kernel process, the process id value is a) 0 b) 1 c) 2 d) 255 e) it does not have a process table entry
4 Answers Aspire, IBM, Saigun Technologies,
windows 3.1 is
Is the g in gnu silent?
Is 4 cores enough for streaming?
Which processor is better amd or intel?
How do you start up a computer?
What is a file in computer terms?
what is multitask win95
Is microsoft coming out with a new operating system?
how does virtual memory work?
Assume that passwords are selected from four-character combinations of 26 alphabetic characters. Assume that an adversary is able to attempt passwords at a rate of one per second. a) Assuming no feedback to the adversary until each attempt has been completed, what is the expected time to discover the correct password?
Can you turn on a computer with the keyboard?