Chapter 15 Flashcards

1
Q

object-oriented language

A

A language that provides features, such as user-defined classes and inheritance, that facilitate object-oriented programming.

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

object-oriented programming

A

A style of programming in which data and the operations that manipulate it are organized into classes and methods.

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

method

A

A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a new method with the same name.

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

initialization method

A

A special method that is invoked automatically when a new object is created and that initializes the object’s attributes.

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

operator overloading

A

Extending built-in operators ( +, -, *, >, <, etc.) so that they work with user-defined types.

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

dot product

A

An operation defined in linear algebra that multiplies two Points and yields a numeric value.

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

scalar multiplication

A

An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.

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

polymorphic

A

A function that can operate on more than one type. If all the operations in a function can be applied to a type, then the function can be applied to a type.

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