D684 WITH CORRECT ANSWERS
2025
Field - CORRECT ANSWER-Variable inside a class (state/data)
Inheritance - CORRECT ANSWER-One class derives behavior/state from another
Methods - CORRECT ANSWER-Functions inside a class
Argument - CORRECT ANSWER-Actual value passed into a method
Parameter - CORRECT ANSWER-Variable in method definition accepting argument
(ingriedent1 in blender)
reference parameter - CORRECT ANSWER-function is working with original variable,
not just a copy
value parameter - CORRECT ANSWER-function gets copy of input, not original variable
composite variable - CORRECT ANSWER-variable that holds multiple pieces of data,
usually under a single name
Array - CORRECT ANSWER-collection of items stored on a contiguous memory block,
with each item identified by an index number
record - CORRECT ANSWER-heterogeneous group of items that can be different data
types, under one name
abstract data type - CORRECT ANSWER-template/blueprint for how to organize and
use data—lists are these, data is not, also called containers cause they hold data
, stack - CORRECT ANSWER-way of organizing data where the last thing you put in is
the first thing you take out (LIFO); you can only add/remove things from one end known
as the top (ex: like a stack of plates, pop/push)
queue - CORRECT ANSWER-data structure that follows a firstin, firstout (FIFO) order
where elements are added to the back and removed from the front (like grocery line)
list - CORRECT ANSWER-items in a linear sequence, allowing easy access, and the
insertion and deletion of elements
three properties of a list - CORRECT ANSWER-items are homogeneous, items are
linear, and lists have varying lengths
linked list - CORRECT ANSWER-a collection of elements, each containing a reference
to the next element; consists of nodes
topdown design - CORRECT ANSWER-method of solving a problem by breaking it
down into smaller steps or tasks; build up to solution step by step
objectoriented design - CORRECT ANSWER-produces a solution based on all the
selfcontained "objects", which are composed of data or operations that manipulate the
data (instead of just steps)
Advantage of OOP - CORRECT ANSWER-allows you to reuse code using classes and
inheritance; build new features by modifying existing objects, saving time and reducing
errors
Class - CORRECT ANSWER-blueprint for creating objects; defines properties and
behaviors the objects will have—all the objects within a class will have related
properties
Object - CORRECT ANSWER-contains data and methods defined by a class,
represents a specific entity in a program
Instance of a class - CORRECT ANSWER-means a real, usable object created from a
class; class is like a template, and the instance is the actual thing made from it
Invoking object's subprogram - CORRECT ANSWER-Objects communicate with one
another by sending messages
compiler - CORRECT ANSWER-a tool that translates source code written in highlevel
programming language into machine code or byte code that the computer can execute
Examples of compiled languages - CORRECT ANSWER-C, C++, Rust, Go, Fortran
2025
Field - CORRECT ANSWER-Variable inside a class (state/data)
Inheritance - CORRECT ANSWER-One class derives behavior/state from another
Methods - CORRECT ANSWER-Functions inside a class
Argument - CORRECT ANSWER-Actual value passed into a method
Parameter - CORRECT ANSWER-Variable in method definition accepting argument
(ingriedent1 in blender)
reference parameter - CORRECT ANSWER-function is working with original variable,
not just a copy
value parameter - CORRECT ANSWER-function gets copy of input, not original variable
composite variable - CORRECT ANSWER-variable that holds multiple pieces of data,
usually under a single name
Array - CORRECT ANSWER-collection of items stored on a contiguous memory block,
with each item identified by an index number
record - CORRECT ANSWER-heterogeneous group of items that can be different data
types, under one name
abstract data type - CORRECT ANSWER-template/blueprint for how to organize and
use data—lists are these, data is not, also called containers cause they hold data
, stack - CORRECT ANSWER-way of organizing data where the last thing you put in is
the first thing you take out (LIFO); you can only add/remove things from one end known
as the top (ex: like a stack of plates, pop/push)
queue - CORRECT ANSWER-data structure that follows a firstin, firstout (FIFO) order
where elements are added to the back and removed from the front (like grocery line)
list - CORRECT ANSWER-items in a linear sequence, allowing easy access, and the
insertion and deletion of elements
three properties of a list - CORRECT ANSWER-items are homogeneous, items are
linear, and lists have varying lengths
linked list - CORRECT ANSWER-a collection of elements, each containing a reference
to the next element; consists of nodes
topdown design - CORRECT ANSWER-method of solving a problem by breaking it
down into smaller steps or tasks; build up to solution step by step
objectoriented design - CORRECT ANSWER-produces a solution based on all the
selfcontained "objects", which are composed of data or operations that manipulate the
data (instead of just steps)
Advantage of OOP - CORRECT ANSWER-allows you to reuse code using classes and
inheritance; build new features by modifying existing objects, saving time and reducing
errors
Class - CORRECT ANSWER-blueprint for creating objects; defines properties and
behaviors the objects will have—all the objects within a class will have related
properties
Object - CORRECT ANSWER-contains data and methods defined by a class,
represents a specific entity in a program
Instance of a class - CORRECT ANSWER-means a real, usable object created from a
class; class is like a template, and the instance is the actual thing made from it
Invoking object's subprogram - CORRECT ANSWER-Objects communicate with one
another by sending messages
compiler - CORRECT ANSWER-a tool that translates source code written in highlevel
programming language into machine code or byte code that the computer can execute
Examples of compiled languages - CORRECT ANSWER-C, C++, Rust, Go, Fortran