Abstract Data Types Flashcards

1
Q

From a programmer’s point of view, what is an abstract data type?

A

an object that contains data and functions

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

A class definition will be placed in a ______ file.

A

header

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

What is the name of the special function which will instantiate an object?

A

constructor

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

Function ____ is the ability to have multiple functions of the same name.

A

overloading

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

what is the :: operator called?

A

scope resolution

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

the statement x.y() demonstrates the object oriented concept known as ______.

A

message passing

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

(T/F) after a source file (.cpp) has been compiled, the resulting file is an .exe file.

A

F, the source file creates a .obj

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