In this lesson, students will learn more about boolean values. Booleans refer to a value that is either true or false, and are used to test whether a specific condition is true or false.
Students will be able to:
This lesson builds toward the following Enduring Understandings (EUs) and Learning Objectives (LOs). Students should understand that…
In this lesson, students will learn about logical operators. Logical operators allow students to connect or modify Boolean expressions. Three logical operators are and
, or
, and not
.
Students will be able to:
or
, and
, and not
.In this lesson, students learn how to use comparison operators. Comparison operators let students compare two values.
Students will be able to:
In this lesson, students learn about if statements as a way to make decisions and execute specific code depending on the validity of a condition.
Students will be able to:
In this lesson, students will learn how to use keyboard keys to control events. Keyboard events capture when the user presses keys on the keyboard. This allows students to write programs that take input from the keyboard to change what is happening in the program.
Students will be able to:
In this lesson, students will learn in greater detail about for loops. For loops in Python are written and executed in the same manner as Karel exercises, except now students will explore modifying the initialization statement, test statement, and increment statements of the loops.
Students will be able to:
i
inside the for loop code to do something different on each iterationIn this lesson, students will explore in more detail how they can modify the initialization statement, test statement, and increment statement in a for loop.
Students will be able to:
In this lesson, students will learn how to create for loops to solve increasingly challenging problems by using nested for loops and branching control structures.
Students will be able to:
In this lesson, students will learn how random numbers can enhance a program and be used in combination with various control structures.
Students will be able to:
In this lesson, students will explore while loops and Python variables. This combines the ideas of creating variables, updating variables throughout a loop, and determining the correct ending condition.
Students will be able to:
In this lesson, students will learn how to create a Loop and Half. A Loop and a Half is a specific way to write a while loop with the condition being True
. Inside the loop, students create a SENTINEL
value to break out of the loop whenever that condition is met, causing the loop to end.
Students will be able to:
In this lesson, students review content with a 15 question Unit Quiz.
Students will be able to: