symbols
functions
coding tips
errors
Karel
100

""

quotation marks

100

A function must be _______ in order to run

called

100

This symbol is usually at the end of each function call or command.

semicolon ;

100

TRUE or FALSE the best programmers don't make errors

FALSE, errors are a part of coding

100

TRUE or FALSE the code below move's Karel forward one space.
go();

FALSE

200

()

parentheses

200

creating a function is also known as this

defining a function

200

TRUE or FALSE when writing code it is best to write the entire program and test at the end

FALSE, code a little at a time and test gradually

200

TRUE or FALSE, Error messages typically provide a clue about how to fix an error

TRUE

200

Which function, when called 3 times in a row is equivalent to turnRight();

turnLeft();

300

;

semicolon

300

A function holds a piece of ______ that does a specific task

code

300

In JavaScript a single line comment begins with these

// or two slashes

300

TRUE or FALSE, A syntax error is like a grammar error

TRUE

300

The command Karel uses to place a ball in his current position is 

putBall();

400

{}

curly brackets

400

A function definition in Javascript always ends with a this symbol

}  which is a closing bracket

400

TRUE or FALSE comments are run by the computer

FALSE, comments are ignored

400

This is another name for a mistake in code

A bug

400

takeBall(); will only run properly if Karel is currently in the ______ position as a ball

same

500

} or ] are examples of what

closing brackets

500

True or false it is NOT common to repeat function calls in the main function of a program

FALSE

500

the code within a function definition should be _____ to make it easier to read

indented

500

Searching for and fixing errors in code is known as this.

Debugging

500

What is the quickest way to make Karel turn around given the basic commands.

turnLeft();
turnLeft();