Consider the following two code segments:

Which of the following is true about these code segments?
Suggested Answer: D
Get Premium 1D0-735 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
20 comments · newest first
DE
Delisa
1 month ago
Both segments not executing at all seems unlikely.
DO
Donte
1 month ago
I’m leaning towards Segment 2 executing once.
IL
Iluminada
2 months ago
Segment 1 has a chance to loop infinitely.
GL
Gladys
2 months ago
I feel like Segment 1 executes one time.
EL
Elizabeth
2 months ago
No way, Segment 2 runs once.
LA
Lashunda
2 months ago
I think both segments will cause an infinite loop.
GL
Glory
2 months ago
Nope, Segment 2 definitely runs forever!
DA
Darrin
2 months ago
Both segments won't execute at all, right?
VE
Vernice
3 months ago
Wait, are we sure about Segment 2? Seems off.
GA
Galen
3 months ago
I agree, Segment 1 executes one time.
BR
Breana
3 months ago
Segment 1 runs once, Segment 2 loops infinitely.
NI
Nina
3 months ago
Nope, Segment 2 definitely loops forever!
WY
Wynell
3 months ago
Both segments won't execute at all, right?
GE
Georgeanna
3 months ago
Wait, are we sure about Segment 2? Seems off.
DE
Denae
5 months ago
I agree, Segment 1 executes one time.
SO
Solange
5 months ago
Segment 1 runs once, Segment 2 loops infinitely.
HE
Helene
6 months ago
I'm leaning towards Segment 1 executing one time, but I could be mixing it up with another example we did in class.
RA
Raylene
6 months ago
I practiced a similar question last week, and I think both segments actually won't execute at all if the conditions are wrong.
TA
Tarra
6 months ago
I feel like Segment 2 is supposed to run just once, but I can't recall the exact condition that makes it stop.
KA
Kallie
6 months ago
I think Segment 1 might cause an infinite loop, but I'm not entirely sure. I remember something about while loops getting stuck.