exam questions

Exam PCAP-31-03 All Questions

View all questions & answers for the PCAP-31-03 exam

Exam PCAP-31-03 topic 1 question 29 discussion

Actual exam question from Python Institute's PCAP-31-03
Question #: 29
Topic #: 1
[All PCAP-31-03 Questions]

What is true about Object-Oriented Programming in Python? (Choose two.)

  • A. encapsulation allows you to hide a whole class inside a package
  • B. a class is a recipe for an object
  • C. each object of the same class can have a different set of properties
  • D. the arrows on a class diagram are always directed from a superclass towards its subclass
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jaycosmo_23
4 months, 2 weeks ago
Selected Answer: B
B. A class is a recipe for an object None of the other options are valid. If rephrased, option C could be correct for clarification (if focusing on unique attribute values per object rather than unique sets of attributes).
upvoted 1 times
...
kino_1994
8 months ago
I'm not sure about C. Each object of the same class has the same set of properties but can have different values.
upvoted 1 times
...
Dave304409
9 months, 2 weeks ago
Selected Answer: BC
is correct
upvoted 2 times
...
DKAT2023
9 months, 3 weeks ago
B and C are corrects
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago