Python Institute · 2026 Edition
A complete preparation guide written by Python Institute-certified engineers. Covers the exam format,all 4 blueprint domains, a week-by-week study plan, and proven tips for passing first time.
2–3 months
Prep time
Intermediate
Difficulty
40
Exam questions
700/1000
Pass mark
Exam code
PCAP
Full name
Certified Associate Python Programmer
Vendor
Python Institute
Duration
65 minutes
Questions
40 items
Passing score
700/1000 (scaled)
Domains covered
4 blueprint domains
Recommended experience
PCEP certification or equivalent Python programming experience; OOP fundamentals in any language helpful
Typical prep time
2–3 months
PCAP (Certified Associate in Python Programming) validates intermediate Python skills including OOP, exception handling, modules, and file I/O. It is the credential for Python developers who need to demonstrate practical programming competency for development, automation, and data roles.
Job roles this opens
Domain percentage weights are not currently available for this exam. The checklist below is still useful for planning your study.
Weeks 1–3
Modules and Packages: import mechanics, package structure, pip, standard library modules
Tip: Know the different import styles: import math (use as math.sqrt()), from math import sqrt (use as sqrt()), from math import * (import all — avoid in production), import math as m (alias). Know that a package is a directory containing an __init__.py file. Know the most tested standard library modules: os, sys, math, random, datetime, json, re.
Weeks 4–6
Object-Oriented Programming: classes, instances, inheritance, polymorphism, special methods
Tip: Python special (dunder) methods are tested: __init__ (constructor), __str__ (string representation for print), __repr__ (developer representation), __len__ (length), __getitem__ (subscript access), __eq__ (equality comparison), __lt__ (less than for sorting). Know how to implement each and what Python calls them automatically.
Weeks 7–8
Exceptions: exception hierarchy, try/except/else/finally, raising exceptions, custom exceptions
Tip: The try/except/else/finally structure on PCAP: else runs when no exception was raised (not always known), finally always runs. Know how to: catch specific exceptions (except ValueError), catch multiple (except (ValueError, TypeError)), catch all (except Exception as e), re-raise (raise), and define a custom exception class (class MyError(Exception): pass).
Weeks 9–12
Strings, List Comprehensions, Generators, Closures, Decorators, File I/O
Tip: Generators are a key PCAP topic. Know how to: write a generator function using yield (instead of return), create a generator expression (x for x in range(10) if x % 2 == 0), iterate over a generator with next() or a for loop, and why generators are memory-efficient compared to lists (they produce values on demand).
PCAP exam (PCAP-31-03): 40 questions, 65 minutes, 70% passing score. The exam includes code reading questions with longer programs — practise tracing programs that use OOP, generators, and decorators.
Python inheritance: a subclass inherits all methods and attributes from the parent. Know how to call the parent constructor (super().__init__()), how method resolution order (MRO) works for multiple inheritance (left to right, depth-first — use ClassName.__mro__ to inspect), and when to use isinstance() vs type() for type checking.
Lambda functions are anonymous single-expression functions: lambda x, y: x + y. Know they are commonly used with map(), filter(), and sorted(key=). Know that lambdas cannot contain statements (only expressions) — for anything more complex, use a regular def function.
Decorators are functions that take a function and return a modified version. Know the basic decorator pattern: @functools.wraps for preserving the wrapped function's name and docstring, and how to write a decorator that adds behaviour before and after a function call. PCAP tests reading decorator code and predicting output.
File I/O with context managers: with open('file.txt', 'r') as f: is the recommended pattern — the file is automatically closed when the block exits, even if an exception occurs. Know file modes: 'r' (read), 'w' (write, truncates existing), 'a' (append), 'rb'/'wb' (binary). Know key file methods: read(), readline(), readlines(), write(), tell(), seek().
Apply everything in this guide with adaptive practice questions, detailed answer explanations, and domain analytics.
Deep-dive explanations of the key topics tested on PCAP — with exam key points and common misconceptions.