Learning Resource Type

Classroom Resource

Computer Science Discoveries Unit 3 Chapter 1 Lesson 9: Sprite Movement (18-19)

Subject Area

Digital Literacy and Computer Science

Grade(s)

6, 7, 8

Overview

By combining the Draw Loop and the Counter Pattern, the class writes programs that move sprites across the screen, as well as animate other sprite properties.

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): 7

    DLCS18.7.8

    Formulate a narrative for each step of a process and its intended result, given pseudocode or code.

    Unpacked Content

    UP:DLCS18.7.8

    Vocabulary

    • narrative
    • pseudocode

    Knowledge

    Students know:
    • that a narrative is a spoken or written account of events.

    Skills

    Students are able to:
    • identify the intended process in a given code or pseudocode.
    • convert given code or pseudocode to a narrative of expected behavior.

    Understanding

    Students understand that:
    • every line of code has an intended behavior.
    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