Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 4 Question 59 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 59
Topic #: 4
[All PCAP-31-03 Questions]

Assuming that the following piece of code has been executed successfully, which of the expressions evaluate to True? (Select two answers)

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Cherelle
2 months ago
Haha, this question is a real Python puzzle! I'm going with B and D, but I might throw in a little bit of C just for fun.
upvoted 0 times
Cheryll
9 days ago
Yeah, C could be a tricky one to figure out.
upvoted 0 times
...
Kandis
1 months ago
I agree, those seem like the most likely options.
upvoted 0 times
...
Corrinne
1 months ago
I think B and D are correct.
upvoted 0 times
...
...
Long
2 months ago
Eve
upvoted 0 times
Marilynn
23 days ago
Catina: D) obj_c.get() == 2
upvoted 0 times
...
Barney
1 months ago
User 3: C) has atr (B, 'get')
upvoted 0 times
...
Catina
1 months ago
User 2: B) C._C__VarA == 2
upvoted 0 times
...
Jamal
1 months ago
B) C._C__VarA == 2
upvoted 0 times
...
Jamal
1 months ago
A) is instance(obj_b,C)
upvoted 0 times
...
Elinore
1 months ago
User 1: A) is instance(obj_b,C)
upvoted 0 times
...
...
Sherron
2 months ago
I believe option D) obj_c.get() == 2 also evaluates to True because obj_c.get() returns 2.
upvoted 0 times
...
Linwood
3 months ago
I agree with Chu, the variable C._C__VarA should be equal to 2.
upvoted 0 times
...
Chu
3 months ago
I think option B) C._C__VarA == 2 evaluates to True.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77