Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAD - Certified Associate in Data Analytics with Python

Domain 2Objective 3

Object-Oriented Programming for Data Modeling PCAD-31 Practice Questions (Page 5)

Part of the Programming and Database Skills domain, which accounts for 33.3% of the PCAD-31 exam. Python Institute does not publish an official question count, but from its 60-minute exam (~25–40 total, ~8–8 in this domain), expect 2–2 from this objective — we provide 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
12concepts
33.3%of the exam

Questions 21–25

  1. 21foundation · easy

    Which relationship is best described as a 'has-a' relationship where the part can exist independently of the whole?

    Select an answer first
  2. 22foundation · easy

    What is polymorphism in the context of object-oriented programming?

    Select an answer first
  3. 23foundation · easy

    In the following code, what is `self.name`?\n```python\nclass Product:\n def __init__(self, name):\n self.name = name\n```

    Select an answer first
  4. 24expert · hard

    A data model represents a University that has multiple Department objects, and each Department has multiple Professor objects. The analyst needs to model this so that a Department can exist independently of the University, but a Professor cannot exist without a Department. Additionally, the University should be able to add and remove Departments. Which combination of relationships is correct?

    Select an answer first
  5. 25foundation · easy

    Which design pattern is used to create objects without specifying the exact class of object that will be created?

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