PCAP-31-03 Exam Information and Outline
Certified Associate in Python Programming
PCAP-31-03 Exam Syllabus & Study Guide
Before you start practicing with our exam simulator, it is essential to understand the
official PCAP-31-03 exam objectives. This course outline serves as your roadmap.
The information below reflects the 2026 syllabus defined by
Python-Institute.
Below are complete topics detail with latest syllabus and course outline, that will help you good knowledge about exam objectives and topics that you have to prepare. These contents are covered in questions and answers pool of exam.
Modules and Packages
– Import and use modules and packages
• import variants: import, from import, import as, import *
• advanced qualifying for nested modules
• the dir() function
• the sys.path variable
– Perform evaluations using the math module
• functions: ceil(), floor(), trunc(), factorial(), hypot(), sqrt()
– Generate random values using the random module
• functions: random(), seed(), choice(), sample()
– Discover host platform properties using the platform module
• functions: platform(), machine(), processor(), system(), version(), python_implementation(), python_version_tuple()
– Create and use user-defined modules and packages
• idea and rationale;
• the __pycache__ directory
• the __name__ variable
• public and private variables
• the __init__.py file
• searching for/through modules/packages
• nested packages vs. directory trees
Exceptions
– Handle errors using Python-defined exceptions
• except, except:-except, except:-else:, except (e1, e2)
• the hierarchy of exceptions
• raise, raise ex
• assert
• event classes
• except E as e
• the arg property
– Extend the Python exceptions hierarchy with selfdefined exceptions
• self-defined exceptions
• defining and using self-defined exceptions
Strings
– Understand machine representation of characters
• encoding standards: ASCII, UNICODE, UTF-8, code points, escape sequences
– Operate on strings
• functions: ord(), chr()
• indexing, slicing, immutability
• iterating through strings, concatenating, multiplying, comparing (against strings and numbers)
• operators: in, not in
– Employ built-in string methods
• methods: .isxxx(), .join(), .split(), .sort(), sorted(), .index(), .find(), .rfind()
Object-Oriented Programming
– Understand the Object-Oriented approach
• ideas and notions: class, object, property, method, encapsulation, inheritance, superclass, subclass, identifying class components
– Employ class and object properties
• instance vs. class variables: declarations and initializations
• the __dict__ property (objects vs. classes)
• private components (instances vs. classes)
• name mangling
– Equip a class with methods
• declaring and using methods
• the self parameter
– Discover the class structure
• introspection and the hasattr() function (objects vs classes)
• properties: __name__, __module__ , __bases__
– Build a class hierarchy using inheritance
• single and multiple inheritance
• the isinstance() function
• overriding
• operators:
• not is, is
• polymorphism
• overriding the __str__() method
• diamonds
– Construct and initialize objects
• declaring and invoking constructors
Miscellaneous
– Build complex lists using list comprehension
• list comprehensions: the if operator, nested comprehensions
– Embed lambda functions into the code
• lambdas: defining and using lambdas
• self-defined functions taking lambdas as arguments
• functions: map(), filter()
– Define and use closures
• closures: meaning and rationale
• defining and using closures
– Understand basic Input/Output terminology
• I/O modes
• predefined streams
• handles vs. streams
• text vs. binary modes
– Perform Input/Output operations
• the open() function
• the errno variable and its values
• functions: close(), .read(), .write(), .readline(), readlines()
• using bytearray as input/output buffer