Exam 1 Terms Flashcards

1
Q

instance of a class (Encapsulation of behaviors and attributes of a class)

A

Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Puts us in scope of a class (Ex: -> Pet::Pet)

A

Scope Resolution Operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

a “blueprint” for an object

A

Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

input stream (file and keyboard)

A

cin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

gets a line (strings only) [____(input stream, string, delimiter)

A

getline()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

the variables of our class

A

Attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

methods/functions of our class

A

Behaviors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The child (derived) class CAN exist even if parent (base) doesn’t

A

Aggregation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

a set of compilation commands that build your executable
- Build an exe from obj files
- Build obj files from source code

A

makefiles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The child (derived) class CANNOT exist even if parent (base) doesn’t

A

Composition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

There is a relationship between classes

A

Association

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Specifies access to behaviors/attributes of our class

[public: everything can access, private: specified things (usually the class) have access, protected: special permission is given to access]

A

Access Specifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly