Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW Exam 1D0-735 Topic 8 Question 48 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 48
Topic #: 8
[All 1D0-735 Questions]

Consider the following code.

Which of the following will occur if the user's response is 25?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Bettye
1 months ago
Wait, is this a trick question? What if the user's response is actually 'twenty-five'? Better go with the safe bet, B.
upvoted 0 times
...
Denise
2 months ago
Haha, I bet the person who wrote this question is a real stickler for syntax. But I'm confident C is the way to go.
upvoted 0 times
Gilberto
8 days ago
I think so too, C is the most logical choice.
upvoted 0 times
...
Kandis
1 months ago
I agree, C seems like the correct option here.
upvoted 0 times
...
...
Elvera
2 months ago
Oh, I was tempted to go with D, but the question clearly states the user's response is 25, so B must be the right answer.
upvoted 0 times
Nan
18 days ago
Definitely, the code will display the message about not being old enough to rent a car.
upvoted 0 times
...
Brandon
1 months ago
I was also considering D, but now I see that B makes more sense.
upvoted 0 times
...
Marshall
1 months ago
Yeah, I agree. The user's response is 25, so it will display that message.
upvoted 0 times
...
Brittani
1 months ago
I think you're right, B seems to be the correct answer.
upvoted 0 times
...
...
Allene
2 months ago
Hmm, I think the answer is C. The conditional operator should work correctly with the age check.
upvoted 0 times
...
Eun
2 months ago
But if the user's response is 25, the condition will be true and the statement 'You are old enough to rent a car from our car rental agency' will be displayed.
upvoted 0 times
...
Sanda
2 months ago
I disagree, I believe the correct answer is C.
upvoted 0 times
...
Eun
2 months ago
I think the correct answer is B.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77