## Computer Science Fundamentals Unit 5 Course D Lesson 14: If/Else With Bee (2018)

Classroom Resource Information

Title:

Computer Science Fundamentals Unit 5 Course D Lesson 14: If/Else With Bee (2018)

URL:

https://curriculum.code.org/csf-18/coursed/14/

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

Up until this point, students have been writing code that executes exactly the same way each time it is run - reliable, but not very flexible. In this lesson, your class will begin to code with conditionals, allowing them to write code that functions differently depending on the specific conditions the program encounters.

After being introduced to conditionals in "Conditionals with Cards", students will now practice using them in their programs. The `if / else` blocks will allow for a more flexible program. The bee will only collect nectar if there is a flower or make honey if there is a honeycomb. Students will also practice and recognize a connection between `if / else` blocks and `while` loops in this set of puzzles.

Students will be able to:
- translate spoken language conditional statements into a program.
- solve puzzles using a combination of looped sequences and conditionals.

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 3) Explain that different solutions exist for the same problem or sub-problem. Example: Multiple paths exist to get home from school; one may be a shorter distance while one may encounter less traffic. Digital Literacy and Computer Science DLIT (2018) Grade: 3 4) Examine logical reasoning to predict outcomes of an algorithm. 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. 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.
Tags: bee, coding, conditionals, else, if, maze