Chapter 7 - Object Oriented Programming Flashcards Preview

CIS 150 Final Review Ch 4-7 > Chapter 7 - Object Oriented Programming > Flashcards

Flashcards in Chapter 7 - Object Oriented Programming Deck (22):
1

is one concrete example of a class

Object

2

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

Class

3

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

Class definition

4

is an existing object of a class

Instance(of a class)-

5

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

Instantiating

6

a program or class that instantiates objects of another prewritten class

Class client/ Class user

7

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

Instance variable/field

8

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

Instance Method

9

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

Abstract data type

10

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

Private Access

11

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.

Public Access

12

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

Access specifier( access modifier)

13

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

Data Hiding

14

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

Inheritance

15

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

Polymorphism

16

What is P.I.E.?

Polymorphism , Inheritance, and Encapsulation

17

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

Object Oriented Programming (OOP)

18

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

Encapsulation

19

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

Instance

20

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

Polymorphism

21

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

Type

22

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

Mutator