# ALEX Classroom Resource

## Computer Science Discoveries Unit 3 Chapter 1 Lesson 12: Keyboard Input (18-19)

Classroom Resource Information

Title:

Computer Science Discoveries Unit 3 Chapter 1 Lesson 12: Keyboard Input (18-19)

URL:

https://studio.code.org/s/csd3-2018/stage/12/puzzle/1

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

Following the introduction to Booleans and if statements in the previous lesson, students are introduced to a new block called keyDown() which returns a Boolean and can be used in conditionals statements to move sprites around the screen. By the end of this lesson, students will have written programs that take keyboard input from the user to control sprites on the screen.

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

Content Standard(s):
 Digital Literacy and Computer Science DLIT (2018) Grade: 8 3) Create an algorithm using a programming language that includes the use of sequencing, selections, or iterations. Example: Use a block-based or script programming language Step 1: Start Step 2: Declare variables a, b and c. Step 3: Read variables a, b and c. Step 4: If a>b       If a>c          Display a is the largest number.      Else          Display c is the largest number.    Else       If b>c          Display b is the largest number.       Else          Display c is the greatest number. Step 5: Stop Unpacked Content Evidence Of Student Attainment:Students will: create an algorithm that includes sequencing, selections, or iterations.Teacher Vocabulary:algorithm sequence selection iterationKnowledge:Students know: how to use a programming language to create algorithms that make use of sequencing, selections, or iterations.Skills:Students are able to: create programs to make use of sequencing, selections, or iterations.Understanding:Students understand that: each programming language has a unique way of making use of sequencing, selections, and iterations in algorithms. Digital Literacy and Computer Science DLIT (2018) Grade: 8 7) Create a program that includes selection, iteration, or abstraction, and initializes, and updates, at least two variables. Examples: Make a game, interactive card, story, or adventure game. Unpacked Content Evidence Of Student Attainment:Students will: create a properly functioning program using selection, iteration, abstraction, that initializes and updates at least two variables.Teacher Vocabulary:selection iteration abstraction initialize variablesKnowledge: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.
Tags: animate, Boolean expression, key, move, position
License Type: Custom Permission Type
See Terms: https://code.org/tos
For full descriptions of license types and a guide to usage, visit :
https://creativecommons.org/licenses
Accessibility
Comments
This resource provided by:
 Author: Aimee Bates