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 PCAP-31-03 Exam - Topic 4 Question 99 Discussion

Which of the following expression evaluate to True? (Select two answers)
B) len(''' ''') == o
A) len('\'*) == 1
C) chr(ordCA') + 1) == 'B'
D) ord('Z') - ord('z') -- ord('0')

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

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

Which of the following expression evaluate to True? (Select two answers)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Christa
2 days ago
A seems tricky. 'in not' doesn't make sense to me.
upvoted 0 times
...
Marylyn
7 days ago
I agree! D is obvious. What about A?
upvoted 0 times
...
Felicidad
13 days ago
I think D is definitely True. 'in' is in 'in'.
upvoted 0 times
...
Nada
18 days ago
C seems wrong too, 't' won't match.
upvoted 0 times
...
Rossana
23 days ago
A is tricky, but I feel it's false.
upvoted 0 times
...
Alyssa
28 days ago
I agree, B and D make sense.
upvoted 0 times
...
Francine
1 month ago
I think B and D are true.
upvoted 0 times
...
Charisse
1 month ago
C is definitely false too.
upvoted 0 times
...
Jani
1 month ago
A is tricky, but I feel it's false.
upvoted 0 times
...
Fannie
2 months ago
I agree, B and D make sense.
upvoted 0 times
...
Louvenia
2 months ago
I think B and D are true.
upvoted 0 times
...
Daron
2 months ago
I thought 'in' was just a keyword, not a string!
upvoted 0 times
...
Arthur
2 months ago
Definitely D, but I'm not so sure about A.
upvoted 0 times
...
Lenna
2 months ago
Wait, how can A be true? That seems off.
upvoted 0 times
...
Denise
2 months ago
I think B is also true.
upvoted 0 times
...
Nan
3 months ago
A and D are true.
upvoted 0 times
...
Crista
3 months ago
I agree, A and D make sense!
upvoted 0 times
...
Winfred
3 months ago
Wait, how does 'in' in 'in' even work?
upvoted 0 times
...
Jennie
5 months ago
No way, C is definitely not true!
upvoted 0 times
...
Dan
5 months ago
I think B is also true, right?
upvoted 0 times
...
Luisa
5 months ago
A and D are true.
upvoted 0 times
...
Tiffiny
5 months ago
I agree, A and D make sense.
upvoted 0 times
...
Clay
5 months ago
Wait, 'in' in 'in'? That's kinda weird!
upvoted 0 times
...
Tamesha
5 months ago
No way, C can't be true.
upvoted 0 times
...
Felice
6 months ago
I think B is also true, right?
upvoted 0 times
...
Fletcher
6 months ago
A and D are true!
upvoted 0 times
...
Eun
6 months ago
I practiced a similar question, and I think C might be tricky since it involves the upper() method.
upvoted 0 times
...
Marilynn
6 months ago
I feel like D could also be true because 'in' is literally in 'in', right?
upvoted 0 times
...
Hoa
6 months ago
I'm not sure about A, but I remember something about 'in' being used in membership tests.
upvoted 0 times
...
Glynda
6 months ago
I think option B is definitely true since 'in' is a substring of 'Thames'.
upvoted 0 times
...

Save Cancel