The number of times the digit 5 will appear while writing the integers from 1 to 1000 is
- A269
- B271
- C300Correct
- D302
Explanation
To count the number of times the digit 5 appears from 1 to 1000, we can consider its occurrences in each place value:
-
Units Place: The digit 5 appears in the units place for numbers like 5, 15, 25, ..., 995. This occurs once in every block of ten numbers (e.g., 1-10, 11-20, etc.). Since there are 100 such blocks from 1 to 1000 (1000/10 = 100), the digit 5 appears 100 times in the units place.
-
Tens Place: The digit 5 appears in the tens place for numbers like 50-59, 150-159, 250-259, ..., 950-959. In each block of 100 numbers (e.g., 1-100, 101-200, etc.), the digit 5 appears 10 times in the tens place (e.g., 50, 51, ..., 59). There are 10 such blocks from 1 to 1000 (0-99, 100-199, ..., 900-999). So, the digit 5 appears 10 * 10 = 100 times in the tens place.
-
Hundreds Place: The digit 5 appears in the hundreds place for numbers like 500-509, 510-519, ..., 590-599. This covers all numbers from 500 to 599, which is a total of 100 numbers. So, the digit 5 appears 100 times in the hundreds place.
Total occurrences = Occurrences in units place + Occurrences in tens place + Occurrences in hundreds place Total = 100 + 100 + 100 = 300.
Each '5' in a number like 555 is counted distinctly (one for the units, one for the tens, one for the hundreds).
Therefore, the digit 5 will appear 300 times.
The final answer is C) 300.

Related questions
More UPSC Prelims practice from the same subject and topic.
- Prelims 2019CSATQuantitative Aptitude
In a school every student is assigned a unique identification number. A student is a football player if and only if the identification number is divisible by 4, whereas a student is a cricketer if and…
- Prelims 2019CSATQuantitative Aptitude
The ratio of a two-digit natural number to a number formed by reversing its digits is 4: 7. The number of such pairs is
- Prelims 2019CSATQuantitative Aptitude
Seeta and Geeta go for a swim after a gap of every 2 days and every 3 days respectively. If on 1st January both of them went for a swim together, when will they go together next?
- Prelims 2019CSATQuantitative Aptitude
An 8-digit number 4252746B leaves remainder 0 when divided by 3. How many values of B are possible?
- Prelims 2019CSATQuantitative Aptitude
A printer numbers the pages of a book starting with 1 and uses 3089 digits in all. How many pages does the book have?
- Prelims 2019CSATQuantitative Aptitude
Suppose you have sufficient amount of rupee currency in three denominations: Rs. 1, Rs. 10 and Rs. 50. In how many different ways can you pay a bill of Rs. 107?