Vocabulary Flashcards
lowerCamelCase
lowerCamelCase is a naming convention where the first letter is lower case, subsequent start of a word is upper case.
World
A “world” or “Karel World” is a grid that Karel lives in.
Karel
Karel is a dog who listens to your commands.
Command
A command is an instruction you can give to Karel.
Define A Function
Defining the function means to teach the computer a new command what it should do when receiving that command
Call A Function
Calling a function actually gives the command, so the computer will run the code for that function
Indentation
Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy
Curly Brackets
An open curly bracket is { and a close bracket is }
Parentheses
( and )
Function Body
The part of a function that contains the commands
Break Down (Decompose)
Breaking down (decomposing) your code is splitting it into more functions
Read like a story
Programs that “Read like a story” have a good decomposition and make the code easy to follow
Decomposition
Decomposition is breaking your program into smaller parts
Top Down Design
Top down design is a method for breaking our program into smaller parts.
Loop
A loop is a way to repeat your code in your program