True or False: Each string is an object.
True
A class is considered the ____ for an object.
blueprint
Member functions are invoked using ____ notation.
dot
An object stores its ___ in the data members.
data
What does the public interface of a class consist of?
All member functions
Each object has its own set of ____.
data
What are the two sections of a class?
Public and Private
What are the two main types of member functions?
Mutators and Accessors
Where are private data members able to be accessed?
Member Functions
Which interface are the data members declared?
The Private Interface
What are examples of object-oriented programming?
Strings, cin, and cout
How many data members is a class able to have?
Infinite
Where are constructors declared?
Inside the Class Definition
To decide on which data members to define, start with the ___ functions.
accessor
What is Encapsulation?
The process of providing a public interface while hiding the implementation details.
Describe Object-Oriented Programming
A programming style in which tasks are solved by collaborating objects.
True or False: Class names are commonly declared in camel cases.
False
Where do you define the parameters of a member function?
When declaring the function (in the class) and implementing the function.
True or False: Are data members passed by reference by default?
False
What functions alter the data in the private interface?
Mutator Functions, Setter Functions
Why was object-oriented programming created?
As programs became larger, it made it harder to maintain a large collection of functions.
Define a simple class with two attributes and two member functions.
(Depends on whiteboard answer).
When do you add "const" to a member function?
When the member function only accesses/returns a data member.
True or False: Can an object of a class be a data member?
True
Which interface must be defined first, Public or Private?
Neither, it doesn’t matter.