UPSC CSE 2017 CSAT · Question 38

UPSC CSE 2017 CSAT question on Permutations Combinations Horizontal Vertical

CSAT is a qualifying paper.

There are 4 horizontal and 4 vertical lines, parallel and equidistant to one another on a board. What is the maximum number of rectangles and squares that can be formed?

  1. 16
  2. 24
  3. 36
  4. 42
Show answer

Answer: C. 36

Solution

  1. Any rectangle (including a square) is fixed by choosing two of the four horizontal lines for its top and bottom.
  2. Number of horizontal pairs = 4 × 3 ÷ 2 = 6.
  3. Choose two of the four vertical lines independently for its left and right: another 6 pairs.
  4. Total rectangles and squares = 6 × 6 = 36. Each distinct choice of four boundary lines gives exactly one shape.

Why the other options are wrong

  • (a) 16 counts neither all choices of two horizontal lines nor all choices of two vertical lines.
  • (b) 24 omits some of the possible pairs of bounding lines.
  • (d) 42 overcounts: only 6 horizontal pairs and 6 vertical pairs are available.

Quick trick

  • With m horizontal and n vertical lines, use C(m,2) × C(n,2).

Remember

For a grid of parallel lines, every rectangle is determined by two lines of each orientation; squares are included in this rectangle count.

Hence the answer is (c).

Share
Ask Atlas (2) for similar questions
  1. 2019 · Q14 Permutations Combinations Parallelograms Formed — Same grid-of-parallel-lines setup, choosing pairs of horizontal and vertical lines for shapes.
  2. 2023 · Q20 Permutations Combinations ABCD Square — Counting distinct shapes formed by choosing points on sides of a square, a geometry counting pattern.

← Full UPSC CSE 2017 CSAT paper · All Basic numeracy questions