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 115 discussion

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

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

  • A. '8' + '8' !=2 * '8'
  • B. 'xYz'.lower() > 'XY'
  • C. float('3.14') == str('3.' + '14')
  • D. 121 + 1 ==int('1' + 2 * '2')
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
fermins
10 months ago
Selected Answer: BD
print('xYz'.lower() > 'XY') => True print(121 + 1 ==int('1' + 2 * '2')) => True
upvoted 1 times
...
dicksonpwc
1 year, 8 months ago
answer should be B, D print('8' + '8' !=2*'8') # ans A, False print('xYz'.lower() > 'XY') # ans B, True print(float('3.14')==str('3.''14')) # ans C, False print(121+1 == int('1'+2*'2')) # ans D, True
upvoted 3 times
...
ivanbicalho
1 year, 9 months ago
Selected Answer: BD
should be B & D
upvoted 3 times
...
Mallie
1 year, 11 months ago
Selected Answer: BD
print('xYz'.lower() > 'XY') True B & D
upvoted 1 times
...
Nenggg
1 year, 11 months ago
Selected Answer: BD
print('8' + '8') -> 88 print(2 * '8') -> 88 so A is False
upvoted 1 times
...
haly
2 years, 1 month ago
Selected Answer: BD
correct answers
upvoted 1 times
...
Dav023
2 years, 2 months ago
Selected Answer: BD
right ones
upvoted 1 times
...
Dr_Alzuhairy21
2 years, 6 months ago
Selected Answer: BD
The correct answer is BD
upvoted 2 times
...
macxsz
2 years, 7 months ago
B and D
upvoted 2 times
...
MTLE
2 years, 7 months ago
BD - A would be true if we had ==
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 ...