Question
Consider matrices with their elements from . The number of such matrices with even number of s in every row and every column is
Official answer and solution
- Official answer
- A
- From
- Official GATE 2026 answer key
Solution
Choose the entries of the top-left submatrix freely and observe that the last row and last column are uniquely determined by parity.
For any matrix over with even row sums and even column sums, we can choose all entries in the top-left submatrix arbitrarily in ways:
- For each row , the entry is uniquely determined so that row has an even number of s.
- For each column , the entry is uniquely determined so that column has an even number of s.
- Finally, is uniquely and consistently determined.
For , the number of such matrices is .
Option (A)
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 12 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.