PCAP Practice: Objects, Modules and Exceptions | StemPy Lab
Question set
PCAP Practice: Objects, Modules and Exceptions
Questions in the style of the PCAP exam (Python Institute, PCAP-31-03) on modules and packages, exceptions, and object-oriented programming: class and instance variables, inheritance and the MRO, super(), special methods and introspection. Each is a short program: predict what it prints, or find the bug. Every answer is worked out.