Defining a function means to teach the computer a new command and explain what it should do when receiving that command.
Calling a function actually gives the command, so the computer will run the code for that function.
An if statement lets you ask a question to the program and only run code if the answer is true.
Control structure that lets us run either one section of code or another depending on a test.
A statement that evaluates to true or false.
An if statement lets you ask a question to the program and only run code if the answer is true.
A function passed as a parameter to another function in order to be called later.
An event is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects and uses as input.
A mouse event is when the user does something with the mouse, like clicking or moving.
A key event is when the user does presses any of the keyboard keys.
A coordinate system uses numbers as coordinates to place objects in a geometric space.
The length between the center and edge of a circle
The value returned from a function when the function is called.
The default value given to a parameter when it is initialized if no value is passed in.
A variable that can be used throughout a program, in every scope
A variable that is restricted to use in a certain scope of a program
Also called a list. A data structure that holds a collection of values in a particular order
The position of an element in an array. The first element is at index 0, the second element is at index 1, and so on.
Looping through an array is the process to loop through an array and access each of the elements. Caution must be taken to avoid looping beyond the valid index values.
Built-in functions that perform various operations on arrays, such as searching, iterating, modifying, and accessing elements.
A methodology that outlines a series of steps that divide the software development process into tasks you can assign, complete, and measure.