1/39
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Move
A Karel program uses the command ____ to move Karel forward one space.
turn left();
The command ____ is used to turn Karel to the left.
Command
A Karel function is a group of commands that can be used to perform a specific ____.
Defining
We can teach Karel new commands by ____ a new function.
Defined
A function must be ____ before Karel can use it.
Called
When a function is used in a program
Smaller parts
The purpose of using functions is to break a program into ____.
Read
Functions can help make a program easier to ____.
If statement
An ____ is used when we want Karel to make a decision based on whether a condition is true.
Condition
ballsPresent() is an example of a ____ that can be used with an if statement.
Current location
noBallsPresent() checks whether there are no balls at Karel's ____.
While loop
A ____ is used to repeat commands while a condition remains true.
For loop / Fixed number
A ____ is used to repeat something a ____ of times.
For loop
If Karel needs to put down 300 tennis balls, use a ____
Repeat / Fixed
The purpose of a for loop is to ____ something a ____ number of times.
Semi colons
The three main parts of a for loop are separated by ____.
Comment
The symbols // are used to create a single-line ____ in Karel code.
Syntax error
A mistake in the structure or rules of code can cause a ____.
Semicolon
Karel commands such as move must include parentheses and a ____.
Left / L
turnleft() is not a valid Karel command because the word ____ must use a capital ____.
Indentation
Proper ____ helps show the structure of a program and makes code easier to understand.
Pre condition
A ____ is information that describes what must be true before a function runs.
Post condition
A ____ describes what should be true after a function finishes running.
Top down design
____ is a way of designing a program by starting with the largest problem and breaking it into smaller problems.
Smaller parts
Breaking a large problem into ____ makes the problem easier to solve.
Loop
A program can often be improved by using a ____ instead of writing the same command many times.
Super karel
____ has additional abilities that allow Karel to perform commands such as turning right.
Move
A condition such as frontIsClear() can be used to determine whether Karel can safely ____.
Valid
When code is written correctly and follows the rules of the programming language
If statement
____ makes a decision based on a condition
While loop
____ repeats while a condition is true
For loop
____ repeats a fixed number of times
Function
____ groups commands into a reusable unit
Precondition
____ what is true before a function runs
Postcondition
____ what is true after a function runs
Indentation
____ shows the structure of code
Syntax error
____ an error in the rules/structure of code
Comment
____ explains code and is not executed
Super Karel
____ provides additional Karel commands
Calling a function
____ using a function that has already been defined