How many times does 5 appear in all two-digit positive integers?
- A18
- B19Correct
- C20
- D21
Explanation
Correct Answer: Option B
Why Option B is correct: In the study of numerical combinations and basic arithmetic—a core component of the UPSC CSAT (Paper II) Basic Numeracy syllabus—counting digit occurrences requires systematic enumeration. Two-digit positive integers strictly range from 10 to 99. To determine how many times the digit '5' appears, we analyze its occurrences in the tens place and the units place separately.
- Tens Place: The digit '5' appears in the tens place for the integers 50, 51, 52, 53, 54, 55, 56, 57, 58, and 59. This accounts for exactly 10 occurrences.
- Units Place: The digit '5' appears in the units place for the integers 15, 25, 35, 45, 55, 65, 75, 85, and 95. Note that '05' is a single-digit integer and is thus excluded. This accounts for exactly 9 occurrences. Summing both positional counts (10 + 9) yields a total of 19 occurrences.
Why other options are incorrect:
- Option A (18) is incorrect: This is a common pitfall where an aspirant counts the integers containing the digit '5' rather than the occurrences of the digit itself, effectively missing the second '5' in '55'.
- Option C (20) is incorrect: This error typically occurs if one incorrectly includes the single-digit number '5' (mentally calculating the range 1 to 99 instead of 10 to 99), which falsely adds a 10th unit-place occurrence.
- Option D (21) is incorrect: This is the result of an arbitrary over-calculation or double-counting boundaries in mental math.
Concluding Takeaway: When calculating digit frequencies for CSAT problems, evaluate each place value (units, tens) independently and sum the results. Always distinguish carefully between 'how many integers contain a digit' and 'how many times the digit appears.'

Related questions
More UPSC Prelims practice from the same subject and topic.
- Prelims 2026CSATother
Directions for the next 5 (five) items : Each item in this section contains a question followed by two statements. Answer each item using the following instructions and mark your response on the Answe…
- Prelims 2026GS1other
Which of the following statements with regard to the Grand Slam Tennis Tournaments is/are correct ? 1. The tournaments have a shared governance structure establishing the partnership among the four Gr…
- Prelims 2026GS1other
Ms. X is a mid-level civil service official working in the urban development department of a major city. Recently, she was involved in approving a contract for a public infrastructure project — a new …
- Prelims 2026GS1other
Which one of the following pairs is not correctly matched? (Indian Army Corps) : (Headquarters)
- Prelims 2026CSATother
For ⅓ < x < y < 2, which of the following statements is/are always correct? I. x + 1/x < y + 1/y II. √(1 + y²)/y < √(1 + x²)/x Select the answer using the code given below.
- Prelims 2026CSATother
What is the minimum number of times one needs to measure to get 298 litres of water from a tank, if the measuring cylinders have capacities 1 litre, 6 litres, 25 litres and 100 litres?