Placement AptitudeVery hardTCS NQT · Infosys · Accenture
How many ordered triples (x, y, z) of integers satisfy x + y + z = 12 with 1 ≤ x, y, z ≤ 6?
- A. 29
- B. 25
- C. 18
- D. 38
Correct answer: B. 25
Unrestricted positive solutions: C(11,2) = 55. Subtract those with a variable ≥ 7: 3 × C(5,2) = 30 (two variables cannot both be ≥ 7). 55 − 30 = 25.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- What is the smallest positive integer n such that n! is divisible by 2^10?
- What is the unit digit of 3^47?
- What is the sum of the first 15 terms of the series 5, 9, 13, 17, ...?
- What is the remainder when 2^10 is divided by 7?
- What are the last two digits of 7^99?
- What is the remainder when 17^25 is divided by 18?