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

Do simultaneous downloads take longer?

1002


What is the fastest computer operating system?

1075


What happens if you turn off computer during update?

942


Where do I find disk cleanup?

989


Explain about memory management in operating system.

1072


Which is your favorite editor, shell, programming shell and why?

2577


Why is my computer so slow?

1063


what are latest technologies ? and how will keep yourself up to date ?

2939


What is microsoft spreadsheet compare?

1006


what is multitask win95

1047


What is startup repair on my computer?

1012


what is ms configure?

2181


What is the shortcut key to refresh laptop?

985


What causes a corrupt operating system?

971


Is chrome os better than windows 10?

1045