Chapter 15 Flashcards

1
Q

class

A

a user-defined type. a class definition creates a new class object.

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

class object

A

an object that contains information about a user-defined type. the class object can be used to create instances of the type.

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

instance

A

an object that belongs to a class.

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

attribute

A

one of the named values associated with an object.

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

embedded (object)

A

an object that is stored as an attribute of another object.

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

shallow copy

A

to copy the contents of an object, including any references to embedded objects; implemented by the copy function in the copy module.

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

deep copy

A

to copy the contents of an object as well as any embedded objects, and any objects embedded in them, and so on; implemented by the deepcopy function in the copy module.

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

object diagram

A

a diagram that shows objects, their attributes, and the values of the attributes.

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