Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCPP1 - Certified Professional Python Programmer 1

Domain 1Objective 3

PCPP-32-101 1.3 Understand and Use Inheritance, Polymorphism, and Composition 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 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
6concepts
35%of the exam

Questions 6–10

  1. 6foundation · easy

    What is the core idea behind duck typing in Python?

    Select an answer first
  2. 7application · medium

    A developer is building a reporting system where Report, Invoice, and Summary all share common formatting logic. The developer wants to reuse the formatting code but also allow each class to customize the header. Which approach is most appropriate?

    Select an answer first
  3. 8application · medium

    A developer is building a logging system. The system has FileLogger and ConsoleLogger classes, both with a log(message) method. A LoggerManager class needs to use either logger based on configuration. Which design is most appropriate?

    Select an answer first
  4. 9application · medium

    A developer is writing a function that calculates the area of any shape. The function should work with Circle, Rectangle, and Triangle classes, each having an area() method. The developer wants to ensure the function can handle future shape classes without modification. Which approach is best?

    Select an answer first
  5. 10application · medium

    A developer is modeling a system for a vehicle rental company. Each Vehicle has an Engine, and each Car is a Vehicle. The company also needs to model a Truck that is a Vehicle but has a CargoBed. The developer wants to avoid code duplication and ensure that changes to the Engine class automatically affect all vehicles. Which design best satisfies these requirements?

    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.