CertGrid CertGrid
Troubleshooting·Certified Entry-Level Python Programmer

PCEP and PCAP Exam Traps

These are the behaviours that turn known material into a wrong answer. Most of them have appeared once already in this path, inside the objective they belong to; here they are together, because in the exam they arrive without a chapter heading. Two of them surprised me while capturing this page - a tuple that changes despite raising, and a float comparison that sometimes succeeds.

Exam Craft Guide 26 of 26 Advanced

Written against the versions above. Everything here is unchanged in Python 3 and is not version-sensitive. The one genuine version conflict with the exam is elsewhere - see {{guide:python-314-versus-the-syllabus}}.

One machine, and any shell with Python 3 will do - these exams test the language, not a distribution.
Server NameIP AddressOSRolesCPURAMHDD
RUNNER01192.168.0.27Ubuntu 26.04 LTSPython 3.14.4 - the only machine this path needs2 Core4 GB50 GB

Before you start

  1. is against ==

  2. The tuple that changed despite raising

  3. The chained comparison that catches everyone

  4. The shallow copy, in every container

  5. Six ways to lose a fraction, and they disagree

  6. The methods that return None

  7. Floats, and why the usual rule is only half true

  8. Everything shared, in one class

  9. The whole list, on one page

Official sources