Assuming that the snippet below has been executed successfully, which of the following expressions evaluate to True? (Choose two.) string = 'python'[::2] string = string[-1] + string[-2]
Maybe that's the case, I ask whoever took the exam to explain
Assuming that the snippet below has been executed successfully, which of the following expressions evaluate to False? (Choose two.) string = 'python'[::2] string = string[-1] + string[-2]
string = 'python'[::2]
string = string[-1] + string[-2]
print (string[0] == 'o')
print (string is None )
print (len(string) == 3)
print (string[0] == string [-2])
True
False
False
True
Hello everybody, my PCAP is set for next Monday. I see many errors in these exercises, and I'm very worried. Is the (real) exam full of errors like this ?
This section is not available anymore. Please use the main Exam Page.PCAP Exam Questions
Log in to ExamTopics
Sign in:
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.
macxsz
Highly Voted 2 years, 11 months agopetibi
2 years, 11 months agoandr3
2 years, 1 month agoVeilok
1 year, 8 months agoDamon54
Most Recent 1 year, 2 months agoDamon54
1 year, 2 months agoDamon54
1 year, 2 months agomoteruky
1 year, 2 months agoseaverick
1 year, 3 months agoclecorre
1 year, 8 months agobrandonkim76
1 year, 7 months agoandr3
2 years agoMallie
2 years, 3 months agoJnanada
2 years, 8 months agostuartz
2 years, 10 months agocvvvv
2 years, 11 months agocarpmatias
2 years, 11 months agopetibi
2 years, 11 months ago