GATE CS 2026 Set 1 | Question 12

Discrete Mathematics › Combinatorics · MCQ · 1 mark · Answer: A

  1. Question 12Discrete Mathematicsmcq1 mark
    Consider matrices with their elements from . The number of such matrices with even number of 1s in every row and every column is
    • A.
      512
      ✓
    • B.
      1025
    • C.
      1023
    • D.
      255

    Answer: A

    Solution

    Answer: (A) 512 Fill the top-left block freely: ways. Then: • the last entry of each of the first three rows is forced, to make that row's parity even; • the last entry of each of the first three columns is forced the same way; • the bottom-right corner is forced too, and both its row and its column agree on it, because the total number of 1s in the first three rows equals the total in the first three columns (mod 2). Count .

More GATE PYQ on Combinatorics

All GATE CS Discrete Mathematics PYQ →

Attempt GATE CS 2026 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →