Computer Science Fundamentals Unit 7 Course F Lesson 19: For Loops With Bee (2018)

Classroom Resource Information

Title:

Computer Science Fundamentals Unit 7 Course F Lesson 19: For Loops With Bee (2018)

URL:

https://curriculum.code.org/csf-18/coursef/19/

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

Featuring Bee, this lesson focuses on `for` loops and using an incrementing variable to solve more complicated puzzles. Students will begin by reviewing loops from previous lessons, then they'll walk through an introduction to `for` loops so they can more effectively solve complicated problems.

Today's concept, `for` loops, are a very important topic in computer science. Not only are they widely used, but the process of learning `for` loops enhances the learning of other important concepts (such as variables and parameters). Students will have plenty of practice critically thinking through problems by determining the starting, ending, and stepping values for each `for` loop. This concept uses plenty of math as well, so feel free to pair it with a math lesson for an even deeper learning experience.

Students will be able to:
- determine starting value, stopping value, and stepping value for a `for` loop.
- recognize when to use a `for` loop and when to use other loops such as `repeat` and `while` loops.

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: 5 6) Create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs. Digital Literacy and Computer Science DLIT (2018) Grade: 5 7) Identify variables. Digital Literacy and Computer Science DLIT (2018) Grade: 5 8) Demonstrate that programs require known starting values that may need to be updated appropriately during the execution of programs. Examples: Set initial value of a variable, updating variables.
Tags: bee, debug, decompose, for loop, loops, patterns, problem solving, programming, sequence, variable