1/32
Vocabulary practice flashcards covering fundamental computational thinking, Python syntax, digital image processing, and algorithms for APCO 1P00.
Media Computation
The practice of using computation to create, transform, analyze, and present digital media such as text, images, sounds, and web pages.
Algorithm
A finite, ordered sequence of precise steps designed to solve a specific problem.
Input–Processing–Output (IPO) Model
A fundamental program structure consisting of obtaining input data, performing calculations or logical operations on that data, and displaying or storing the resulting output.
Pseudocode
A language-independent representation of an algorithm written in plain prose that emphasizes logical flow rather than rigid programming syntax.
Integer (int)
A standard Python data type representing positive, negative, or zero whole numbers without any fractional or decimal component.
Float (float)
A Python numerical data type representing numbers that contain a decimal point.
String (str)
A Python data type representing textual sequences enclosed within matching single or double quotation marks.
Boolean (bool)
A computational data type representing truth values, consisting strictly of True or False.
Variable
A named location in computer memory allocated to store and track a value.
Floor Division (//)
An arithmetic operator that divides two operands and rounds down to the nearest integer by discarding the decimal remainder.
Modulo (%)
An arithmetic operator that calculates and returns the integer remainder resulting from division.
input() Function
A built-in Python function that reads user input from the console and always returns it as a string (str).
Syntax Error
A programming error that occurs when the written code violates Python structural rules, preventing the interpreter from parsing or executing the script.
Runtime Error
An error occurring during active program execution where syntactically valid code triggers an illegal operation (such as division by zero) that crashes the program.
Logic Error
A flaw in an algorithm design causing the program to run to completion without crashing while producing incorrect or unintended outputs.
Function
A named, reusable block of instructions defined with the def keyword to execute a distinct computational sub-task.
Parameter
A variable defined within a function header that receives data passed into the function.
Argument
The actual concrete value or expression passed into a function when calling it.
return Statement
A function command that terminates execution immediately and delivers a calculated result back to the caller.
Local Variable
A variable initialized inside a function body or parameter list whose existence and scope are confined solely to that function's execution.
Program Decomposition
The practice of breaking down a large, complex computational problem into smaller, modular, and reusable functions.
Pixel
The smallest individual picture element situated on a digital image coordinate grid that stores colour information.
RGB Colour Model
An additive colour system representing pixels using Red, Green, and Blue color channels, each scaled by an integer ranging from 0 to 255.
RGB Clamping
A boundary-checking procedure ensuring that calculated colour channel values remain strictly within the legal bounds of 0 to 255.
Red-Eye Detection Logic
An algorithmic condition identifying flash reflection artifacts by testing whether a pixel's Red channel exceeds 200 and is greater than both its Green and Blue channels.
range() Function
A built-in sequence generator that yields an arithmetic progression of integers starting at a given start value up to, but strictly excluding, a specified stop value.
Nested Loop
A control structure in which an inner loop runs through its complete sequence of iterations for each individual iteration of an enclosing outer loop.
Negative Image Filter
An image transformation algorithm that reverses pixel intensities by computing newChannel=255−oldChannel for each RGB channel.
Python List
A native, ordered, zero-indexed data structure that supports dynamic sizing and can store heterogeneous data types.
Typed Array
A sequence structure imported from the array module that enforces strict type uniformity across all contained elements.
Accumulation Pattern
A looping technique that initializes a variable prior to loop entry and iteratively updates it across iterations to calculate an aggregate result.
Histogram
A frequency list consisting of 256 counters (indices 0 through 255) that tallies the occurrences of each specific channel intensity across an image.
Horizontal Image Flip
A geometric transformation mirroring an image across its central vertical axis by mapping pixel column coordinate x to newX=width−1−x while keeping row coordinate y unchanged.