COP 3330 Exam 2 | Questions and Answers | Fall 2025/2026 Update
| 100% Correct –FSU.
Correct 35
Incorrect 00
COP 3330 Exam 2
35 Correct terms
Questions and answers
Term
What is the "has-a" relationship?
features into a single class
, in assignment operator you must
which objects are embedded
return the object itself by reference,
inside of others (one object is a
so you can return the target of the
component of another)
this pointer (*this)
Don't know?
2 of 35
Term
True or false: fp1->Show(); is the same as (*fp1).Show();?
Give this one a try later!
A single object *ptr;
True False, the same prototype
Don't know?
3 of 35
Term
What is a base class?
Give this one a try later!
, called when one object is assigned to indexed collection of data elements
tahneo dtheef ra u l t version of a the copy of thewshaemre twyepefactor out common
constructor (created by the compiler)
features into a single class
makes, object is copied exactly as it is
Don't know?
4 of 35
Term
What is a deep copy?
Give this one a try later!
is a constructor that is invoked what we build that will share all of the
implicitly when something is done data and functionality found in the
that causes a copy of an existing base class: will inherit all of the base
object to be created class features
Deep copy is nothing but
creating a new object and then the default version of a the copy
copying the non-static fields of constructor (created by the compiler)
the current object to new makes, object is copied exactly as it is
object
Don't know?
| 100% Correct –FSU.
Correct 35
Incorrect 00
COP 3330 Exam 2
35 Correct terms
Questions and answers
Term
What is the "has-a" relationship?
features into a single class
, in assignment operator you must
which objects are embedded
return the object itself by reference,
inside of others (one object is a
so you can return the target of the
component of another)
this pointer (*this)
Don't know?
2 of 35
Term
True or false: fp1->Show(); is the same as (*fp1).Show();?
Give this one a try later!
A single object *ptr;
True False, the same prototype
Don't know?
3 of 35
Term
What is a base class?
Give this one a try later!
, called when one object is assigned to indexed collection of data elements
tahneo dtheef ra u l t version of a the copy of thewshaemre twyepefactor out common
constructor (created by the compiler)
features into a single class
makes, object is copied exactly as it is
Don't know?
4 of 35
Term
What is a deep copy?
Give this one a try later!
is a constructor that is invoked what we build that will share all of the
implicitly when something is done data and functionality found in the
that causes a copy of an existing base class: will inherit all of the base
object to be created class features
Deep copy is nothing but
creating a new object and then the default version of a the copy
copying the non-static fields of constructor (created by the compiler)
the current object to new makes, object is copied exactly as it is
object
Don't know?