C++ remedies these short comings by being __ language allowing arbitrary number of user-defined types
Front
OO
Back
modules of code (procedures) do what
Front
transform data
Back
computer memory 3 types
Front
static memory, the stack, the heap
Back
this
Front
every instance of class has a constant pointer to itself called _____
Back
&
Front
means address of
Back
GUI (design origins)
Front
Graphical User Interface
Back
reference
Front
an alias that has the form: dataType&varName; simplifies functions and can be used as a return type or parameter
Back
___allow us to distinguish between individual instances of class
Front
attributes
Back
re swap function
Front
designed as a pass by reference function, declared with reference variables, you must pass a reference, you don't use the dereference operator in the function
Back
mutators
Front
do change the state or value of an object
Back
do while statement
Front
performs the action before it checks the condition (perform action at least once)
Back
class derivation list
Front
to define a derived class, we use a ___ to specify the base class(es)
Back
instances of the class
Front
complex
Back
malloc
Front
allocated requested size of bytes and returns a pointer first byte of allocated space
Back
data and behavior are ___ in one class
Front
encapsulated
Back
swap function
Front
defined in terms of pointers, you must pass addresses of variables
Back
array
Front
a collection of contiguous (physically next to each other memory locations used to store homogenous data or data belonging to the same type of data
Back
mutators and accessors
Front
methods are classified in 2 groups based on the way they impact the state of the object
Back
Functions
Front
C and C++
Back
heap
Front
also called the free store or the dynamic memory, you must allocate and deallocate the memory you need (bigger things)
Back
Methods
Front
Java and C++
Back
indirection operator (*)
Front
means the variable whose address is stored in, precedes pointer name with or without space
Back
static memory
Front
allocated before main runs, global and static variables are stored here and stay until process ends
Back
3 object orientation defining characteristics
Front
encapsulation, inheritance, polymorphism
Back
calloc
Front
allocates space for an array elements, initializes to zero and then returns a pointer to memory
Back
ADT
Front
Abstract Data Type
Back
free
Front
deallocate the previously allocated space
Back
___ and __ are available to every user
Front
public attributes and methods
Back
constructors
Front
are the methods that describe how an instance of a class (object) is constructed
Back
individual instances are called
Front
objects
Back
inheritance
Front
mechanism for refusing the implementation built in the class and extending its functionality
Back
the data ssociated with an entity is called __ or __
Front
attributes or properties
Back
template
Front
enables us to write type-independent algorithms (general algorithms)
Back
accessors
Front
examine and report on the state or value of an object without changing the state of the object
Back
pointers
Front
a variable that holds a memory and may be assigned to address only
Back
address operator (&)
Front
displays variable address
Back
stack
Front
also called local or automatic memory, all local variables allocated here, grows and shrinks according to which function is called or killed, not suitable for storing large objects
Back
composition
Front
defined as the "has a" relationship
Back
friends
Front
functions or classes qualified with the friend keyword
Back
____ allows us to hide the internal details from the users of our classes
Front
encapsulation
Back
member list is where we define
Front
attributes and methods
Back
before the main
Front
where are function prototypes located in the program?
Back
C++ adds
Front
object oriented features
Back
abstract data types are created by defining the ____ representing them
Front
classes
Back
C is the ___ language that C++ was built on
Front
kernel
Back
re assign (double r)
Front
changes the value of the real component of our complex number to that of r
Back
C was designed for ___
Front
system implementation
Back
the behavior of the entity represented by the class is represented by the ____ encapsulated in the class