Parity magic programming challenges

Number Name Challenge Level Languages
1.1 Count the black squares (one colour per input)
Beginner
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
1.2 Count the black squares (one line of input)
Growing experience
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
2.1 Check for odd/even numbers using modulo operation
Growing experience
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
2.2 Check for odd/even numbers using repeated subtraction
Growing experience
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
3.1 Detect parity error in a row
Growing experience
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
4.1 Detect parity error in 6 rows (after each row is entered)
Growing experience
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
4.2 Detect parity error in any number of rows (after each row is entered)
Growing experience
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
5.1 Detect parity error in any number of rows (after all the rows are entered)
Ready to expand
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution
6.1 Detect parity error in rows and columns (any length)
Ready to expand
Learning outcomes

Students will be able to:

Challenge Solutions
Show Scratch solution