GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 1.18

Three-digit numbers avoiding seven

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 1995 paper

GATE 1995, Q1.18 1 mark · MCQ
Report issue

Probability & Random Variables

Question 1.18, GATE 1995: A number is selected uniformly from 100 through 999. Find the probability it contains no digit 7.
Tap to enlarge
Your answer
Answer & solution

Answer: D: 18/25 (no official key was published)

There are 900 equally likely three-digit numbers. The hundreds position has eight allowed choices: 1 through 9 except 7. Each remaining position has nine choices: 0 through 9 except 7. Thus 8·9·9=648 numbers avoid 7, and 648/900=18/25. Using (9/10)³ would wrongly allow zero in the hundreds position and assume all three positions have the same distribution.

Original paper, page 2