Question Details

The number of times the digit 5, will appear while writing the integers from 1 to 1000 is

Options

A

269

B

271

C

300

D

302

Show Answer
Correct Answer
C 300

Solution :

The correct option is 300.

To find the total number of times the digit 5 appears when writing all the integers from 1 to 1000, we can analyze the positions of the digits (units, tens, and hundreds places) in the three-digit numbers. Let us represent any number from 0 to 999 as a three-digit sequence: abc, where each of a, b, and c can be any digit from 0 to 9.

Note that including 0 does not change the count of the digit 5, and the number 1000 does not contain the digit 5. Thus, counting the digit 5 in the range 000 to 999 is equivalent to counting it from 1 to 1000.

We analyze the occurrence of the digit 5 in each of the three positions:
1. Units position (c = 5): The number has the form ab5. Since a can be any of the 10 digits (0-9) and b can also be any of the 10 digits (0-9), the number of such integers is:
10×10=100
2. Tens position (b = 5): The number has the form a5c. Similarly, a can be any of the 10 digits (0-9) and c can be any of the 10 digits (0-9). The number of such integers is:
10×10=100
3. Hundreds position (a = 5): The number has the form 5bc. Here, b can be any of the 10 digits (0-9) and c can be any of the 10 digits (0-9). The number of such integers is:
10×10=100

By summing the occurrences of the digit 5 across all three independent positions, we get the total number of times the digit 5 appears:
100+100+100=300

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • SSC
  • intermediate
  • 1 hour and 30 mins
  • english, general awareness, logical reasoning, mathematics

A comprehensive SSC MTS 2026 Mock Test 4 designed to help aspirants strengthen their preparation and improve their performance for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all major sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It includes a balanced combination of conceptual, analytical, and exam-oriented multiple-choice questions aligned with the latest SSC MTS syllabus and exam pattern. Ideal for practice, revision, self-evaluation, accuracy improvement, speed enhancement, and effective time management, this mock test helps candidates assess their exam readiness, identify improvement areas, and build confidence for the SSC MTS 2026 examination

  • SSC
  • intermediate
  • 1 hour and 30 mins
  • english, general awareness, logical reasoning, mathematics

A comprehensive SSC MTS 2026 Mock Test 3 designed to help aspirants prepare thoroughly for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all important sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It features a carefully curated set of multiple-choice questions that test conceptual understanding, logical reasoning, problem-solving skills, speed, and accuracy in accordance with the latest SSC MTS exam pattern. Ideal for practice, revision, self-assessment, performance evaluation, and time management improvement, this mock test enables candidates to identify strengths and weaknesses while building confidence for the SSC MTS 2026 examination.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: