NCEA Level 2 Digital Technologies study materials
NCEA Level 2 Digital Technologies study resources

NCEA Level 2 Digital Technologies key terms

NCEA Level 2 Digital Technologies · Get comfortable with the vocabulary.

Algorithm

A finite, ordered set of unambiguous steps that solves a problem or completes a task, such as sorting a list or finding the largest value in a data set.

Related: Pseudocode, Iteration, Selection
Variable

A named storage location in a program whose value can change while the program runs. Its name lets code read and update data without tracking memory addresses directly.

Related: Data type, Assignment, Scope
Data type

The category that defines what kind of values a variable may hold and which operations apply, for example integer, float, boolean, string, or a structured type such as a list.

Related: Variable, Assignment, Type casting
Selection

A control structure that chooses which statements run based on a condition being true or false, implemented with if, else-if, and else statements or an equivalent construct.

Related: Condition, Iteration, Boolean
Iteration

A control structure that repeats a block of statements, either a fixed number of times or while a condition holds, using loops such as for and while.

Related: Loop, Condition, Algorithm
Function

A named, reusable block of code that performs one task, may accept parameters, and may return a value to the code that called it.

Related: Parameter, Return value, Modularity
Parameter

A named input declared by a function that receives a value when the function is called, letting the same code work with different data each time.

Related: Function, Argument, Return value
Boolean

A data type with exactly two possible values, true or false, used to represent conditions and to control selection and iteration in a program.

Related: Condition, Selection, Logical operator
Debugging

The process of finding, diagnosing, and fixing errors in a program by reading code, tracing values, adding test output, and re-running tests until behaviour is correct.

Related: Syntax error, Logic error, Test case
Syntax error

A mistake that breaks the grammar rules of a programming language, such as a missing bracket or misspelled keyword, which usually stops the program from compiling or running at all.

Related: Debugging, Logic error, Compilation
Pseudocode

A structured, language-independent description of an algorithm written in plain statements, used to plan and communicate logic before it is translated into real code.

Related: Algorithm, Flowchart, Iteration
Modularity

Designing software as separate, self-contained parts such as functions or modules, so each part can be built, tested, and changed with limited effect on the rest.

Related: Function, Scope, Maintainability
Scope

The region of a program in which a variable or function name is accessible; local scope limits access to one block or function, while global scope makes it visible more widely.

Related: Variable, Modularity, Function
Microcontroller

A single integrated circuit containing a processor, memory, and input/output peripherals, programmed to control a device such as a robot, appliance, or sensor node.

Related: GPIO, Sensor, Actuator
GPIO

General-purpose input/output: configurable pins on a microcontroller or single-board computer that software can set high or low, or read as a digital input.

Related: Microcontroller, Digital signal, Pull-up resistor
Sensor

A component that converts a physical quantity such as temperature, light, distance, or motion into an electrical signal that a microcontroller can read and process.

Related: Actuator, Analog signal, Microcontroller
Actuator

An output device that converts an electrical control signal into physical action, for example a motor, servo, relay, buzzer, or LED, allowing a system to affect its environment.

Related: Sensor, Pulse-width modulation, GPIO
Analog signal

A signal that varies continuously over a range of values, such as a voltage from a temperature sensor, which must be converted to numbers before a digital processor can use it.

Related: ADC, Digital signal, Sensor
ADC

Analog-to-digital converter: a circuit that samples a continuously varying voltage and outputs a discrete numeric value, often with a resolution measured in bits.

Related: Analog signal, Digital signal, Resolution
Pulse-width modulation

A technique that switches a digital output on and off rapidly and varies the proportion of on-time, giving an average effect such as dimmed LED brightness or motor speed.

Related: Actuator, Duty cycle, Digital signal
Pull-up resistor

A resistor connected between a digital input pin and the supply voltage so the pin reads a stable high when nothing pulls it low, preventing floating, unreliable readings.

Related: GPIO, Digital signal, Microcontroller
Embedded system

A computer built into a larger device to perform a dedicated control function, typically with limited memory and power, running fixed firmware rather than general-purpose applications.

Related: Microcontroller, Firmware, Real-time system
Firmware

Software stored on a device's non-volatile memory that controls its hardware directly and is rarely changed by the user, sitting between the hardware and any higher-level software.

Related: Embedded system, Microcontroller, Flash memory
Relational database

A collection of data organised into tables of rows and columns, with relationships between tables expressed through shared key values rather than nested structures.

Related: Primary key, Foreign key, SQL
Primary key

A column or combination of columns whose value uniquely identifies each row in a table, so no two rows share the same key and no key value is null.

Related: Foreign key, Relational database, Entity integrity
Foreign key

A column in one table that holds a primary key value from another table, creating a link between the two tables and enforcing that referenced records exist.

Related: Primary key, Relational database, Referential integrity
SQL

Structured Query Language: the standard language for defining, querying, and modifying data in a relational database, including statements such as SELECT, INSERT, UPDATE, and DELETE.

Related: Query, Relational database, Primary key
Query

A request for data from a database that specifies which tables, fields, filters, and sort order are wanted, returning a result set rather than changing stored data.

Related: SQL, Relational database, Data validation
Data validation

Rules applied when data is entered to check it is acceptable, such as a required field, a range check, or a list of allowed values, reducing incorrect data in a system.

Related: Data verification, Query, Input mask
Data verification

Checking that data was copied or transferred accurately, for example by entering a value twice or using a checksum, to catch errors introduced during input or transmission.

Related: Data validation, Checksum, Input mask
Encryption

Transforming readable data into an unreadable form using a key, so only someone holding the correct key can reverse the process and read the original content.

Related: Authentication, Data integrity, Backup
Authentication

The process of proving a user's or system's claimed identity, typically with something they know, possess, or are, before granting access to protected data or services.

Related: Encryption, Access control, Data integrity
Resolution

The amount of detail an image, screen, or sampled signal can represent, measured in pixels for displays or bits for converters; higher resolution captures finer detail but uses more storage.

Related: Pixel, File compression, ADC
Pixel

The smallest individually controllable element of a raster image or display, holding colour information; many pixels together form the visible picture.

Related: Resolution, Colour depth, Raster graphic
Colour depth

The number of bits used to store the colour of each pixel, determining how many distinct colours are possible, such as 8-bit, 16-bit, or 24-bit colour.

Related: Pixel, File size, Raster graphic
Lossy compression

Reducing file size by permanently discarding some data that is least noticeable to human perception, as in JPEG images or MP3 audio, so quality drops slightly with each save.

Related: Lossless compression, File size, Resolution
Lossless compression

Reducing file size by encoding data more efficiently so the original can be rebuilt exactly, as with PNG images or ZIP archives, with no loss of quality.

Related: Lossy compression, File size, Raster graphic
Vector graphic

An image described by mathematical shapes, paths, and fills rather than a grid of pixels, so it can be scaled to any size without becoming pixelated.

Related: Raster graphic, Resolution, Pixel