GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 2.1

Four-digit even numbers with distinct digits

Discrete Mathematics · Combinatorics & Counting · Full GATE CSE 2001 paper

GATE 2001, Q2.1 2 marks · MCQ
Report issue

Combinatorics & Counting

Question 2.1, GATE 2001: Count four-digit even decimal numbers whose four digits are distinct. Options are 2240,2296,2620,4536.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step 1: Separate the final digit 0 from the other even digits. If the last digit is 0, the first digit has 9 choices and the middle positions have 8 and 7, giving 9·8·7=504.

Step 2: If the last digit is one of 2,4,6,8, there are 4 choices. The first digit can be any nonzero digit except that last digit:8 choices. The middle positions then have 8 and 7 choices, including zero if unused. This gives 4·8·8·7=1792.

Total 504+1792=2296, B. Counting all even last digits uniformly would mishandle leading zero.

Original paper, page 4