Python Institute PCAP — Certified Associate in Python Programming (PCAP-31-03)
Practice exam for the Python Institute PCAP – Certified Associate in Python Programming certification. Covers modules, exceptions, OOP fundamentals, OOP advanced, and generators/iterators/closures.
Unlock all 340 Python Institute PCAP — Certified Associate in Python Programming (PCAP-31-03) questions
Full simulation · Detailed explanations · Unlimited attempts
- 340 questions — ~5 full-length simulations
- Detailed explanations — why each answer is right or wrong
- Unlimited attempts — retake as many times as needed
- Smart Practice + Focus Mode + no ads
Sample Questions — Python Institute PCAP — Certified Associate in Python Programming (PCAP-31-03)
5 free sample questions from this practice exam. Correct answers are highlighted.
1. What is the output of the following code? import math print(math.floor(3.7))
2. Which statement correctly imports only the sqrt function from the math module?
3. What does the following code print? import sys print(type(sys.path))
4. A developer runs a Python script directly with `python my_script.py`. What is the value of `__name__` inside my_script.py?
5. What is the output of the following code? import math as m print(m.pi)
Want to test yourself for real?
Create a free account and run our exam simulation engine.
- Simulation engine
- Up to 10 questions per attempt
- Score & basic stats
- All 340 questions
- Detailed explanations
- Smart Practice + Focus Mode
Information
💰 ROI
Study Guides & Articles
How to Pass Python Institute PCAP in 2026: Certified Associate Programmer Study Guide
Complete PCAP study guide for 2026. Covers all 5 exam blocks, the format ($295, 40 questions, 65 min), OOP, modules, exceptions, and a 6-week study plan.
PCAP Deep Dive: Python OOP, Exception Hierarchy & Module System
Master PCAP exam topics: class inheritance with MRO, dunder methods, exception hierarchy with custom exceptions, module import system, generators, and lambda functions.
PCAP Exam Traps: OOP Inheritance, Exception Handling & Module Gotchas
Avoid common PCAP exam mistakes. Learn how Python MRO resolves method conflicts, when finally always runs, and why class attributes are shared across all instances.