CS Basics
Loops
Conditionals
Abstraction
Debugging
100

A complete, well-defined sequence of steps for completing a task or solving a problem

Algorithm

100

A type of block that causes other code to run more than one time

Loop

100

A place to store a value for retrieval and use later

Variable

100

Removing the specifics that are not relevant in a given context

Abstraction

100

What's missing for this script to run?

A hat block

200

Python, Java, and SNAP are examples

Programming language

200

What block could you use to make the script more descriptive? 

A repeat block

200

A block used to make a choice between executing two different chunks of code

Conditional (if / else block)

200

Reducing the complexity of an algorithm or process by focusing on the important parts (ex: Drawing an abstract tree instead of drawing every individual leaf)

Detail removal

200

What block is missing for this script to draw a triangle?

Pen down

300

An object on the stage that the code can manipulate (move, show, say)

Sprite

300

A specific loop block in SNAP that keeps running until the script is stopped

Forever

300

OR, AND, NOT are examples

Boolean operators

300

Combining a group of related concepts or processes into a single category (ex: a truck, sedan, and a van are all cars)

Generalization

300

The script below is missing a crucial block to continually move the sprite right when the right arrow is pressed. What is it?

Repeat Forever

400

When a program produces an expected error, like when user is asked to input a number, but types in a letter, and it says “invalid.”

Computer bug
400

A loop used inside the body of another loop

Nested loop

400

Expressions that evaluate to true or false, ex: 5 < 7 AND 4 > 2

Boolean expressions

400

Breaking a problem down into smaller subtasks, usually to increase readability and/or maintainability

Procedural decomposition

400

What's wrong with this script? What's one way to fix is?

Trying to store 2 things in 1 variable. 

500

A sequence of instructions or steps, written in a language that can be understood by a computer, that will be used by the computer to complete a task or solve a problem

Program or script

500

What does this script do?

Draws a triangle
500

True or False? 

x = 4

y = -3

x == y OR (x > 0 AND y < 0))

True

500

The goal of abstraction

Efficiency

500

What's wrong with this script? Name one way to make fix it.

Part of the code will never execute based on the conditional logic

M
e
n
u