Vocabulary Flashcards
Define a function
defining a function means to teach the computer a new command and explain 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
Curly Bracket
An open curly bracket is { and a close curly bracket is }
Parenthesis
(and)
Function Body
The part of the 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 good decomposition and make the code easy to follow.
Indentation
Indentation is the visual structure of 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 into small parts
Top Down Design
Top down design is a method for breaking our program into smaller parts.
Algorithm
An algorithm is a set of steps or rules to follow to solve a particular problem.
loop
a loop is a way to repeat code in your program
for loop
a for loop lets us repeat code a fixed number of times
control structure
a control structure lets us change the code of the flow