ALEX Classroom Resource

  

Computer Science Fundamentals Unit 6 Course E Lesson 8: Nested Loops in Maze (2018)

  Classroom Resource Information  

Title:

Computer Science Fundamentals Unit 6 Course E Lesson 8: Nested Loops in Maze (2018)

URL:

https://curriculum.code.org/csf-18/coursee/8/

Content Source:

Code.org
Type: Lesson/Unit Plan

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: 4
2) Formulate a list of sub-problems to consider while addressing a larger problem.

Examples: Problem - a multi-step math problem; sub-problem - steps to solve.
Problem - light bulb does not light; sub-problem - steps to resolve why.

Unpacked Content
Evidence Of Student Attainment:
Students will:
  • formulate a list of sub-problems to consider while addressing a larger problem.
Teacher Vocabulary:
  • formulate
  • sub-problems
Knowledge:
Students know:
  • a list of sub-problems need to be considered in order to address a larger problem.
  • strategies to develop a list of sub-problems.
Skills:
Students are able to:
  • formulate a list of sub-problems to consider while addressing a larger problem.
Understanding:
Students understand that:
  • a list of sub-problems need to be considered to address a larger problem.
Digital Literacy and Computer Science
DLIT (2018)
Grade: 4
3) Show that different solutions exist for the same problem or sub-problem.

Unpacked Content
Evidence Of Student Attainment:
Students will:
  • show that different solutions exist for the same problem or sub-problem.
Teacher Vocabulary:
  • solution
Knowledge:
Students know:
  • strategies for developing different solutions for the same problem or sub-problem.
  • that different solutions exist for the same problem or sub-problem.
Skills:
Students are able to:
  • show that different solutions exist for the same problem or sub-problem.
Understanding:
Students understand that:
  • different solutions exist for the same problem or sub-problem.
Digital Literacy and Computer Science
DLIT (2018)
Grade: 4
7) Create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Unpacked Content
Evidence Of Student Attainment:
Students will:
  • create a working program in a block
  • based visual programming environment while using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.
Teacher Vocabulary:
  • program
  • block-based visual programming environment
  • arithmetic operators
  • conditionals
  • repetition
Knowledge:
Students know:
  • the definitions for arithmetic operators, conditionals, and repetition as they relate to programming.
  • strategies for collaborating with peers.
Skills:
Students are able to:
  • create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs.
  • implement strategies to collaborate with others.
Understanding:
Students understand that:
  • operators in programming make many options available, reducing the length of an alorithm, pseudocode, or program.
Tags: abstraction, bee, loops, maze, nested loops, problem solving, repeat
License Type: Custom Permission Type
See Terms: https://code.org/tos
For full descriptions of license types and a guide to usage, visit :
https://creativecommons.org/licenses
Accessibility
Comments
  This resource provided by:  
Author: Aimee Bates
Alabama State Department of Education