Parity Magic Exercise

In order to be able to perform the CS Unplugged Parity Magic Trick, you have to be able to fill the parity column and parity row correctly. This widget will give you some practice with that.

Fill in the correct parity in each row and column. For even parity, the number of 1s in each column and row has to be an even number. For odd parity, the number of 1s in each column and row has to be an odd number. Remember that 0 is an even number.

RULES: For even parity, you can use any size table, between 2 and 10 rows and/or columns. But for odd parity the number of rows and the number of columns must both be even or both be odd for the parity to work.

Rows: Columns: Parity: Even Odd