Placement AptitudeHardTCS NQT · Cognizant
How many times is the digit 7 written when all the integers from 1 to 1000 are written out?
- A. 271
- B. 300
- C. 280
- D. 310
Correct answer: B. 300
Think of 000 to 999 as 3-digit strings: each of the 3 places shows 7 in exactly 100 of the 1000 strings, giving 300. Adding 1000 contributes no 7.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- What is the sum of all two-digit numbers that leave remainder 2 when divided by 7?
- A positive integer has exactly 10 digits when written in base 2. How many digits does it have in base 8?
- Vessel A contains milk and water in the ratio 8 : 5 and vessel B in the ratio 5 : 2. In what ratio must the contents of A and B be mixed…
- Pipe A can fill a tank in 10 hours and pipe B in 15 hours. Because of partial blockages, A works at only 2/3 of its capacity and B at 3/4…
- A tank has an inlet A that fills it in 8 hours, an outlet B at the bottom that empties it in 12 hours, and an outlet C fixed exactly…
- 4 men and 6 women can finish a job in 8 days, while 3 men and 7 women can finish it in 10 days. How long would 10 women take to finish it?