Computer Science Discoveries Unit 3 Chapter 1 Lesson 11: Conditionals (18-19)

Learning Resource Type

Classroom Resource

Subject Area

Digital Literacy and Computer Science

Grade(s)

6, 7

Overview

The class starts by using Booleans to compare the current value of a sprite property with a target value, using that comparison to determine when a sprite has reached a point on the screen, grown to a given size, or otherwise reached a value using the counter pattern. After using Booleans directly to investigate the values or sprite properties, the class adds conditional if statements to write code that responds to those Boolean comparisons.

Note: You will need to create a free account on code.org before you can view this resource.

Digital Literacy and Computer Science (2018) Grade(s): 6

DLCS18.6.5

Identify algorithms that make use of sequencing, selection or iteration.

UP:DLCS18.6.5

Vocabulary

algorithm sequence selection iteration

Knowledge

Students know:
  • differences between the three basic programming structures.

Skills

Students are able to:
  • explain the differences in sequencing, selection, and iteration.

Understanding

Students understand that:
  • differences exist in sequencing, selection, and iteration.
Digital Literacy and Computer Science (2018) Grade(s): 7

DLCS18.7.2

Create complex pseudocode using conditionals and Boolean statements.

UP:DLCS18.7.2

Vocabulary

  • pseudocode
  • conditional
  • Boolean statement

Knowledge

Students know:
  • that Boolean logic combined with conditional statements make for complex and powerful programs.

Skills

Students are able to:
  • use Boolean logic combined with conditional statements to create complex pseudocode or a program.

Understanding

Students understand that:
  • questions in conditionals are what makes programs more complex.

CR Resource Type

Lesson/Unit Plan

Resource Provider

Code.org

License Type

Custom
ALSDE LOGO