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

Exam PCAP topic 1 question 85 discussion

Actual exam question from Python Institute's PCAP
Question #: 85
Topic #: 1
[All PCAP Questions]

Which of the following expressions evaluate to True? (Choose two.)

  • A. ord(ג€Zג€) - ord(ג€zג€) == ord(ג€0ג€)
  • B. chr(ord('A') +1) == 'B'
  • C. len('\'') == 1
  • D. len(ג€ג€ג€ ג€ג€ג€) == 0
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Miguel_A
Highly Voted 10 months, 2 weeks ago
Answer:B&C €ג is always = " So the options are: print(ord("Z")-ord("z")==ord("0")) print(chr(ord('A')+1) == 'B') print(len('\'') == 1) print(len(""" """)==0) False True True False
upvoted 15 times
...
wacha1978
Highly Voted 1 year, 5 months ago
print(ord('Z') - ord('z') == ord('0')) print(chr(ord('A') +1) == 'B' ) print(len('\~') == 1 ) print(len('') == 0 ) I assume this is this , so B and D
upvoted 7 times
...
andr3
Most Recent 18 hours, 9 minutes ago
Selected Answer: BC
this should be B,C
upvoted 1 times
...
Dlugi_Zuraw
2 days, 14 hours ago
Selected Answer: BC
chr(ord('A') + 1) == 'B' True len('\'') == 1 True
upvoted 1 times
...
haly
5 months, 1 week ago
Selected Answer: BC
A is false
upvoted 1 times
...
macxsz
10 months, 2 weeks ago
Selected Answer: BD
answer is BD: chr(ord('A') +1) == 'B' len('') == 0
upvoted 3 times
...
MTLE
10 months, 4 weeks ago
It is BD
upvoted 2 times
...
Quanteo
1 year ago
Selected Answer: BD
Must be B and D
upvoted 1 times
...
rocky48
1 year ago
Selected Answer: BD
Answer: B and D
upvoted 1 times
...
lukaki
1 year, 3 months ago
Answer: B and D print(ord('Z') - ord('z') == ord('0')) print(chr(ord('A') +1) == 'B' ) print(len('\~') == 1 ) print(len('') == 0 ) Output: False True False True
upvoted 1 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 ...