ALEX Classroom Resource

  

Computer Science Fundamentals Unit 6 Course E Lesson 11: Conditionals With the Farmer (2018)

  Classroom Resource Information  

Title:

Computer Science Fundamentals Unit 6 Course E Lesson 11: Conditionals With the Farmer (2018)

URL:

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

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

This lesson introduces students to while loops and if / else statements. While loops are loops that continue to repeat commands as long as a condition is true. While loops are used when the programmer doesn't know the exact number of times the commands need to be repeated, but the programmer does know what condition needs to be true in order for the loop to continue looping. If / Else statements offer flexibility in programming by running entire sections of code only if something is true, otherwise, it runs something else.

A basic understanding of conditionals is a recommended prerequisite for Course E. We created this introduction to give a review for the students already familiar to conditionals and allow practice for the students that are just learning. If you find that the understanding of conditionals varies widely in your classroom, we recommend a strategic pairing of students when completing this online lesson.

Students will be able to:
- define circumstances when certain parts of a program should run and when they shouldn't.
- determine whether a conditional is met based on criteria.

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
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, condition, conditionals, criteria, farmer, if else, loops, problem solving, until loops, while loops
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