Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PCPP-32-101 All Questions

View all questions & answers for the PCPP-32-101 exam

Exam PCPP-32-101 topic 1 question 3 discussion

Actual exam question from Python Institute's PCPP-32-101
Question #: 3
Topic #: 1
[All PCPP-32-101 Questions]

Analyze the following snippet and select the statement that best describes it.

  • A. self.name is the name of a class variable
  • B. var1 is the name of a global variable
  • C. Excalibur is the value passed to an instance variable
  • D. weapon is the value passed to an instance variable
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
herrmann69
5 months, 3 weeks ago
Selected Answer: C
C is correct. A. self.name is the name of a class variable No - self.name is the name of an instance variable B. var1 is the name of a global variable No - var1 is the name of a class variable C. Excalibur is the value passed to an instance variable Yes D. weapon is the value passed to an instance variable No - weapon is the value passed to a class variable
upvoted 1 times
...
ghozlane
1 year, 1 month ago
Selected Answer: C
correct answer is C
upvoted 3 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 ...