
Python InstitutePCPP1 - Certified Professional Python Programmer 1
Domain 1Objective 6
PCPP-32-101 1.6 Understand and Use Abstract Classes and Methods PCPP-32-1 Practice Questions (Page 2)
Part of the Advanced Object-Oriented Programming domain, which accounts for 35% of the PCPP-32-1 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~9–16 in this domain), expect 1–1 from this objective — we provide 17 practice questions to prepare you well beyond it. (estimate)
17questions here
4free pages
6concepts
35%of the exam
Questions 6–10
- 6
A team has an abstract base class `PaymentProcessor` with an abstract method `process_payment()`. They create two subclasses: `CreditCardProcessor` and `PayPalProcessor`, each implementing `process_payment()`. What is the primary benefit of this design?
Select an answer first - 7
A team has an abstract base class `Shape` with an abstract method `area()`. They create a subclass `Circle` that implements `area()`. However, when they try to instantiate `Circle`, they get a `TypeError`. What is the most likely cause?
Select an answer first - 8
A developer is designing a class `FlyingFish` that must inherit from two abstract classes: `Bird` (with abstract method `fly()`) and `Fish` (with abstract method `swim()`). What is required for `FlyingFish` to be instantiable?
Select an answer first - 9
A team is building a notification system with an abstract base class `Notifier` that has an abstract method `notify()`. They create two subclasses: `EmailNotifier` and `SmsNotifier`, each implementing `notify()`. What is the primary benefit of this design?
Select an answer first - 10
A team is building a reporting system with an abstract base class `Report` that has an abstract method `generate()`. They create three subclasses: `PDFReport`, `CSVReport`, and `HTMLReport`, each implementing `generate()`. What is the primary benefit of this design?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Python Institute. “PCPP-32-1” is a trademark of its owner, used for identification only.