Object-Oriented Programming in C++ Vocabulary Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
full-widthPodcast
1
Card Sorting

1/38

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering fundamental C++ concepts, object-oriented design pillars, memory allocation, operators, inheritance models, and functions.

Last updated 2:19 AM on 10/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

39 Terms

1
New cards

Object

The basic unit of object-oriented programming and an instance of a class, possessing states and behaviors.

2
New cards

Class

A template or blueprint that describes the behaviors and states supported by an object of its type.

3
New cards

Methods

Behaviors defined within a class where programming logic is written, data is manipulated, and actions are executed.

4
New cards

Data Abstraction

The process of providing only essential information to the outside world while hiding background details.

5
New cards

Encapsulation

Placing data and the functions that work on that data together within the same object or unit.

6
New cards

Inheritance

The process of forming a new class (derived class) from an existing class (base class) to enable code reusability.

7
New cards

Polymorphism

The ability to use an operator or function in different ways or assign it different meanings based on usage context.

8
New cards

Overloading

A branch of polymorphism where an existing operator or function is made to operate on new data types.

9
New cards

Instance Variables

Unique variables belonging to an object that create its state based on assigned values.

10
New cards

Identifier

A name used to identify a variable, function, class, module, or user-defined item, starting with a letter or underscore.

11
New cards

Trigraph Sequence

A three-character sequence starting with two question marks that represents a single character in code.

<p>A three-character sequence starting with two question marks that represents a single character in code.</p>
12
New cards

Local Variables

Variables declared inside a function or block that can only be accessed by statements within that specific block.

13
New cards

Global Variables

Variables defined outside all functions, accessible by any function throughout the lifetime of the program.

14
New cards

Data Type Modifiers

Keywords such as signed, unsigned, short, and long used to alter the meaning of base data types.

15
New cards

Call by Value

A parameter-passing method where a copy of the argument value is passed to the function, leaving the caller's original variable unmodified.

16
New cards

Call by Reference

A parameter-passing method where the memory address of the variable is passed, allowing changes inside the function to alter the original variable.

<p>A parameter-passing method where the memory address of the variable is passed, allowing changes inside the function to alter the original variable.</p>
17
New cards

Tail Recursion

A recursive function call where the function calls itself at the very end and performs no further operations afterwards.

18
New cards

Automatic Storage Class

The default storage class for local variables, declared with keyword auto, featuring local visibility and function block lifetime.

19
New cards

Register Storage Class

A storage class declared with keyword register that allocates memory in a CPU register rather than RAM for faster access.

20
New cards

Static Storage Class

A storage class declared with keyword static that initializes a variable once and retains its value between function calls throughout program execution.

21
New cards

External Storage Class

A storage class declared with keyword extern that provides global visibility across multiple program files.

<p>A storage class declared with keyword extern that provides global visibility across multiple program files.</p>
22
New cards
<p>Single Dimensional Array</p>

Single Dimensional Array

A linear array structure storing a fixed set of similar elements in contiguous memory locations starting at index 00.

23
New cards

Multidimensional Array

A rectangular array structure storing data in tabular form consisting of rows and columns.

24
New cards
<p>Pointer</p>

Pointer

A variable that holds the memory address of another variable as its value.

25
New cards

Address Operator (&)

An operator used to determine the memory address of a variable in C++.

26
New cards

Indirection Operator (*)

An operator used to access the value stored at a specified memory address.

<p>An operator used to access the value stored at a specified memory address.</p>
27
New cards

Default Constructor

A constructor method that accepts no arguments and is invoked automatically when an object is created.

28
New cards

Parameterized Constructor

A constructor method that accepts arguments to initialize distinct objects with specific values.

29
New cards

Copy Constructor

An overloaded constructor used to declare and initialize a new object using an existing object of the same class.

30
New cards

Shallow Copy

An object copying process that copies member values directly, leaving pointers in both objects referencing the exact same memory location.

31
New cards

Deep Copy

An object copying process that dynamically allocates new memory for copied pointers so source and target objects maintain distinct memory locations.

32
New cards

Destructor

A special class method prefixed with a tilde character that automatically destructs objects and frees memory when objects go out of scope.

33
New cards

Single Inheritance

An inheritance type where a derived class is inherited from only one base class.

34
New cards

Multilevel Inheritance

The process of deriving a class from another derived class in a transitive chain.

35
New cards

Multiple Inheritance

The process of deriving a new class that inherits directly from two or more base classes.

36
New cards

Hybrid Inheritance

An inheritance structure created by combining more than one type of inheritance.

37
New cards

Hierarchical Inheritance

The process of deriving multiple classes from a single base class.

38
New cards

Pure Virtual Function

A virtual function declared in a base class with =0= 0 that has no definition in the base class.

39
New cards

Abstract Class

A class containing at least one pure virtual function that cannot be used to declare objects of its own.

<p>A class containing at least one pure virtual function that cannot be used to declare objects of its own.</p>