Overview: |
Students will practice while loops, until loops, and if / else statements. All of these blocks use conditionals. By practicing all three, students will learn to write complex and flexible code.
Practicing the use of conditionals in different scenarios helps to develop a student's understanding of what conditionals can do. In the previous lesson, students only used conditionals to move around a maze. In this lesson, students will use conditionals to help the farmer know when to harvest crops. New patterns will emerge and students will use creativity and logical thinking to determine the conditions where code should be run and repeated.
Students will be able to: - nest conditionals to analyze multiple value conditions using if, else if, else logic. - pair a loop and conditional statement together.
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
|
|
|
Tags:
|
coding, conditionals, else, harvester, if, ifelse statements, until, until loops, while, while loops |