Placement AptitudeHardInfosys SP · TCS NQT Advanced

How many integers x satisfy |x − 1| + |x − 5| ≤ 10?

  1. A. 10
  2. B. 11
  3. C. 9
  4. D. 17

Correct answer: B. 11

For x ≥ 5 the sum is 2x − 6 ≤ 10, so x ≤ 8; for x ≤ 1 it is 6 − 2x ≤ 10, so x ≥ −2; in between it is 4. So −2 ≤ x ≤ 8: 11 integers. 10 is 8 − (−2) without the +1, 9 treats ≤ as <, and 17 wrongly makes each term at most 10 on its own (−5 ≤ x ≤ 11).

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic