Gate CS-2016-1 Question Paper With Solutions

Q. 39 Consider the following experiment.

Step 1. Flip a fair coin twice.
Step 2. If the outcomes are (TAILS, HEADS) then output Y and stop.
Step 3. If the outcomes are either (HEADS, HEAD) or (HEADS, TAILS), 
        then output N and stop.
Step 4. If the outcomes are (TAILS, TAILS), then go to Step 1.

The probability that the output of the experiment is Y is (up to two decimal places).

(A) 0.33

(B) 0.25

(C) 0.5

(D) 0.27

Answer: (A)

Explanation:

Gate CS-2016-1 Question Paper With Solutions

Learn More:   Gate CS-2005 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here