Object-Oriented Programming Lecture Notes

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary and concepts from the Object-Oriented Programming lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

Object-Oriented Programming (OOP)

A programming paradigm based on the concept of 'objects', which can contain data and code that manipulates that data.

2
New cards

Class

A blueprint for creating objects, defining fields (attributes) and methods (functions) that those objects will possess.

3
New cards

Inheritance

A mechanism where a new class can derive attributes and methods from an existing class.

4
New cards

Encapsulation

The bundling of data and the methods that operate on that data within a class, restricting access to some of the object's components.

5
New cards

Abstraction

The concept of hiding complex implementation details and showing only the necessary features of an object.

6
New cards

Polymorphism

The ability of different classes to be treated as instances of the same class through a common interface.

7
New cards

Constructor

A special method used to initialize objects when they are created.

8
New cards

Abstract Base Class (ABC)

A class that cannot be instantiated and typically provides a common interface for derived classes.

9
New cards

Shallow Copy

A copy of an object that creates references to the original object's elements, thus allowing changes to the original to be reflected in the copy.

10
New cards

Deep Copy

A copy of an object that creates a new instance of all elements and sub-objects, allowing changes to the original to not affect the copy.

11
New cards

Dynamic Dispatch

A runtime method to determine which method to call based on the object's type.

12
New cards

Modularity

The division of a software system into separate components or modules, making it easier to manage.

13
New cards

Design Pattern

A general repeatable solution to a commonly occurring problem in software design.

14
New cards

Operator Overloading

The ability to redefine the behavior of operators for user-defined types.

15
New cards

Namespace

A container that holds a set of identifiers (names) and ensures that all of them are unique within that container.

16
New cards

Instance Variable

A variable that is bound to the instance of a class, holding data unique to that instance.

17
New cards

Class Variable

A variable that is shared among all instances of a class.

18
New cards

Method

A function that is defined inside a class and is associated with the objects of that class.