1/33
Vocabulary practice flashcards covering all exam blocks, sections, weights, highlighted core topics, and terminology from the Python Institute PCEP-30-02 certification syllabus.
Section 1: Computer Programming and Python Fundamentals
The exam section of PCEP-30-02 covering 7 exam items, with a maximum raw score of 180, accounting for 18% of the total exam.
Section 2: Control Flow – Conditional Blocks and Loops
The exam section of PCEP-30-02 covering 8 exam items, with a maximum raw score of 290, accounting for 29% of the total exam.
Section 3: Data Collections – Tuples, Dictionaries, Lists, and Strings
The exam section of PCEP-30-02 covering 7 exam items, with a maximum raw score of 250, accounting for 25% of the total exam.
Section 4: Functions and Exceptions
The exam section of PCEP-30-02 covering 8 exam items, with a maximum raw score of 280, accounting for 28% of the total exam.
Interpreter and Interpreting
A mechanism and process tested under PCEP-30-02 Objective 1.1 that executes program source code directly line-by-line, contrasted with compilation and compilers.
Lexis, Syntax, and Semantics
The three linguistic and grammatical layers of computer code tested under Objective 1.1, defining language vocabulary (lexis), structural arrangement rules (syntax), and the meaning of instructions (semantics).
PEP-8 Recommendations
The official style and coding convention guide for Python code, whose implementation recommendations are tested under Objective 1.3.
Unary and Binary Operators
Operator categories tested under Objective 1.4: unary operators operate on a single operand (such as unary + or −), while binary operators operate on two operands.
Priorities and Binding
Rules tested under Objective 1.4 that determine the precedence (priorities) and associativity (left-to-right or right-to-left binding) of operators during expression evaluation.
Bitwise Operators
The six operators tested under Objective 1.4 that manipulate data at the binary bit level: ~ (bitwise NOT), & (bitwise AND), ^ (bitwise XOR), | (bitwise OR), << (left shift), and >> (right shift).
Accuracy of Floating-Point Numbers
A topic tested under Objective 1.4 addressing precision limits, rounding issues, and internal representation constraints of float types in computing.
sep= and end= Parameters
Keyword parameters of the print() function tested under Objective 1.5; sep= defines the string inserted between arguments, and end= defines the string appended at the end of the printed output.
pass Instruction
A Python null statement tested under Objective 2.2 that acts as a syntactic placeholder inside loops, functions, or conditional blocks without executing any action.
while-else and for-else
Expanded loop constructs tested under Objective 2.2 where the else block executes exclusively when the loop terminates naturally without encountering a break statement.
Constructing Vectors
A technique covered under Objective 3.1 that utilizes one-dimensional Python lists to store and manage indexed sequential data.
List Comprehensions
A concise syntactic construct tested under Section 3 used to generate new lists by applying expressions to each item of an iterable sequence.
Matrices and Cubes (Lists in Lists)
Multi-dimensional data representations tested under Section 3 constructed by nesting lists inside other lists to form two-dimensional (matrices) or three-dimensional (cubes) structures.
Lists Inside Tuples and Tuples Inside Lists
A nested data collection concept tested under Objective 3.2 exploring how mutable lists behave inside immutable tuples and vice versa.
Dictionary Methods: keys(), items(), and values()
Methods tested under Objective 3.3 returning dictionary view objects: keys() returns all keys, values() returns all values, and items() returns key-value pairs as tuples.
Generators
Special callable constructs tested under Objective 4.1 that yield values lazily one at a time during iteration rather than storing them in memory.
None Keyword
A Python keyword tested under Objective 4.1 representing a null value or the absence of a value, automatically returned by functions that lack an explicit return value.
Recursion
A programming method tested under Objective 4.1 in which a function solves a problem by calling itself with reduced input until reaching a base condition.
Parameters vs. Arguments
A distinction tested under Objective 4.2: parameters are variable names declared in a function definition header, whereas arguments are the concrete values passed into the function call.
Positional, Keyword, and Mixed Argument Passing
Argument-passing methods tested under Objective 4.2 that map values to parameters by index position, explicitly by parameter keyword name, or via a valid combination of both.
Name Hiding (Shadowing)
A scope resolution scenario tested under Objective 4.2 where an inner local variable name hides an outer variable of the same name within the local function namespace.
global Keyword
A statement tested under Objective 4.2 that allows a function code block to modify and bind identifiers defined in the global module scope.
BaseException
The root ancestor class of all built-in exceptions in the Python exception hierarchy, tested under Objective 4.3.
Exception Class
The superclass for all non-system-exiting standard exceptions in Python, inheriting from BaseException and serving as the parent of user-catchable errors under Objective 4.3.
SystemExit and KeyboardInterrupt
Built-in exceptions tested under Objective 4.3 that inherit directly from BaseException rather than Exception, ensuring they are not caught inadvertently by general exception blocks.
Abstract Exceptions
Categorical base classes within the built-in hierarchy tested under Objective 4.3, such as ArithmeticError and LookupError, designed to group related concrete exception subclasses.
LookupError
An abstract built-in exception class tested under Objective 4.3 that acts as the direct base class for IndexError and KeyError.
Ordering the except Branches
The requirement tested under Objective 4.4 stating that concrete or derived exception handlers must precede more general parent exceptions in a try-except structure.
Propagating Exceptions through Function Boundaries
The mechanism tested under Objective 4.4 whereby an unhandled exception generated within a function travels upward through the call stack to outer calling functions.
Delegating Responsibility for Handling Exceptions
An architectural practice tested under Objective 4.4 where an inner function omits exception handling to allow caller functions to detect and manage errors according to their context.