Multi-Stage Sequential Process

The question involves a sequential random process with more than two stages (e.g., drawing then flipping coins, repeated dice rolls, or movement along vertices) where the student must trace multiple paths through a tree to find a probability.

bac-s-maths 2016 Q3a 5 marks View
Exercise 3 (Candidates who have NOT followed the specialization course)
5 POINTS
We have a fair die with 6 faces numbered 1 to 6 and 2 coins A and B each having one heads side and one tails side. A game consists of rolling the die one or more times. After each die roll, if we get 1 or 2, then we flip coin A, if we get 3 or 4, then we flip coin B and if we get 5 or 6, then we flip neither of the two coins. At the beginning of the game, both coins are on the tails side.
  1. In the algorithm below, 0 codes the tails side of a coin and 1 codes the heads side. If $a$ codes the side of coin A at a given moment, then $1 - a$ codes the side of coin A after flipping it.

\begin{verbatim} Variables: a, b, d, s are integers i, n are integers greater than or equal to 1 Initialization: a takes the value 0 b takes the value 0 Input n Processing: For i going from 1 to n do d takes the value of a random integer between 1 and 6 If d <= 2 then a takes the value 1 - a else If d <= 4 | then b takes the value 1 - b EndIf EndIf s takes the value a + b EndFor Output: Display s \end{verbatim}
a. We execute this algorithm by inputting $n = 3$ and assuming that the random values generated successively for $d$ are $1; 6$ and 4. Copy and complete the table given below containing the state of the variables during the execution of the algorithm:
variables$i$$d$$a$$b$$s$
initialization
$1^{\text{st}}$ loop iteration
$2^{\text{nd}}$ loop iteration
$3^{\text{rd}}$ loop iteration

b. Does this algorithm allow us to decide whether at the end both coins are on the heads side?
2. For every natural integer $n$, we denote:
  • $X_{n}$ the event: ``After $n$ die rolls, both coins are on the tails side''
  • $Y_{n}$ the event: ``After $n$ die rolls, one coin is on the heads side and the other is on the tails side''
  • $Z_{n}$ the event: ``After $n$ die rolls, both coins are on the heads side''.

Moreover, we denote $x_{n} = P(X_{n}); y_{n} = P(Y_{n})$ and $z_{n} = P(Z_{n})$ the respective probabilities of events $X_{n}, Y_{n}$ and $Z_{n}$. a. Give the probabilities $x_{0}, y_{0}$ and $z_{0}$ respectively that at the beginning of the game there are 0, 1 or 2 coins on the heads side. b. Justify that $P_{X_{n}}(X_{n+1}) = \frac{1}{3}$. c. Copy the tree below and complete the probabilities on its branches, some of which may be zero. d. For every natural integer $n$, express $z_{n}$ as a function of $x_{n}$ and $y_{n}$. e. Deduce that, for every natural integer $n$, $y_{n+1} = -\frac{1}{3} y_{n} + \frac{2}{3}$. f. We set, for every natural integer $n$, $b_{n} = y_{n} - \frac{1}{2}$.
Show that the sequence $(b_{n})$ is geometric. Deduce that, for every natural integer $n$, $y_{n} = \frac{1}{2} - \frac{1}{2} \times \left(-\frac{1}{3}\right)^{n}$. g. Calculate $\lim_{n \rightarrow +\infty} y_{n}$.
Interpret the result.
bac-s-maths 2016 Q3b 5 marks View
Exercise 3 (Candidates who have followed the specialization course)
5 POINTS
We have a fair die with 6 faces numbered 1 to 6 and 3 coins A, B and C each having one heads side and one tails side.
A game consists of rolling the die one or more times. After each die roll, if we get 1 or 2, then we flip coin A, if we get 3 or 4, then we flip coin B and if we get 5 or 6, then we flip coin C. At the beginning of the game, all 3 coins are on the tails side.
  1. In the algorithm below, 0 codes the tails side and 1 codes the heads side. If $a$ codes one side of coin A, then $1 - a$ codes the other side of coin A.

