Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAP - Certified Associate Python Programmer

Domain 4Objective 3

PCAP-31-03 4.3 Equip a Class with Methods PCAP-31 Practice Questions (Page 3)

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 52 practice questions to prepare you well beyond it. (estimate)

52questions here
11free pages
6concepts
34%of the exam

Questions 11–15

  1. 11foundation · easy

    In a method, how do you modify an instance attribute named `value`?

    Select an answer first
  2. 12foundation · easy

    Inside a method, how do you call another method `helper` of the same class?

    Select an answer first
  3. 13application · medium

    A developer is building a `BankAccount` class for a financial application. Each account must track its own balance, and the `deposit` method must update the balance for the specific instance on which it is called. Which method implementation correctly uses `self` to maintain per-instance state?

    Select an answer first
  4. 14application · easy

    A `Calculator` class has a method `add` that takes two numbers and returns their sum. A user creates an instance `calc` and wants to call `add` with arguments 5 and 3. Which call is correct?

    Select an answer first
  5. 15application · medium

    In a `GameCharacter` class, the `take_damage` method needs to reduce the character's health by a specified amount. The method also needs to call `check_status` to see if the character is defeated. Which code correctly uses `self` to achieve both?

    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.