Advanced Python Vocabulary Flashcards

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

1/28

flashcard set

Earn XP

Description and Tags

A vocabulary flashcard set based on key Python technical terms and concepts covered in the Advanced Python Interview Questions guide.

Last updated 2:37 PM on 8/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

"pass" Statement

A Python statement that serves as a simple placeholder or no-op in code structures such as functions, classes, loops, conditionals, and exception handling blocks.

2
New cards

Callable

An object in Python that can be invoked like a function using the () operator, including regular functions, methods, classes, built-in functions, and instances that define a call method.

3
New cards

Linear Search

A simple search algorithm, also known as sequential search, that checks elements in a list or array one by one from the beginning until the target element is found or the list is exhausted.

4
New cards

Introspection

The ability of a programming language to examine, analyze, and manipulate its own structures, types, attributes, and objects at runtime.

5
New cards

Mixin

A class in object-oriented programming that provides a single, specific functionality to be inherited by other classes to promote code reusability and modular composition.

6
New cards

CheeseShop

A playful reference in the Python community to a fictional package repository inspired by a Monty Python sketch, representing the official Python Package Index (PyPI).

7
New cards

Virtual Environment

An isolated directory tree that contains its own Python interpreter and installed packages, preventing dependency conflicts between different Python projects.

8
New cards

PEP 8

Python Enhancement Proposal 8, which serves as the official style guide for writing consistent, readable Python code.

9
New cards

Walrus Operator

The assignment expression operator :=:= introduced in Python 3.9.0 that allows assigning a value to a variable as part of an expression.

10
New cards

Python Interpreter

A software program (such as CPython, Jython, IronPython, PyPy, or MicroPython) designed to read, parse, and execute Python source code.

11
New cards

init Method

A special constructor method in Python classes automatically called when an object is instantiated to set the initial state of its attributes.

12
New cards

"self" Parameter

A conventional first parameter in Python instance methods representing the specific instance of the class calling the method.

13
New cards

"is" Operator

An identity operator in Python used to test if two variables reference the exact same object in memory address.

14
New cards

Polymorphism

A principle in object-oriented programming allowing objects of different classes to be treated as objects of a common superclass through method overriding.

15
New cards

Insertion Sort

A simple sorting algorithm well-suited for small datasets with time complexity O(n2)O(n^2) in worst/average cases and O(n)O(n) in the best case.

16
New cards

Floyd's Cycle Detection Algorithm

A loop detection technique in a linked list, also known as the "tortoise and hare" algorithm, using a slow pointer moving one step and a fast pointer moving two steps.

17
New cards

Jump Search

A search algorithm for sorted arrays, also known as Block Search, that checks elements in fixed-size blocks of int(n)int(\sqrt{n}) before performing a linear search in the identified block.

18
New cards

Recursion

A programming technique where a function calls itself with modified input to break down a problem into smaller subproblems until a base case is reached.

19
New cards

Descriptor

A mechanism in Python used to customize attribute access (getting, setting, and deleting) by defining special methods like get, set, or delete.

20
New cards

Dunder Methods

Predefined special or magic methods with double underscores (e.g., init, str, add) that customize object interaction with built-in Python functions and operators.

21
New cards

Closure

A nested function in Python that references and preserves access to variables from its outer enclosing function even after the outer scope has finished execution.

22
New cards

Monkey Patching

The dynamic modification or extension of existing code, classes, or modules at runtime without altering the original source code.

23
New cards

Ternary Operator

A concise conditional expression in Python structured as "value_if_true if condition else value_if_false" that evaluates and returns one of two values based on a condition.

24
New cards

Cython

A programming language superset of Python that adds static typing and compiles Python code into optimized C extensions to improve performance.

25
New cards

Radix Sort

A non-comparative sorting algorithm that sorts numbers digit by digit from the least significant digit to the most significant digit using buckets.

26
New cards

Context Manager

An object in Python defining enter and exit methods to handle safe allocation and cleanup of resources when used with a "with" statement.

27
New cards

Interpolation Search

An adaptive search algorithm for sorted arrays that estimates the position of a target value based on key values rather than strictly bisecting.

28
New cards

Global Interpreter Lock (GIL)

A mutex in the CPython interpreter that prevents multiple native threads from executing Python bytecodes simultaneously.

29
New cards

Method Resolution Order (MRO)

The order or hierarchy Python follows to search for methods in a class structure, particularly in multiple inheritance scenarios.