1/72
Vocabulary practice flashcards covering fundamental computer science concepts, Java programming syntax, hardware, primitive and reference types, control flow, arrays, methods, object-oriented design, multimedia libraries, and asymptotic analysis.
Computer
A machine that manipulates data according to a list of instructions; historically, the term referred to a human person who performed mathematical calculations.

Von Neumann Architecture
The foundational physical design layout of modern general-purpose computers, consisting of a Central Processing Unit (CPU), Memory, and Input/Output (I/O) components.
Moore's Law
The historical observation that the density of transistors placed on a CPU doubles approximately every 18 months, historically leading to a doubling of CPU speed over the same timeframe.
Multicore Processor
A CPU architecture containing several independent processing units called cores on a single chip, enabling simultaneous parallel computation across multiple tasks.
Embedded Computer
A small, specialized computer built inside of everyday appliances and devices such as watches, phones, toasters, and cars; numerically more prevalent than any other computer type.
Compiler
A specialized software program that translates human-readable source code written in a high-level programming language into a low-level language or machine code.
Java Virtual Machine (JVM)
A software execution environment that runs compiled, platform-independent Java bytecode by translating it into platform-dependent machine code via a just-in-time compiler.
Java Bytecode
The platform-independent intermediate binary code produced by compiling Java source code, which is subsequently interpreted and executed by the JVM.
Bit
A fundamental binary digit in computing representing one of two physical electronic states: OFF (0) or ON (1).
Byte
A standard unit of digital memory storage consisting of an ordered sequence of 8 bits.
Overflow
A computing phenomenon that occurs when an arithmetic operation exceeds the maximum representable value of a data type, causing the value to wrap around to a very negative number.
Underflow
A computing phenomenon that occurs when subtracting from a negative value causes it to become too negative to be represented, wrapping around to a positive number.
int
A Java primitive data type that stores a 32-bit signed integer ranging from −2,147,483,648 up to 2,147,483,647.
double
A Java primitive floating-point data type used to store rational numbers that contain a fractional component.
boolean
A Java primitive data type that can hold only one of two truth values: true or false.
char
A Java primitive data type used to store a single textual character enclosed within single quotes (such as 'a' or '$').
String
A Java object data type that represents an indexed sequence of characters enclosed within double quotes.
Literal
A source code representation of a fixed, concrete value belonging to a specific data type (such as 115, 3.14, true, or 'A').
Variable
A named memory location or storage 'box' designated to hold values of a specific data type whose contents can be modified during program execution.
Assignment Operator (=)
The Java operator that takes the evaluated value of the expression on its right side and stores it into the variable named on its left side.
Casting
An explicit operation that instructs the compiler to convert a value from one data type to another (e.g., (int)2.6), explicitly accepting any resulting loss of precision.
Scanner
A utility class imported from java.util that breaks user or system input into tokens and converts them into primitive types or Strings using methods like nextInt(), nextDouble(), and next().
System.out.format()
A method that prints formatted text using specific formatting specifiers, such as "%.2f" to format floating-point numbers to two decimal places.

