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 3 Question 74 Discussion

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

Which of the following comparison statements will return true?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Jesusa
19 days ago
I'm surprised they even included B and C as options. Those are just nonsensical. D is the only one that makes any sense. Time to move on to the next question!
upvoted 0 times
...
Tesha
25 days ago
Haha, these answers are like a comedy routine! Who comes up with these kinds of trick questions? Anyway, I think D is the winner here.
upvoted 0 times
...
Reid
1 months ago
B is definitely not the right answer. Using '+==' is not a valid comparison operator in most programming languages. I'm leaning towards D, but I'll double-check the other options just to be sure.
upvoted 0 times
Derick
8 days ago
D) X = 15 Y = 3 X === y;
upvoted 0 times
...
Heike
9 days ago
C) X = 15 Y = 3; X ! == y;
upvoted 0 times
...
Lajuana
26 days ago
A) X = 15 ; Y = 3 ; X == y ;
upvoted 0 times
...
...
Howard
1 months ago
Wow, these options are a mess! I can barely make sense of them. I'm going to have to read them carefully to figure out the right answer.
upvoted 0 times
Kathryn
13 days ago
User 3: I think the answer is in there somewhere.
upvoted 0 times
...
Juan
22 days ago
User 2: Yeah, I need to read them carefully.
upvoted 0 times
...
Glenn
1 months ago
User 1: These options are confusing.
upvoted 0 times
...
...
Zoila
1 months ago
Answer A is incorrect. The '==' operator checks for value equality, not variable equality. The correct answer is D, which uses the '===' operator to check for both value and type equality.
upvoted 0 times
...
Truman
2 months ago
But doesn't the triple equals sign in D) mean strict equality? I think A) is the right choice for this comparison statement.
upvoted 0 times
...
Maryln
2 months ago
I disagree, I believe the correct answer is D) X = 15 Y = 3 X === y;
upvoted 0 times
...
Truman
2 months ago
I think the correct answer is A) X = 15; Y = 3; X == y;
upvoted 0 times
...

Save Cancel