EDPT key terms
EDPT · Get comfortable with the vocabulary.
- Algorithm
- Related: Flowchart, Pseudocode, Loop
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.
- Flowchart
- Related: Algorithm, Pseudocode, Decision Symbol
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.
- Pseudocode
- Related: Algorithm, Flowchart
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.
- Loop
- Related: Algorithm, Nested Loop, Iteration
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.
- Nested Loop
- Related: Loop, Iteration
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.
- Iteration
- Related: Loop, Trace Table
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.
- Decision Symbol
- Related: Flowchart, Conditional
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.
- Conditional
- Related: Decision Symbol, Boolean Expression
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.
- Trace Table
- Related: Iteration, Variable
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.
- Variable
- Related: Data Type, Assignment, Trace Table
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.
- Assignment
- Related: Variable, Data Type
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.
- Data Type
- Related: Variable, Integer, String
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.
- Integer
- Related: Data Type, Floating-Point Number, Overflow
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.
- Floating-Point Number
- Related: Integer, Rounding Error
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.
- String
- Related: Data Type, Concatenation, Substring
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.
- Boolean Expression
- Related: Conditional, Truth Table, Operator Precedence
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.
- Truth Table
- Related: Boolean Expression, Operator Precedence
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.
- Operator Precedence
- Related: Boolean Expression, Integer Division, Modulus
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.
- Integer Division
- Related: Modulus, Integer, Operator Precedence
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.
- Modulus
- Related: Integer Division, Operator Precedence
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.
- Overflow
- Related: Integer, Floating-Point Number
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.
- Rounding Error
- Related: Floating-Point Number, Truncation
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.
- Truncation
- Related: Rounding Error, Integer Division
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.
- Concatenation
- Related: String, Substring
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.
- Substring
- Related: String, Concatenation
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.
- Binary Number System
- Related: Hexadecimal, Bit, Byte
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.
- Hexadecimal
- Related: Binary Number System, Byte
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.
- Bit
- Related: Byte, Binary Number System
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.
- Byte
- Related: Bit, Hexadecimal, Character Code
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.
- Character Code
- Related: Byte, String
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.
- Array
- Related: Index, Record, Variable
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.
- Index
- Related: Array, Substring
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.
- Record
- Related: Array, Field
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.
- Field
- Related: Record, Data Type
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.
- File
- Related: Record, Sorting
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.
- Sorting
- Related: Searching, File
Arranging records or values into a specified order, such as ascending numeric or alphabetical, so that searching and reporting become faster and more convenient.
- Searching
- Related: Sorting, Array
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.
- Debugging
- Related: Syntax Error, Logic Error, Trace Table
The process of finding, isolating, and correcting errors in a program by reading code, tracing variables, and comparing observed output with the expected result.
- Syntax Error
- Related: Logic Error, Debugging
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.
- Logic Error
- Related: Syntax Error, Debugging, Trace Table
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.