ASCII Table
A standard 7-bit character encoding table that assigns a unique integer value from 0 to 127 to individual characters, letters, punctuation marks, and control codes.
Escape Sequence
A character combination preceded by a backslash (such as \n for newline, \t for tab, or \" for quotes) that represents a special character or command within character and string literals.
String Concatenation (+)
An operation that joins two string operands together into a newly constructed String without modifying the original source strings.
equals()
A method provided on Java objects (such as String) used to compare the actual character contents of two objects for equality rather than comparing memory addresses.
compareTo()
A String method that compares two strings lexicographically, returning a negative integer if the calling string precedes the argument, 0 if equal, or a positive integer if it follows.
Wrapper Class
A class (such as Integer, Double, or Character) that encapsulates a primitive data type into an object, providing utility conversion methods like parseInt() and classification methods like isDigit().
Relational Operators
A set of binary operators (==, !=, <, <=, >, >=) used to compare two values, yielding a boolean result of true or false.
Logical NOT (!)
A unary boolean operator that inverts the truth value of its operand, converting true to false and false to true.
Logical AND (&&)
A binary boolean operator that evaluates to true if and only if both of its operand expressions evaluate to true.
Logical OR (||)
A binary boolean operator that evaluates to true if either or both of its operand expressions evaluate to true.
Logical XOR (^)
A binary boolean operator that evaluates to true if exactly one operand is true and the other is false, returning false when both operands share the same boolean value.
Short-Circuit Evaluation
A rule of boolean expression evaluation where Java skips evaluating the second operand if the outcome of the entire expression is already guaranteed by the first operand (e.g., true || ... or false && ...).
if Statement
A selection control statement that evaluates a boolean condition and executes its associated block of code only when the condition is true.
if-else Statement
A conditional structure providing two mutually exclusive branches, executing the if block when the condition is true and the else block when it is false.
switch Statement
A control flow statement that evaluates an int, char, or String expression and transfers execution directly to the matching literal case label until a break is encountered.
yield
A Java keyword used inside a multi-statement block of a switch expression case to return a resulting value from the switch.
while Loop
A pre-test repetition statement that repeatedly executes its body as long as its controlling boolean condition evaluates to true, typically used when the iteration count is unknown beforehand.
for Loop
A repetition statement whose header integrates initialization, loop continuation condition, and update expressions, making it ideal for tasks with a predetermined number of iterations.
do-while Loop
A post-test repetition statement that executes its loop body first and checks the condition at the end, guaranteeing that the body executes at least once.
Fencepost Error
A common programming error in loops where the loop iterates one time too many or one time too few due to an off-by-one condition boundary.
Array
A homogeneous, static data structure in Java that stores an ordered collection of elements of the exact same data type with a fixed capacity set at instantiation.
Three-Line Swap
A fundamental algorithm pattern used to interchange the contents of two variables x and y using a temporary variable: int temp = x; x = y; y = temp;.
Two-Dimensional Array (2D Array)
A structured array of arrays visualized as a table or grid of rows and columns, declared with two sets of square brackets (type[][]).

Variance
A statistical measurement describing how spread out a data distribution is from its mean, calculated by the formula σ2=N1∑i=1N(xi−xˉ)2.
Pure Tone
A sound wave characterized by a single, smooth, unperturbed sine wave that lacks overtones and harmonics.
Sampling Rate
The number of discrete audio wave height measurements recorded per second, standardized in StdAudio at 44,100 Hz.
StdAudio
A Java audio manipulation library developed by Sedgewick and Wayne that reads, writes, and plays WAV audio samples represented as an array of doubles between −1.0 and 1.0.
StdDraw
A graphics rendering library developed by Sedgewick and Wayne that enables drawing geometric shapes, lines, points, and animations on a Cartesian canvas.
Double Buffering
A graphics technique enabled in StdDraw that performs rendering off-screen and presents the complete frame all at once via show(), eliminating flickering in animations.
Static Method
A class-level method declared with the static keyword that performs an action without being associated with or requiring an instance of an object.
Void Method
A method declared with the void return type that executes statements to perform a task but does not return any value to the caller.
Method Overloading
The practice of defining multiple methods within the same class that share the identical name but have different parameter lists (differing in number, type, or both).
Scope
The defined section of program code where a particular variable is declared, recognized, and accessible.
Binding
The parameter-passing process in Java whereby values of argument expressions from the caller are copied into the parameter variables of the called method.
Object
A concrete entity created in computer memory that encapsulates state (data stored in member variables) and behavior (executable methods).
Class
A blueprint or template in Java that specifies the member variables and methods that characterize any object instantiated from it.
Reference Variable
A variable that stores the memory location of an object rather than storing the actual object data directly within itself.
Alias
A situation where two or more reference variables point to the exact same object in memory, allowing changes made via one reference to affect the other.
Constructor
A special class method invoked using the new keyword whose primary role is to initialize the state of a newly instantiated object.
Accessor
A public method (getter) designed to retrieve and return the value of a private member variable of an object without directly exposing the variable.
Mutator
A public method (setter) designed to modify or update the value of a private member variable of an object.
Class Variable (Static Member)
A field declared with the static keyword in a class, resulting in exactly one copy stored globally with the class rather than separate copies per object instance.
final Keyword
A Java modifier that defines a constant variable or member whose value can be assigned only once and can never be modified thereafter.
Big Oh Notation
A mathematical notation used to classify algorithms according to their worst-case asymptotic running time as the input size n grows arbitrarily large.

RGB Color Model
An additive color system used for computer screens that produces colors by mixing Red, Green, and Blue light intensities ranging from 0 to 255.

CMYK Color Model
A subtractive color system utilized for color printing that combines Cyan, Magenta, Yellow, and Key (Black) inks where adding colors absorbs light and darkens the output.
Luminance
The perceived brightness of a color calculated to convert RGB to grayscale using the formula Value=0.3R+0.59G+0.11B, reflecting human eye sensitivity.
Lossy Compression
A data compression method used in JPEG images that permanently discards certain image details to dramatically reduce file size.
Lossless Compression
A data compression method used in PNG images that reduces file size without discarding any image information, allowing perfect reconstruction of the original pixels.
Picture Class
A class from the Princeton standard library that provides an interface to manipulate images as 2D arrays of Color pixels using methods like get(x, y) and set(x, y, c).