Go to SEE INSIDE for the examples of increasingly efficient coding. Sequential blocks, Control blocks - (repeat), Make block (sub routines), Make block (with parameters) Click Keys 1, 2, 3, & 4 one at a time to see the same actions with fewer and fewer blocks "Dogs rule" 3 times Click Keys 5, 6, 7, & 8 one at a time to see the same actions with fewer and fewer blocks "Dogs rule" X3 then "Cats drool" x3
Ontario Math Curriculum 2020 Gr 6 C3.1 solve problems and create computational representations of mathematical situations by writing and executing efficient code, including code that involves conditional statements and other control structures Gr 7 C3.1 solve problems and create computational representations of mathematical situations by writing and executing efficient code, including code that involves events influenced by a defined count and/or sub-program and other control structures