Mathematics (JEE)HardGATE CS · ICPC
A particle starts at position 2 on the integers 0 to 5. Each step it moves one unit left or right with probability 1/2 each, independently. The walk stops on reaching 0 or 5. What is the expected number of steps taken?
- A. 3
- B. 6
- C. 8
- D. 12
Correct answer: B. 6
For a symmetric walk on {0, ..., N} started at i, the expected absorption time is i(N - i). Here i = 2 and N = 5, so the expectation is 2 x 3 = 6.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A simple symmetric random walk starts at 0 and takes 6 steps, each +1 or -1 with probability 1/2 independently. What is the probability…
- X ~ Binomial(8, 1/4). What is P(X equals the mode of this distribution)?
- Independent events A, B and C have probabilities 1/2, 1/3 and 1/4. What is the probability that exactly one of them occurs?
- A coin lands heads with probability 1/4 on each independent toss. X is the number of tails before the 3rd head. What is Var(X)?
- A family has three children, each equally likely to be a boy or a girl, independently. Given that the family has at least one boy and at…
- A disease has prevalence 2%. Test 1 has sensitivity 9/10 and specificity 4/5. Test 2 has sensitivity 19/20 and specificity 9/10. Given the…