Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAP - Certified Associate Python Programmer

Domain 4Objective 6

PCAP-31-03 4.6 Construct and Initialize Objects PCAP-31 Practice Questions (Page 1)

Part of the Object-Oriented Programming domain, which accounts for 34% of the PCAP-31 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~9–15 in this domain), expect 2–3 from this objective — we provide 48 practice questions to prepare you well beyond it. (estimate)

48questions here
10free pages
5concepts
34%of the exam

Questions 1–5

  1. 1foundation · easy

    Which method signature correctly declares a constructor in a Python class?

    Select an answer first
  2. 2foundation · easy

    Which of the following statements correctly creates an instance of a class that has no explicit __init__ method?

    Select an answer first
  3. 3foundation · easy

    What is the correct way to declare a constructor that accepts two arguments (besides self) in a Python class?

    Select an answer first
  4. 4foundation · easy

    Given the class definition: class Point: def __init__(self, x, y): self.x = x self.y = y Which statement correctly creates an instance of Point?

    Select an answer first
  5. 5foundation · easy

    What happens when you execute the following code? class Dog: def __init__(self, name): self.name = name d = Dog('Rex')

    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. “PCAP-31” is a trademark of its owner, used for identification only.