VIP Exclusive
PCAP Certified Associate in Python Programming — VIP Practice Exam
PCAP — The PCAP – Certified Associate in Python Programming exam is administered by the Python Institute (pythoninstitute.org). It consists of 40 single- and multiple-select questions, has a 65-minute time limit, and requires a 70% passing score. It covers five domains: Modules & Packages (12%), Exceptions (14%), Strings (18%), Object-Oriented Programming (34%), and Miscellaneous topics including generators, iterators, closures, decorators, and file I/O (22%).
31
Questions
65m
Time Limit
70.00%
To Pass
Question 1 of 31👑 VIP
A developer defines the following class hierarchy: python class Animal: def speak(self): return 'generic sound' class Dog(Animal): def speak(self): return 'woof' class ServiceDog(Dog): pass d = ServiceDog() print(d.speak()) What is the output?
Questions 2–31 and full explanations are VIP-exclusive.