# ALEX Classroom Resource

## Computer Science Fundamentals Unit 7 Course F Lesson 20: For Loops With Artist (2018)

Classroom Resource Information

Title:

Computer Science Fundamentals Unit 7 Course F Lesson 20: For Loops With Artist (2018)

URL:

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

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

In this lesson, students continue to practice `for` loops, but this time with Artist. Students will complete puzzles combining the ideas of variables, loops, and `for` loops to create complex designs. At the end, they will have a chance to create their own art in a free play level.

Creativity and critical thinking come together beautifully in this lesson. Students will continue their practice with `for` loops and variables while they create jaw-dropping images. This lesson inspires a creative mind while teaching core concepts to computer science.

Students will be able to:
- use `for` loops to change loop several times with different values.
- 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. Unpacked Content Evidence Of Student Attainment:Students will: create a working program in a blockbased visual programming environment. create a program in a blockbased visual programming environment using arithmetic operators such as AND, OR, and NOT. create a program in a blockbased visual programming environment using conditionals such as IF, THEN, and/or ELSE. create a program in a blockbased visual programming environment using repetition or loops.Teacher Vocabulary:program block-based visual programming environment arithmetic operators conditionals repetitionKnowledge:Students know: how to create a working program in a block-based visual programming environment. reasons for using arithmetic operators, conditionals, and repetition in programs.Skills:Students are able to: create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs.Understanding:Students understand that: arithmetic operators, conditionals, and repetition in programs make more operations possible and can reduce the complexity or length of code. Digital Literacy and Computer Science DLIT (2018) Grade: 5 7) Identify variables. Unpacked Content Evidence Of Student Attainment:Students will: identify variables in computing and other subject areas.Teacher Vocabulary:variableKnowledge:Students know: a variable is a factor in a program or problem that is likely to change. how to identify variables.Skills:Students are able to: identify variables.Understanding:Students understand that: variables are a part of an algorithm or problem that are likely to change. 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. Unpacked Content Evidence Of Student Attainment:Students will: demonstrate that programs require known starting values that may need to be updated appropriately during the execution of programs.Teacher Vocabulary:starting value execution of programs initial value updating variablesKnowledge:Students know: that for a program to run properly, the starting value may need to be set when the program begins.Skills:Students are able to: explain a scenario in which starting value is important to a program. Understanding:Students understand that: programs require known starting values that may need to be updated appropriately during the execution of programs.
Tags: Artist, debug, decompose, for loop, loops, patterns, problem solving, programming, repeat, sequence, variable, while loop