ALEX Classroom Resource

  

Computer Science Fundamentals Unit 6 Course E Lesson 10: Conditionals With Cards (2018)

  Classroom Resource Information  

Title:

Computer Science Fundamentals Unit 6 Course E Lesson 10: Conditionals With Cards (2018)

URL:

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

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

This lesson demonstrates how conditionals can be used to tailor a program to specific information. We don’t always have all of the information we need when writing a program. Sometimes you will want to do something different in one situation than in another, even if you don't know what situation will be true when your code runs. That is where conditionals come in. Conditionals allow a computer to make a decision, based on the information that is true any time your code is run.

One of the best parts of teaching conditionals is that students already understand the concept from their everyday lives. This lesson merges computer science into the real world by building off of their ability to tell if a condition is true or false. Students will learn to use if statements to declare when a certain command should be run, as well as if / else statements to declare when a command should be run and what do run otherwise. Students may not recognize the word conditionals, but most students will understand the idea of using "if" to make sure that some action only occurs when it is supposed to.

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.
- traverse a program and predict the outcome, given a set of input.

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: coding, conditionals, criteria, if, if else, input, unplugged
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