Lesson 3
This sentence is true
This lesson introduces Booleans as variables that can only be true or false, conditional statements as commands that only run if a condition is met, and loops as control elements that cause a command to be run more than once. Students then use flowcharts to analyze a program before applying their learning to program a simulated distance-sensing traffic light.
school
Grade
6
local_library
Subject
Science, Technology
schedule
Length of lesson
50 minutes
Learning objective
Students will develop a program in which a sprite reacts to sensed changes in its environment.
Standards
CSTA Standards
- 2-AP-10: Use flowcharts and/or pseudocode to address complex problems as algorithms
- 2-AP-11: Create clearly named variables that represent different data types and perform operations on their values.
- 2-AP-12: Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals.
- 2-AP-13: Decompose problems and subproblems into parts to facilitate the design, implementation, and review of programs
- 2-CS-01: Recommend improvements to the design of computing devices, based on an analysis of how users interact with the devices.
NGSS Standards
- MS-ETS1-1: Define the criteria and constraints of a design problem with sufficient precision to ensure a successful solution, taking into account relevant scientific principles and potential impacts on people and the natural environment that may limit possible solutions.
Common Core Standards
- ELA.RST.6-8.7: Integrate quantitative or technical information expressed in words in a text with a version of that information expressed visually (e.g., in a flowchart, diagram, model, graph, or table).
Lesson contents
lock
Want to teach this lesson?
Log in and get access to the full curriculum for free.