EDPT study materials
EDPT study resources

EDPT key terms

EDPT · Get comfortable with the vocabulary.

Algorithm

A finite, ordered set of unambiguous steps that transforms an input into a desired output. Every step must be executable without further interpretation, and the process must terminate.

Related: Flowchart, Pseudocode, Loop
Flowchart

A diagram using standardized symbols-ovals for start and end, rectangles for processes, diamonds for decisions, parallelograms for input and output-to show the sequence of steps in a procedure.

Related: Algorithm, Pseudocode, Decision Symbol
Pseudocode

A structured, English-like notation for expressing an algorithm without the syntax rules of any particular programming language. It emphasizes logic and sequence rather than compiling or running.

Related: Algorithm, Flowchart
Loop

A control structure that repeats a block of instructions while a condition holds or for a set number of iterations, avoiding the need to duplicate identical steps in writing.

Related: Algorithm, Nested Loop, Iteration
Nested Loop

A loop placed inside the body of another loop. The inner loop completes all its repetitions for each single pass of the outer loop, so total iterations multiply.

Related: Loop, Iteration
Iteration

One complete pass through the body of a loop. Counting iterations is a common way to trace an algorithm's behavior and to estimate how much work it performs.

Related: Loop, Trace Table
Decision Symbol

The diamond-shaped flowchart element containing a yes-or-no question. Two or more labeled exit paths leave it, and the path taken depends on whether the stated condition is true.

Related: Flowchart, Conditional
Conditional

A construct that executes one block of instructions when a stated test is true and optionally a different block when it is false, allowing a program to choose among alternatives.

Related: Decision Symbol, Boolean Expression
Trace Table

A manual table that records the value of each variable after every step of an algorithm, used to verify logic and locate the point where output diverges from expectation.

Related: Iteration, Variable
Variable

A named storage location whose contents can change while a program runs. It has an identifier, a data type, and a current value that instructions may read or replace.

Related: Data Type, Assignment, Trace Table
Assignment

An instruction that stores a value into a variable, replacing whatever was there before. The right side is evaluated first, then the result is placed in the named location.

Related: Variable, Data Type
Data Type

A classification that determines what kind of values a variable may hold and which operations apply-for example integer, decimal, character, string, or true/false logical values.

Related: Variable, Integer, String
Integer

A whole number with no fractional part, such as 7, 0, or −42. In many languages integers occupy a fixed range of storage, so overflow can occur beyond the maximum.

Related: Data Type, Floating-Point Number, Overflow
Floating-Point Number

A numeric value stored as a sign, a mantissa, and an exponent, allowing very large and very small magnitudes with limited significant digits. Rounding error is inherent in such representation.

Related: Integer, Rounding Error
String

A sequence of characters treated as one value, such as a name or a code. Operations typically include finding length, extracting a substring, and joining two strings together.

Related: Data Type, Concatenation, Substring
Boolean Expression

An expression that evaluates to exactly one of two values, true or false, typically by comparing quantities or combining simpler conditions with AND, OR, and NOT.

Related: Conditional, Truth Table, Operator Precedence
Truth Table

A tabular listing of every combination of true and false inputs to a logical operation together with the resulting output, used to confirm the behavior of compound conditions.

Related: Boolean Expression, Operator Precedence
Operator Precedence

The agreed ranking that determines which operation in an expression is performed first. Exponentiation ranks above multiplication and division, which rank above addition and subtraction.

Related: Boolean Expression, Integer Division, Modulus
Integer Division

Division in which any fractional part of the quotient is discarded, so 17 divided by 5 yields 3. The result is a whole number rather than a rounded or decimal value.

Related: Modulus, Integer, Operator Precedence
Modulus

The remainder operation. It returns what is left over after integer division, so 17 modulus 5 equals 2. It is widely used to test divisibility and to wrap values within a range.

Related: Integer Division, Operator Precedence
Overflow

The condition in which a computed value exceeds the largest magnitude the storage format can hold, causing an incorrect wrapped or truncated result if not detected.

Related: Integer, Floating-Point Number
Rounding Error

The small difference between an exact value and its stored approximation, arising when a number cannot be represented with the available significant digits, as with repeating decimals in binary.

Related: Floating-Point Number, Truncation
Truncation

Discarding digits beyond a chosen position without adjusting the last kept digit, so 3.789 truncated to two decimals becomes 3.78. It differs from rounding, which may increase the last digit.

Related: Rounding Error, Integer Division
Concatenation

Joining two character strings end to end to form a single longer string, so "DATA" joined with "BASE" produces "DATABASE". Order matters and no separator is inserted automatically.

Related: String, Substring
Substring

A contiguous portion of a string identified by a starting position and a length, or by the positions of its first and last characters, counting from a defined origin.

Related: String, Concatenation
Binary Number System

A positional notation using only the digits 0 and 1, where each place value is a power of two. It is the native representation of data inside digital computers.

Related: Hexadecimal, Bit, Byte
Hexadecimal

A base-16 notation using digits 0–9 and letters A–F. One hexadecimal digit corresponds exactly to four binary bits, making it a compact shorthand for memory addresses and byte values.

Related: Binary Number System, Byte
Bit

The smallest unit of digital information, holding a single value of either 0 or 1. Groups of bits encode numbers, characters, and instructions within a computer.

Related: Byte, Binary Number System
Byte

A group of eight bits treated as one unit. A byte can represent 256 distinct values, enough for one character code or a small unsigned integer from 0 to 255.

Related: Bit, Hexadecimal, Character Code
Character Code

A numeric value assigned to a letter, digit, or symbol so it can be stored and compared. Common schemes include ASCII and Unicode, which map characters to standard numbers.

Related: Byte, String
Array

An ordered collection of elements of the same type, stored so each can be accessed by its position index. Indexing usually begins at 0 or 1 depending on the language.

Related: Index, Record, Variable
Index

The position number used to locate one element within an array or string. Valid indices run from zero (or one) up to one less than the number of elements.

Related: Array, Substring
Record

A composite data structure grouping several related fields, possibly of different types, under one name-for example a student record holding name, identifier, and score.

Related: Array, Field
Field

One named component within a record, holding a single attribute of the entity the record describes. Each field has its own data type and length.

Related: Record, Data Type
File

A named, persistent collection of related records or bytes stored on a storage device. Programs open, read, write, and close files to keep data after execution ends.

Related: Record, Sorting
Sorting

Arranging records or values into a specified order, such as ascending numeric or alphabetical, so that searching and reporting become faster and more convenient.

Related: Searching, File
Searching

Examining a collection to locate a particular value or determine that it is absent. Linear search checks items one by one; binary search halves a sorted range repeatedly.

Related: Sorting, Array
Debugging

The process of finding, isolating, and correcting errors in a program by reading code, tracing variables, and comparing observed output with the expected result.

Related: Syntax Error, Logic Error, Trace Table
Syntax Error

A violation of the grammar rules of a programming language, such as a missing parenthesis or misspelled keyword, which prevents the program from being translated and run.

Related: Logic Error, Debugging
Logic Error

A flaw in a program's reasoning that lets it run to completion but produce incorrect results, such as using the wrong comparison or an off-by-one loop boundary.

Related: Syntax Error, Debugging, Trace Table