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 55 discussion

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

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

  • A. an object is a recipe for a class
  • B. the arrows on a class diagram are always directed from a superclass towards its subclass
  • C. encapsulation allows you to protect some data from uncontrolled access
  • D. inheritance is the relation between a superclass and a subclass
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
Abbribas
1 month, 2 weeks ago
Selected Answer: CD
A. False – A class is a recipe for creating objects, not the other way around. B. False – In class diagrams, arrows typically point from subclass to superclass to indicate inheritance. C. True – Encapsulation protects data from uncontrolled access using access control (e.g., private/protected attributes). D. True – Inheritance defines the relationship between a superclass and its subclass.
upvoted 1 times
...
Dave304409
1 year ago
Selected Answer: CD
is correct
upvoted 2 times
...
DKAT2023
1 year, 1 month ago
Selected Answer: CD
C and D are correct.
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 ...