Classes and Abstraction

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/12

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards for review.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

13 Terms

1
New cards

Abstraction

The separation of the essential qualities of an object from the details of how it works or is composed, focusing on what, not how.

2
New cards

Control Abstraction

Separates the logical properties of an action from its implementation.

3
New cards

Data Abstraction

Separates the logical properties of a data type from its implementation.

4
New cards

Data Type

A set of values (domain) and allowable operations on those values.

5
New cards

Abstract Data Type (ADT)

A data type whose properties (domain and operations) are specified independently of any particular implementation.

6
New cards

ADT Implementation

Choose a specific data representation for the abstract data using existing data types, and write functions for each allowable operation.

7
New cards

C++ ClassType

Facilitates re-use of C++ code for an ADT, where software using the class is a client, and variables are class objects or instances.

8
New cards

Class Declaration

Creates a data type and names the members of the class but does not allocate memory.

9
New cards

Aggregate Class Operations

Built-in operations valid on class objects include member selection, assignment, and passing as a function argument.

10
New cards

Information Hiding

Class implementation details are hidden from the client's view.

11
New cards

Selection and Resolution

Used to determine the object to whom a member function is applied. Used in the heading before the function member’s name to specify its class

12
New cards

Class Constructor

A member function whose purpose is to initialize the private data members of a class object.

13
New cards

Default Constructor

A constructor with no parameters.