Respuesta :
Use the theoretical definition of probability:
[tex]Pr=\dfrac{\text{number of all favorable outcome}}{\text{number of all possible outcomes}}.[/tex]
1. Find the probability that the code consists of all odd digits if the same digit is not used more than once in the code.
The number of all possible outcomes is
[tex]10\cdot 9\cdot 8\cdot 7=5040.[/tex]
The number of codes in which all digits are odd is
[tex]5\cdot 4\cdot 3\cdot 2=120.[/tex]
Then,
[tex]Pr(\text{all digits in code are odd})=\dfrac{120}{5040}.[/tex]
2. Find the probability that the code does not consist of all odd digits if the same digit is not used more than once in the code:
[tex]Pr(\text{not all digits are odd})=1-Pr(\text{all digits in code are odd})=1-\dfrac{120}{5040}=\dfrac{4920}{5040}.[/tex]
Answer: correct choice is D