Assuming that the following code has been executed successfully, select the expressions which evaluate to True (Select two answers.)

Suggested Answer: B, D
Get Premium PCAP-31-03 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
17 comments · newest first
RO
Roselle
12 months ago
I disagree, I don't think B is True.
MO
Mozell
1 year ago
D should be True too, right? a() == 4!
CH
Charlie
1 year ago
Wait, is C really True? That seems off.
JO
Jospeh
1 year ago
I think B is also True, a != b.
BR
Brianne
1 year ago
A is definitely True, a is not None!
QU
Queenie
1 year ago
I’m leaning towards option D being false because I think 'a' is a function, not a value that equals 4.
LO
Lonna
1 year ago
I practiced a similar question where we had to check function return values. I feel like option C could be true if 'b' returns 4.
GR
Graciela
1 year ago
I'm a bit unsure about option B; I remember something about comparing variables, but I can't recall if 'a' and 'b' are equal or not.
AN
Annette
1 year ago
I think option A is definitely true since 'a' should not be None after the code runs.
PA
Pansy
1 year ago
This is a good opportunity to apply my knowledge of Python syntax and logic. I'll work through this step-by-step and select the two correct answers.
CR
Crista
1 year ago
I think I've got a handle on this. I'll start by evaluating each expression and see which ones match the criteria of being True.
SO
Solange
1 year ago
I'm a bit confused by the function calls in the options. I'll need to make sure I understand what those functions are doing before I can select the right answers.
NI
Nicolette
1 year ago
Hmm, this looks like a tricky one. I'll need to carefully examine the code and the options to determine which expressions evaluate to True.
HE
Helaine
1 year ago
Okay, let's see here. The code has been executed successfully, so I'll need to focus on the expressions and their expected outputs.
OM
Omega
1 year ago
Okay, let me think this through. Fading physical prompts - that's when you gradually reduce the amount of physical assistance you provide, right? I think the answer is D, least-to-most prompting. That sounds like the right strategy for fading prompts.
JA
Jamal
1 year ago
The waterfall methodology is all about following a strict process, so I don't think option A about deadlines is correct.
PR
Pranay Ghosh
3 years ago
option c and d is wrong