Common terms used in computer science and programming.
variable | A value that is used to represent something which can be changed. |
global variable | A variable that is declared outside any function that can be used at any point either inside or outside functions. |
local variable | A variable that is not global and can only be used and accessed within its scope (most often, inside a function or a for loop). |
parameters | Variables that methods and functions take in upon declaration. |
arguments | Data or values passed into calls of the function or method. |
function | A code body that has a name. The name can be called to repeat the code body. It can take in parameters, or data to act upon. |
helper function | A function that is called in the body of another function to complete part of a bigger task. |
for-loop | A loop that is run a set number of times. Generally for loops are given a start value, an end value, and a step value. |
while-loop | A loop that keeps running until its conditional statement becomes False. |
event | A change of state that triggers an event function call. Examples include moving the mouse, or holding a key. |
conditional | A logical statement that can evaluate to either True or False. |
type | A classification given to variables and data. |
string | A special type that characters within single or double quotes are classified as. |
integer | A special type that whole numbers are classified as. |
float | A special type that numbers with a decimal point are classified as. |
booleans | A special type that is either True or False. |
characters | A symbol like 'a', '!', '1'. |
pseudocode | Normal everyday language to describe a coding problem (instead of syntactically correct language). |