GATE / CS ARCHIVE

GATE CSE 2017 SET 1 / QUESTION 60

GATE CSE 2017 Set 1 Q60

General Aptitude · Counting, Probability & Sets · Full GATE CSE 2017 Set 1 paper

GATE 2017 Set 1, Q60 1 mark · MCQ
Report issue

Counting, Probability & Sets

Question 60, GATE 2017: What is the probability that a k-digit number contains none of 0,5,9? A (0.3)^k; B (0.6)^k; C (0.7)^k; D (0.9)^k. The source does not explicitly allow leading zeros; distinguish a k-digit integer from a length-k digit string.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Our answer: 7^k/(9·10^(k−1)); C only for digit strings

1. The seven permitted digits are 1,2,3,4,6,7,8. For length-k independent uniformly selected decimal digit strings, each position succeeds with probability 7/10, yielding (0.7)k, official C.

2. For a uniformly selected positive k-digit integer, however, the first digit has only nine possible values. Its success probability is 7/9; each remaining digit succeeds with probability 7/10.

3. Thus the literal integer answer is (7/9)(7/10)k−1=7k/(9·10k−1)=(10/9)(0.7)k, absent from the choices. At k=1 this is 7/9 rather than 0.7, exposing the mismatch. Preserve the official answer and this sample-space caveat separately.

Original paper, page 25 · Answer key