Prelims Reviewer Flashcards
These are the basic run-time entities in an object-oriented system; may represent a person, place, bank account, or user-defined data
Objects
This is a type of programming which uses objects and classes
OOP
True or false: Objects can interact without having to know details of each other data or code
True
This represents a set of related objects; defines what attributes an object has; blueprint for an object
Classes
True or False: Classes are user-defined data types that behave like built-in types of a programming language
True
These are declarations that are accessible from outside the class to anyone who can access an object of this class
public
these are declarations that are accessible within the class they are declared in, and also in subclasses (derived classes)
Protected
These are declarations that are accessible only from within the class itself
Private
this is the concept of hiding data and showing only relevant data to the final user
Data Abstraction
this is the concept of wrapping together of data and information in a single unit; binding together the data and related function that can manipulate the data
data encapsulation
this is the class’s capacity to inherit or derive attributes or characteristics from other classes, allowing for reusability
inheritance
what types of inheritance does c++ support
single
multiple
multi-level
hierarchical
hybrid
this is the ability to take more than one form; an operation may exhibit different behavior in different instances
polymorphism
in c++, polymorphism is achieved in two ways
operator overloading and function overloading
this refers to the process of converting identifiers (variable and performance names) into addresses
dynamic bindings