Chapter 7 - Object Oriented Programming Flashcards

1
Q

is one concrete example of a class

A

Object

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

is a term that describes a group of objects with common properties

A

Class

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

describes what attributes its objects will have and what those objects be able to do. In other words a _____ _________ describes data and methods.

A

Class definition

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

is an existing object of a class

A

Instance(of a class)-

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

When you program in object oriented languages you frequently create classes from which objects will be instantiated.

A

Instantiating

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

a program or class that instantiates objects of another prewritten class

A

Class client/ Class user

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

– is most classes that contain data although that is not required. Each data variable that exists for every object.

A

Instance variable/field

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

Classes that contain methods, although this is not required. Each method that each object can use is an ________ _________.

A

Instance Method

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

the type’s of data can be accessed only through methods.

A

Abstract data type

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

the data cannot be accessed by any method that is out part of the class.

A

Private Access

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

which means that other programs and methods may use the methods that control access to the programs and methods that is not part of the class.

A

Public Access

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

is the adjective that defines the type of access that outside classes will have to the attribute or method (public or private)

A

Access specifier( access modifier)

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

when you violate the direct assignment statement and make something private that should be public

A

Data Hiding

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

The ability to create classes that take on the attributes and methods of existing classes, but with more specific features.

A

Inheritance

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

“many forms”, describes a language’s ability to process objects differently depending on each objects data type.

A

Polymorphism

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

What is P.I.E.?

A

Polymorphism , Inheritance, and Encapsulation

17
Q

is a style of programming that focuses on an application’s data and the methods you need to manipulate that data

A

Object Oriented Programming (OOP)

18
Q

is used to describe the act of enclosing data and instructions in a method, making the method portable

A

Encapsulation

19
Q

An __________ of a class is an existing object of a class

A

Instance

20
Q

The feature of languages that allows the same word or symbol to be interpreted correctly in different situations based on the context is _______________.

A

Polymorphism

21
Q

Polymorphism, which means “many forms,” describes a language’s ability to process objects differently depending on each object’s data _______.

A

Type

22
Q

A method that changes values within an object is called a(n) _______________ method.

A

Mutator