Vocab 2-4-19 Flashcards
(16 cards)
World
A “world” or “Karel World” is a grid that Karel lives on.
Karel
Karel is a dog who listens to your coding commands.
Command
A command is an instruction you can give Karel.
Street
Street is the Y axis on Karel’s grid.
Avenue
An Avenue is he X axis on Karel’s grid.
lowerCarmelCase
lowerCarmelCase is a naming convention were the first letter is lowercase, and each subsequent start of a word is uppercase.
Define a function
Defining a function means to teach the computer 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.
Indentation
Indentation in the visual structure of how your code is lid out. It used tabs to organize code into hierarchy.
Parentheses
( and )
Function Body
The part of a function that contains the commands.
decompose
Breaking down your code and splitting it into more functions.
read like a story
Programs that “read like a story’’ have a good break down and make the code easy to follow and read.
Start function
This is the function that is is called when you click run.
top down design
top down design is a method for braking our program down into smaller parts.
Algorithm
A set of steps or rules to follow to solve a particular problem.