Skip to main content

Glossary

Short, plain definitions. In lessons, underlined words open these too.

algorithm
A clear list of steps that solves a problem, like a recipe.
array
An ordered list of values stored under one name. Each item has a position number.
boolean
A value that is only true or false.
bug
A mistake in a program that makes it do something you did not intend.
class
A blueprint for making objects that share the same data and behaviour.
condition
A question the program checks that is either true or false, used to decide what to do next.
dictionary
A collection that stores values under keys, like words and their meanings.
function
A named, reusable block of steps. You call it by name to run those steps.
loop
A way to repeat steps, either a set number of times or while something stays true.
method
A function that belongs to an object or class.
neural network
A program made of many simple connected units that learns patterns from examples.
object
A bundle of related data and the actions that work on it.
parameter
A named input a function receives when it is called.
pointer
A value that holds the memory address of another value (used in C++).
pseudocode
Program steps written in plain language before turning them into real code.
return
Sending a value back out of a function to the code that called it.
scope
Where in the program a name can be seen and used.
string
A piece of text, such as a word or sentence.
syntax
The spelling and grammar rules of a programming language.
training
The process of showing an AI model many examples so it adjusts itself to make better guesses.
variable
A named box that stores a value so you can use it later.