Overview: |
In this online activity, students will have the opportunity to push their understanding of loops to a whole new level. Playing with the Bee and Plants vs. Zombies, students will learn how to program a loop to be inside of another loop. They will also be encouraged to figure out how little changes in either loop will affect their program when they click Run .
In this introduction to nested loops, students will go outside of their comfort zone to create more efficient solutions to puzzles. In earlier puzzles, loops pushed students to recognize repetition. Here, students will learn to recognize patterns within repeated patterns to develop these nested loops. This stage starts off by encouraging students to try to solve a puzzle where the code is irritating and complex to write out the long way. After a video introduces nested loops, students are shown an example and asked to predict what will happen when a loop is put inside of another loop. This progression leads to plenty of practice for students to solidify and build on their understanding of looping in programming.
Students will be able to: - break complex tasks into smaller repeatable sections. - recognize large repeated patterns as made from smaller repeated patterns. - identify the benefits of using a loop structure instead of manual repetition.
Note: You will need to create a free account on code.org before you can view this resource. |
Content Standard(s): |
Digital Literacy and Computer Science DLIT (2018) Grade: 3 | 2) Analyze a given list of sub-problems while addressing a larger problem.
Example: Problem - making a peanut butter sandwich; sub-problem - opening jar, finding a knife, getting the bread.
Problem - design and share a brochure; sub-problem - selecting font, choosing layout. Unpacked Content
| Digital Literacy and Computer Science DLIT (2018) Grade: 3 | 7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.
Examples: Sequencing cards for unplugged activities, online coding practice. Unpacked Content
| Digital Literacy and Computer Science DLIT (2018) Grade: 3 | 23) Implement the design process to solve a simple problem.
Examples: Uneven table leg, noise in the cafeteria, tallying the collection of food drive donations. Unpacked Content
|
|
|