\begin{verbatim} Variables: a, b, c, d, s are natural integers i, n are integers greater than or equal to 1 Initialization: a takes the value 0 b takes the value 0 c takes the value 0 Input n Processing: For i going from 1 to n do d takes the value of a random integer between 1 and 6 If d <= 2 then a takes the value 1 - a else If d <= 4 then b takes the value 1 - b else c takes the value 1 - c EndIf EndIf s takes the value a + b + c EndFor Output: Display s \end{verbatim}
a. We execute this algorithm by inputting $n = 3$ and assuming that the random values generated successively for $d$ are $1; 4$ and 2. Copy and complete the table given below containing the state of the variables during the execution of the algorithm:
variables$i$$d$$a$$b$$c$$s$
initialization
$1^{\text{st}}$ loop iteration
$2^{\mathrm{nd}}$ loop iteration
$3^{\mathrm{rd}}$ loop iteration

b. Does this algorithm allow us to know whether, after an execution of $n$ rolls, all three coins are on the heads side?
2. For every natural integer $n$, we denote:
  • $X_{n}$ the event: ``After $n$ die rolls, all three coins are on the tails side''
  • $Y_{n}$ the event: ``After $n$ die rolls, exactly one coin is on the heads side and the others are on the tails side''
  • $Z_{n}$ the event: ``After $n$ die rolls, exactly two coins are on the heads side and the other is on the tails side''
  • $T_{n}$ the event: ``After $n$ die rolls, all three coins are on the heads side''.

