Black Friday Flash Sale:

50% OFF ALL PRODUCTS
Ends in--d--h--m--s
COUPON:BLACKFRIDAY50
PCAP-31-04
6
252
42 questions
65 minutes
72%
Single-select and multiple-select, plus interactive, code-based and scenario-based items
Modules and Packages | Import forms and namespaces, dir() and sys.path, user-defined modules and __name__, regular and nested packages, pip and requirements.txt (12%) Exceptions | Ordering handlers, except ... as, else and finally, the exception hierarchy and args, raising, re-raising and propagation, custom exception classes (12%) Strings | ASCII, Unicode and UTF-8, ord() and chr(), immutability and comparisons, is...() validation methods, find(), index(), count() and sorted() (9.5%) Object-Oriented Programming | OOP principles, class and instance variables, __dict__ and name mangling, methods and __str__(), introspection, inheritance, MRO, isinstance() and initialization (28.5%) Advanced Python Constructs and I/O | List, set and dictionary comprehensions, match-case, loop else, lambdas, map() and filter(), closures, file modes, text and binary I/O, bytearray and pathlib (24%) Testing, Debugging, Collaborative Development, and AI Assistance | Unit tests and assertions, tracebacks and debugging, branches, commits and pull requests, code review and CI, using and validating AI-generated code (14%)
Candidates preparing for the Python Institute PCAP-31-04 exam PCEP holders moving on to the associate-level Python certification Developers who want to check their object-oriented Python, modules, exceptions and file handling Candidates who prepared for PCAP-31-03 and need to cover the new PCAP-31-04 topics
Object-Oriented Programming
What is the expected output of this code? class A: def who(self): return "A" / class B(A): def who(self): return "B" / class C(A): def who(self): return "C" / class D(B, C): pass / print(D().who())
A
B
C
The code raises a TypeError
B
This is a diamond-shaped hierarchy. The method resolution order of D is D, B, C, A, object: the bases are searched in the order they are listed, and the shared base A comes last, so B.who() runs.
Updated 2026Instant accessLifetime access

PCAP-31-04 Certified Associate Python Programmer Practice Tests: 6 Practice Tests and 252 Questions

4.52,074 reviews5,272students enrolled
Buy nowAdd to cart

30-day refund. Instant access after payment.

Practice Test 1Question 1Timed · Pause anytime
A
B
C
D
← PreviousFlag for review · Next →
TimedExam-style conditions
EveryAnswer explained
UnlimitedRetakes
LifetimeAccess
InstantAccess after payment

About this course

These practice tests are for Python programmers preparing for the OpenEDG Python Institute’s PCAP – Certified Associate Python Programmer exam, version PCAP-31-04, which was released on 31 October 2026 and replaces PCAP-31-03 (PCAP-31-03 remains available until it retires on 30 November 2027). The exam covers modules and packages, exceptions, strings and Unicode, object-oriented programming, comprehensions, pattern matching, closures, file and pathlib I/O, and a new section on testing, debugging, collaborative development and AI-assisted programming — mostly through code you have to trace precisely.

You get 6 practice tests with 42 questions each, 252 questions in total, sized like the real exam, including a timed Exam Mode test. Every question explains why the right answer is right and why the others are wrong, includes a hint, and is mapped to one of the six official exam sections; each test contains one question for each of the 42 syllabus objectives, matching the exam’s mix of 5, 5, 4, 12, 10 and 6 questions per section. The series was rebuilt in November 2026 against the PCAP-31-04 syllabus, and every code snippet was run with Python 3.12, so the outputs and errors in the questions are exactly what Python produces.

What's included

practice exams

Original exam-style questions, each with a full explanation.

Practice and exam modes

Learn with instant feedback, or sit a timed test under exam-style conditions.

Explained answers

Every answer comes with the reasoning, so you learn from each miss.

Score reports

See your results by domain and find weak areas before exam day.

Unlimited retakes

Retake any exam as often as you like until your scores are consistent.

Works on any device

Study on your phone, tablet or laptop. No app to install.

Single test or All-Access Pass

This practice test

  • Every practice exam for this certification
  • Explanations and score reports
  • Lifetime access
Add to cart
Best value

All-Access Pass

800+ exams
  • Every certification on Exametics
  • New tests added at no extra cost
  • One payment, lifetime access
View the All-Access Pass

What learners say

4.5

2,074 reviews · 5,272 students

“Saved me hundreds”

One pass for all exams is a steal. I prepared for Scrum + ITIL® without buying separate courses.
Sarah M.Agile Coach

“Felt like the real PMP exam”

I cleared PMP® in the first attempt. The timed simulator and analytics made my weak areas obvious and fixable.
James K.Project Lead

“Score up 30% in 3 weeks”

Best part is the sheer volume of questions which can practice and improve your score every day and week.
Priya T.QA Lead

Questions before you buy

What do I get with a single practice test?
You get the practice test in practice and exam modes for the certification you choose: timed, exam-style questions with explanations. It's a good fit if you're preparing for one exam.
What are the next steps after payment?
Upon successful payment, our system immediately creates your account, adds the course to your account in our LMS and sends you a walk-through video guide. You will receive emails from [email protected].
Can I access the materials on mobile devices?
Absolutely. Our platform is fully responsive and works on all devices, including smartphones and tablets.
What if I'm not satisfied with the product?
We offer a 30-day refund if you're not satisfied with our practice tests.
How does the 30-day refund work?
The refund request must be submitted within 30 days of purchase. If a user has requested multiple refunds for the same course or has a history of excessive refund requests, Exametics reserves the right to limit or deny future refund requests. Full conditions are in our refund policy.
Does the All-Access Pass cover all practice tests on Exametics?
Yes. The All-Access Certification Practice Tests pass includes lifetime access to 800+ exams, including Project Management, Cloud, DevOps, Cybersecurity, DB, AI, Linux, Development & Testing, Data Analytics and more. New practice tests are added regularly at no extra cost.
How is the practice test delivered?
Once you complete checkout, you get immediate access in our Learning Management System (LMS). You can monitor your progress, get scores automatically when you finish each quiz, take timed quizzes that simulate real test conditions, and review your results to find areas to improve.
What payment methods do you accept?
We accept major credit cards, including Visa, Mastercard, American Express and Discover, as well as PayPal. For payments in your local currency, please contact support at [email protected].
Are these real exam questions?
No. Every question is original, written by our team to the published exam objectives (or, for interview packs, to the topics interviewers ask about). We don't use leaked or copied exam content.
Can I retake a single practice test?
Yes. You get unlimited attempts, so you can retake the test until your scores are consistent.
Are single practice tests updated when the exam changes?
We update tests when exam objectives change. How often varies by exam. The All-Access Pass includes updates for every exam.
How long do I have access?
Lifetime access on all the practice tests and packs.
Which should I choose, a single test or the All-Access Pass?
Buy a single test if you're preparing for one exam. Choose the All-Access Pass if you're studying for more than one exam, or if the exam you need costs close to the pass price. It also gives you every exam we add later.

Walk into exam day ready

Exam-style questions · explanations · 30-day refund

Buy now
A Python developer explaining a reusable program component using simple code and object tiles in a workshop.

Price range: CLP $10,211 through CLP $15,321

One-time payment. Lifetime access.

Buy now
  • Full-length, timed practice exams
  • Explanation for every answer
  • Score report by domain
  • Unlimited retakes, lifetime access
30-day refund.
Try it for a month. If it isn't right for you, get a refund.

Secure checkout · Instant access

Shopping Cart
Scroll to Top