# Ngā wero a Pūrite Mīharo

Nama Ingoa Taumata Wero Ngā Reo
1.1 Kāore e taea ki te reo Te Reo Māori
Count the black squares (one colour per input)
Kākano
Hua akoranga

Ka taea e ngā ākonga te:

• Tautuhi i te wāhi tika mō te tauākī 'mēnā' ('if' rānei), ki te whakamahi i te kōwhiringa.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i ngā āhuatanga hei whakaaro ina ka pātai koe i te tāuru mai i te kaiwhakamahi.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i te rerekētanga o te tauākī 'tautuhia' me te tauākī 'panonitia', ki te panoni i te uara o tētahi taurangi.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
1.2 Kāore e taea ki te reo Te Reo Māori
Count the black squares (one line of input)
Te whakatipu wheako
Hua akoranga

Ka taea e ngā ākonga te:

• Tautuhi i te wāhi tika mō te tauākī 'mēnā' ('if' rānei), ki te whakamahi i te kōwhiringa.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i te rerekētanga o te tauākī 'tautuhia' me te tauākī 'panonitia', ki te panoni i te uara o tētahi taurangi.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i te take me tautuhi te uara o te taurangi ki te momo uara tīmatanga e tika ana.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
2.1 Kāore e taea ki te reo Te Reo Māori
Check for odd/even numbers using modulo operation
Te whakatipu wheako
Hua akoranga

Ka taea e ngā ākonga te:

• Tautuhi i te wāhi tika mō te tauākī 'mēnā' ('if' rānei), ki te whakamahi i te kōwhiringa.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i ngā āhuatanga hei whakaaro ina ka pātai koe i te tāuru mai i te kaiwhakamahi.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
2.2 Kāore e taea ki te reo Te Reo Māori
Check for odd/even numbers using repeated subtraction
Te whakatipu wheako
Hua akoranga

Ka taea e ngā ākonga te:

• Tautuhi i te wāhi tika mō te tauākī 'mēnā' ('if' rānei), ki te whakamahi i te kōwhiringa.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea ngā uara e tiakina e ngā taurangi, ka pēhea hoki e whakamahi ai i te papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
3.1 Kāore e taea ki te reo Te Reo Māori
Detect parity error in a row
Te whakatipu wheako
Hua akoranga

Ka taea e ngā ākonga te:

• Whakamārama i te mahi o te paheko tātai ā-porowhita i tō papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i te rerenga kētanga o te tauākī mēnā-kē-atu me te tauākī mēnā-mahia, ā, whakamārama hoki i ngā mahi o ēnei tauākī i tāu ake papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama mai i ngā take me kōwhiri tētahi ingoa pai mō ngā taurangi.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
4.1 Kāore e taea ki te reo Te Reo Māori
Detect parity error in 6 rows (after each row is entered)
Te whakatipu wheako
Hua akoranga

Ka taea e ngā ākonga te:

• Whakamārama i te mahi o te paheko tātai ā-porowhita i tō papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i te rerenga kētanga o te tauākī mēnā-kē-atu me te tauākī mēnā-mahia, ā, whakamārama hoki i ngā mahi o ēnei tauākī i tāu ake papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea e tāpiritia ai (ka honoa) ngā aho pūāhua.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama mai i ngā take me kōwhiri tētahi ingoa pai mō ngā taurangi.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
4.2 Kāore e taea ki te reo Te Reo Māori
Detect parity error in any number of rows (after each row is entered)
Te whakatipu wheako
Hua akoranga

Ka taea e ngā ākonga te:

• Whakamārama i te mahi o te paheko tātai ā-porowhita i tō papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama i te rerenga kētanga o te tauākī mēnā-kē-atu me te tauākī mēnā-mahia, ā, whakamārama hoki i ngā mahi o ēnei tauākī i tāu ake papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea e tāpiritia ai (ka honoa) ngā aho pūāhua.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea ngā uara e tiakina e ngā taurangi, ka pēhea hoki e whakamahi ai i te papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
5.1 Kāore e taea ki te reo Te Reo Māori
Detect parity error in any number of rows (after all the rows are entered)
Kua rite kia whakawhānuitia
Hua akoranga

Ka taea e ngā ākonga te:

• Tautuhi i ngā wā e tika ana kia whakamahia tētahi rārangi ki te rokiroki i ngā raraunga.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Tautuhi i te wāhi tika mō te tauākī 'mēnā' ('if' rānei), ki te whakamahi i te kōwhiringa.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea e tāpiritia ai (ka honoa) ngā aho pūāhua.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea ngā uara e tiakina e ngā taurangi, ka pēhea hoki e whakamahi ai i te papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution
6.1 Kāore e taea ki te reo Te Reo Māori
Detect parity error in rows and columns (any length)
Kua rite kia whakawhānuitia
Hua akoranga

Ka taea e ngā ākonga te:

• Tautuhi i ngā wā e tika ana kia whakamahia tētahi rārangi ki te rokiroki i ngā raraunga.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Tautuhi i te wāhi tika mō te tauākī 'mēnā' ('if' rānei), ki te whakamahi i te kōwhiringa.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea e tāpiritia ai (ka honoa) ngā aho pūāhua.
Pūtaiao Rorohiko: Te Tuhiwaehere
• Whakamārama ka pēhea ngā uara e tiakina e ngā taurangi, ka pēhea hoki e whakamahi ai i te papatono.
Pūtaiao Rorohiko: Te Tuhiwaehere
Challenge Solutions
Show Scratch solution