StudyBrixFree worksheets, study guides and courses

Computer science · Grades 5–10

Computing foundations · quick reference

Trace code using a table of variable values. Do not execute unknown code to answer a worksheet question.

Make a worksheet

Key terms at a glance

Algorithm

A finite, ordered method for carrying out a task or solving a problem.

Variable

A named location or binding used to refer to a value in a program.

Constant

A value intended not to change within the relevant program context.

Boolean

A data type representing true or false.

Integer

A data type representing whole-number values.

String

A sequence of characters treated as text.

Array

An indexed collection of elements.

Loop

A control structure that repeats instructions.

Conditional

A control structure that chooses behaviour based on a test.

Function

A reusable block of code that performs a defined task.

Parameter

A named input in a function definition.

Argument

A value supplied when a function is called.

Return value

A result passed back by a function to its caller.

Debugging

Finding and correcting faults in a program.

Syntax error

A violation of a programming language's grammatical rules.

Logic error

A fault that makes a program produce an unintended result despite valid syntax.

Pseudocode

A human-readable description of an algorithm without strict programming-language syntax.

Flowchart

A diagram representing steps and decisions in a process.

Input

Data or signals supplied to a system.

Output

Data or signals produced by a system.

Learning preview · teacher review required. Grade bands are approximate, not official curriculum alignment.