PROF. GEORGE F. RICE) WITH COMPLETE SOLUTION.
object-oriented programming Answer - A style of programming focused on the
use of classes and class hierarchies
Polymorphism Answer - The provision of a single interface to multiple derived
classes, enabling the same method call to invoke different derived methods to
generate different results
inheritance Answer - Reuse and extension of fields and method
implementations from another class
Encapsulation Answer - Bundling data and code into a restricted container
Abstraction Answer - Specifying a general interface while hiding
implementation details (sometimes listed as a4th fundamental concept of OOP,
though I believe it's common to most paradigms)
Primitive type Answer - A data type that can typically be handled directly by
the underlying hardware
Enumerated type Answer - A data type consisting of a fixed set of constant
values called enumerators (C++has both enum and enum class)
, Class Answer - A template encapsulating data and code that manipulates it (C+
+ also has struct, which isidentical other than default visibility)
Instance Answer - An encapsulated bundle of data and code (e.g., an instance
of a program is a process; aninstance of a class is an object)
Object Answer - An instance of a class containing a set of encapsulated data
and associated methods
Variable Answer - A block of memory associated with a symbolic name that
contains an object instance or aprimitive data value
Operator Answer - A short string representing a mathematical, logical, or
machine control action
Attribute Answer - A class member variable
Constructor Answer - A special class member that creates and initializes an
object from the class
Destructor Answer - A special class member that cleans up when an object is
deleted
Method Answer - A function that manipulates data in a class
Friend Answer - A class or a function (NOT a method!) that is granted access to
its friend class' privatemembers