Python Programming

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

1/21

flashcard set

Earn XP

Description and Tags

These flashcards cover fundamental concepts, definitions, and terminology related to Python programming and object-oriented programming.

Last updated 4:11 AM on 11/5/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

Abstraction

A concept that means hiding the complex reality while exposing only the necessary parts.

2
New cards

Specification

A description of the behavior of a system expressed in a formal way.

3
New cards

Function Specification

Describes what values a function takes as valid inputs and what it returns.

4
New cards

Precondition

An assertion that must be true before a function is executed.

5
New cards

Postcondition

An assertion that must be true after a function has completed its execution.

6
New cards

Object-Oriented Programming (OOP)

A programming paradigm that uses 'objects' to represent data and methods to manipulate that data.

7
New cards

Class

A blueprint for creating objects; a class defines a set of attributes and methods.

8
New cards

Instance

A specific object created from a class.

9
New cards

Aggregation

A special type of association that represents a whole-part relationship, where both can exist independently.

10
New cards

Composition

A form of aggregation where the parts cannot exist independently from the whole.

11
New cards

Dependency

Indicates that one class depends on another; changes in one class may require changes in another.

12
New cards

UML (Unified Modeling Language)

A standardized modeling language used to specify, visualize, develop, and document software.

13
New cards

Inheritance

The mechanism by which one class can inherit attributes and methods from another class.

14
New cards

Encapsulation

The bundling of data and methods within a single unit or class.

15
New cards

Polymorphism

The ability of different objects to be accessed through the same interface.

16
New cards

Dunder Methods

Special methods in Python, such as 'init' and 'str', that allow customization of class behavior.

17
New cards

Abstract Data Type (ADT)

A data type that is defined by its behavior (operations) and not by its implementation.

18
New cards

Type Hint

A notation that indicates the expected data type of a variable, parameter, or return value in Python.

19
New cards

Built-in Functions

Predefined functions in Python that simplify common programming tasks.

20
New cards

Testing and Debugging

The process of finding and fixing errors in software code.

21
New cards

Error Handling

The process of responding to the occurrence of exceptions or errors during execution.

22
New cards

Function Behavior

How a function operates and what it returns based on its inputs.