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

Exam PCAP All Questions

View all questions & answers for the PCAP exam

Exam PCAP topic 1 question 91 discussion

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

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

  • A. 121 + 1 != '1' + 2 * '2'
  • B. '1' + '1' + '1' < '1' *3'
  • C. 'AbC'.lower() < 'AB'
  • D. '3.14' != str(3.1415)
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
9prayer
1 year, 9 months ago
Selected Answer: AD
A and D are True
upvoted 1 times
...
stuartz
2 years, 5 months ago
Selected Answer: AD
>>> 121 + 1 != '1' + 2 * '2' True >>> '3.14' != str(3.1415) True >>> 'AbC'.lower() < 'AB' False >>> '1' + '1' + '1' < '1' *3' File "<stdin>", line 1 '1' + '1' + '1' < '1' *3' ^ SyntaxError: EOL while scanning string literal
upvoted 4 times
...
macxsz
2 years, 7 months ago
A and D are True
upvoted 2 times
...
TheNetworkStudent
2 years, 8 months ago
Selected Answer: AD
I think I've deciphered it to the following: print(121 + 1 != '2' * 2 + '1') print(3 * '1' > '1' + '1' + '1') print('AbC'.lower() < 'AB+') print(3.14 != str(3.1415)) if that's true, it's A & D
upvoted 2 times
TheNetworkStudent
2 years, 8 months ago
minus the + in the third line after AB...
upvoted 1 times
...
...
Noarmy315
2 years, 11 months ago
it seems AD
upvoted 2 times
...
DTL001
2 years, 11 months ago
It's illisible
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 ...