Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If semaphore variable is 8 after 6 wait operations and 3
signal operations.what is semaphore

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why we make plex offline online in vxvm?

2900


What are different errors encountered while compiling?

1228


What does the g in gnu stand for?

1061


Can I restore my computer to yesterday?

972


Can you have concurrency but not parallelism?

946


How do I compare plugins in notepad ++?

987


Which one is the best operating system?

999


What is the fastest computer operating system?

1029


Is system restore bad for your computer?

972


How do you find out computer specs?

917


What do you know about the latest android version Lollipop?

940


What are go channels?

971


What Command To Restore Backup Of Non - Rootvg?

1160


What happens when I reset my computer?

1038


Explian T - Factor?

1065