GATE | GATE-CS-2016 (Set 2) | Question 9
In a 2 × 4 rectangle grid shown below, each cell is a rectangle. How many rectangles can be observed in the grid?
Explanation: To form a rectangle, we must choose two horizontal sides and two vertical sides. So, number of rectangles we can form is mC2 * nC2.
Since there are three horizontal lines, we can choose the horizontal sides in 3C2 ways. Since there are five vertical lines, we can choose the vertical sides in 5C2 ways.
The number of rectangles we can form is
= 5C2 * 3C2
So, option (C) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.