A reality game show is conducted and 20 players are participated for the game show. Now the player who has less number of votes and tweets from the public are eliminated in each round. The player will be given a chance to stay in the game by flipping a coin which has the sides as stay and leave. If the player gets stay he will stay in the game. Compute the number of rounds the players have to play to announce one player as a winner of the game.
Write a shared memory model program for implementing the above scenario where the scheduling done in guided manner and analyze the code with the sample inputs.
Note: Where ever necessary make assumptions are your own and justify the same)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here