Moreover, we denote $x_{n} = p(X_{n}); y_{n} = p(Y_{n}); z_{n} = p(Z_{n})$ and $t_{n} = p(T_{n})$ the respective probabilities of events $X_{n}, Y_{n}, Z_{n}$ and $T_{n}$.
cmi-entrance 2023 QA8 4 marks View
You play the following game with three fair dice. (When each one is rolled, any one of the outcomes $1,2,3,4,5,6$ is equally likely.) In the first round, you roll all three dice. You remove every die that shows 6. If any dice remain, you roll all the remaining dice again in the second round. Again you remove all dice showing 6 and continue.
Questions
(29) Let the probability that you are able to play the second round be $\frac { a } { b }$, where $a$ and $b$ are integers with $\gcd = 1$. Write the numbers $a$ and $b$ separated by a comma. (30) Let the probability that you are able to play the second round but not the third round be $\frac { c } { d }$ where $c$ and $d$ are integers with $\gcd = 1$. Write only the integer $c$ as your answer.
csat-suneung 2005 Q28 (Probability and Statistics) 3 marks View
A bag contains 5 red balls, 4 yellow balls, 2 blue balls, and 9 white balls. A ball is drawn from the bag, its color is noted, and then it is returned. This procedure is repeated 3 times. What is the probability of drawing one red ball, one yellow ball, and one blue ball, regardless of the order? [3 points]
(1) $\frac { 1 } { 200 }$
(2) $\frac { 3 } { 100 }$
(3) $\frac { 7 } { 100 }$
(4) $\frac { 11 } { 100 }$
(5) $\frac { 11 } { 20 }$
csat-suneung 2013 Q11 3 marks View
There is a bag containing 4 white balls and 3 black balls.
Two balls are drawn simultaneously from the bag. If the two balls are of different colors, one coin is flipped 3 times. If the two balls are of the same color, one coin is flipped 2 times. What is the probability that the coin shows heads exactly 2 times in this trial? [3 points]
(1) $\frac { 9 } { 28 }$
(2) $\frac { 19 } { 56 }$
(3) $\frac { 5 } { 14 }$
(4) $\frac { 3 } { 8 }$
(5) $\frac { 11 } { 28 }$
csat-suneung 2019 Q18 4 marks View
Point A is at the origin of the coordinate plane. The following trial is performed using one coin. Flip the coin once. If heads appears, move point A by 1 in the positive direction of the $x$-axis; if tails appears, move point A by 1 in the positive direction of the $y$-axis. Repeat this trial until the $x$-coordinate or $y$-coordinate of point A becomes 3 for the first time, then stop. What is the probability that when the $y$-coordinate of point A becomes 3 for the first time, the $x$-coordinate of point A is 1? [4 points]
(1) $\frac { 1 } { 4 }$
(2) $\frac { 5 } { 16 }$
(3) $\frac { 3 } { 8 }$
(4) $\frac { 7 } { 16 }$
(5) $\frac { 1 } { 2 }$
csat-suneung 2025 Q30 4 marks View
Five coins are placed in a line on a table. At the start, the coins in the 1st and 2nd positions show heads, and the coins in the remaining 3 positions show tails. Using these 5 coins and one die, the following trial is performed. Roll the die once. If the result is $k$, if $k \leq 5$, flip the coin in the $k$-th position once and place it back, if $k = 6$, flip all coins once and place them back. After repeating this trial 3 times, what is the probability that all 5 coins show heads? Express the answer as $\frac{q}{p}$. What is the value of $p + q$? (Given: $p$ and $q$ are coprime natural numbers.) [4 points]
gaokao 2024 Q14 5 marks View
Person A and Person B each have four cards, with each card labeled with a number. Person A's cards are labeled with the numbers 1, 3, 5, 7, and Person B's cards are labeled with the numbers 2, 4, 6, 8. They play four rounds of competition. In each round, both players randomly select one card from their own cards and compare the numbers. The player with the larger number scores 1 point, and the player with the smaller number scores 0 points. Then each player discards the card used in that round (discarded cards cannot be used in subsequent rounds). The probability that Person A's total score after four rounds is at least 2 is $\_\_\_\_$ .
kyotsu-test 2017 QCourse1-I-Q2 View
Q2 A triangle ABC is drawn on a plane, and a ball is placed on vertex A. A dice is rolled, and the ball is moved according to the following rules:
(i) when the ball is on A, if the number on the dice is 1 the ball is moved to B, otherwise it stays on A;
(ii) when the ball is on B, if the number on the dice is less than or equal to 4 the ball is moved to C, otherwise it stays on B.
If the ball is moved to C, the trials are stopped.
We are to find the probability that the ball is moved to C within 4 rolls of the dice.
(1) The probability that the ball is moved to C on the second roll of the dice is $\frac { 1 } { \mathbf{N} }$
(2) The probability that the ball is moved to C on the third roll of the dice is $\frac{\mathbf{O}}{\mathbf{PQ}}$
(3) The probability that the ball is moved to C on the fourth roll of the dice is $\frac{\mathbf{RS}}{\mathbf{TUV}}$
Therefore, find the probability that the ball is moved to C within 4 rolls of the dice.
kyotsu-test 2017 QCourse2-I-Q2 View
Q2 A triangle ABC is drawn on a plane, and a ball is placed on vertex A. A dice is rolled, and the ball is moved according to the following rules:
(i) when the ball is on A, if the number on the dice is 1 the ball is moved to B, otherwise it stays on A;
(ii) when the ball is on B, if the number on the dice is less than or equal to 4 the ball is moved to C, otherwise it stays on B.
If the ball is moved to C, the trials are stopped.
We are to find the probability that the ball is moved to C within 4 rolls of the dice.
(1) The probability that the ball is moved to C on the second roll of the dice is $\frac{1}{\mathbf{N}}$
(2) The probability that the ball is moved to C on the third roll of the dice is $\frac{\mathbf{O}}{\mathbf{PQ}}$
(3) The probability that the ball is moved to C on the fourth roll of the dice is $\frac{\mathbf{RS}}{\mathbf{TUV}}$
Therefore, find the probability that the ball is moved to C within 4 rolls of the dice.