Coding vobab Flashcards
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
Function
teach a computer a new command it should do when 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 Bracket
an open curly bracket is(and a close bracket is)
Parentheses
(and)
Function body
The part of a function that contains the commands,
Define a function
Means to teach the computer a new command and explain what it should do when receiving that command.
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 good decomposition and make the code easy to follow
Indentation
indentation is the visual structure how your code is laid out. It uses tabs to organize code into a hierarchy.
start function
this is the function that is called when you click run.
decomposition
decomposition is breaking your program down into smaller parts