DT Coding Test 7 Flashcards
Algorithm
a list of commands or steps given to the computer so it can perform a task
Sequence
the order the commands are given
Command
a specific action used to control Byte (or anything else)
camelCase
a computer language where instead of using spaces between words you use a capital letter
Pseudo Code
writing down codes in basic English (ex. moveForward() is camelCase, and move forward is Pseudo code)
Functions
A set of instructions that you would like to use all under a single command name.
Function Declaration
The keyword of ‘func’ is used to declare a Function
Function Name
The name which follows the Function declaration and by which the Function will be referred to e.g. func turnRight()
Function Body
The instructions to be followed when the function is called, this is the code in-between the curly braces
Function Call
The act of calling a Function to perform a task e.g. turnRight()