17 questions
A step-by-step set of instructions for completing a task
algorithm
syntax
loop
variable
The rules for correct spelling, grammar, and punctuation in a programming language
while true loop
method
syntax
algorithm
A character or thing that can perform actions
method
object
code
iterate
An action performed by an object
object
method
syntax
plan
Notes that explain to others what each part of your program does.
code
comment
notes
plan
Try something a bunch of times, then change a little each time until it's right.
syntax
property
iterate
code
Errors in code
error
bug
mistake
fly
When you read code carefully to look for errors and fix them
debug
fix
try again
mistake
The order of the commands in a program.
code
objects
debug
sequence
A way of repeating code
repeat
do again
loop
method
Repeat a block of code while a certain condition is true (they do not go on forever).
loop
while loop
infinite loop
syntax
A loop that repeats forever until the level is beaten
while loop
loop
forever loop
infinite loop/while true loop
All lines in a while loop must be indented this number of spaces to be included in the loop
3
4
5
6
Symbols used to store data; they represent a value that can change.
variable
algorithm
loop
object
The objects that the variable refers to
method
value
while loop
syntax
Which line of code is written correctly?
hero.moveRight
Hero.moveRight()
hero.MoveRight()
hero.moveRight()
In python, comment lines start with this symbol
#
//
&
%