Learning Resource Type

Classroom Resource

Computer Science Discoveries Unit 3 Chapter 1 Lesson 8: The Counter Pattern Unplugged (18-19)

Subject Area

Digital Literacy and Computer Science

Grade(s)

6, 7, 8

Overview

This unplugged lesson explores the underlying behavior of variables. Using notecards and string to simulate variables within a program, the class implements a few short programs. Once comfortable with this syntax, the class uses the same process with sprite properties, tracking a sprite's progress across the screen.

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.8

    Create a program that initializes a variable.

    Unpacked Content

    UP:DLCS18.6.8

    Vocabulary

    • initialize

    Knowledge

    Students know:
    • that updating a variable during a program changes the initial value set, so variables need to be initialized (set to the original value) at the start or end of a task or program.

    Skills

    Students are able to:
    • set variables back to their original values upon start
    • up or completion of a task or program.

    Understanding

    Students understand that:
    • variables need to be initialized for programs to work properly more than once.
    Digital Literacy and Computer Science (2018) Grade(s): 7

    DLCS18.7.7

    Create a program that updates the value of a variable in the program.

    Unpacked Content

    UP:DLCS18.7.7

    Vocabulary

    • program
    • value

    Knowledge

    Students know:
    • how to update variables throughout their programs.

    Skills

    Students are able to:
    • write complex programs where variables can be changed while a program is running.

    Understanding

    Students understand that:
    • variables can be changed while a program runs.
    • changes to variables could trigger other events within a program.
    Digital Literacy and Computer Science (2018) Grade(s): 8

    DLCS18.8.7

    Create a program that includes selection, iteration, or abstraction, and initializes, and updates, at least two variables.

    Unpacked Content

    UP:DLCS18.8.7

    Vocabulary

    • selection
    • iteration
    • abstraction
    • initialize
    • variables

    Knowledge

    Students know:
    • how to write a program that includes selection, iteration, abstraction, initialization, and updates variables.

    Skills

    Students are able to:
    • write a program that includes foundational programming concepts
    • selection, iteration, abstraction, initialization, and updating variables.

    Understanding

    Students understand that:
    • they have the ability to create and design programs they may have never considered themselves able to do so.
    Link to Resource

    CR Resource Type

    Lesson/Unit Plan

    Resource Provider

    Code.org
    Accessibility
    License

    License Type

    Custom
    ALSDE LOGO