Placement AptitudeModerateTCS NQT · Capgemini

Seven points lie on one straight line and five on another line parallel to it. How many triangles have their vertices among these 12 points?

  1. A. 220
  2. B. 185
  3. C. 105
  4. D. 175

Correct answer: D. 175

Every triangle takes two points from one line and one from the other: 7C2 × 5 + 5C2 × 7 = 105 + 70 = 175 (or 12C3 − 7C3 − 5C3). 185 removes only the collinear triples on the 7-point line; 105 counts only one of the two cases.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic