I'm a little lost on these questions of a quiz I just took...Any help is appreciated!

1st question:

What is the value of returnValue in the following code segment?

returnValue = 17 = = "17";

answer choices:

True

False

17

NaN

*I chose True<--I think that's right, but I'm not sure how I would write it in javascript. Could someone please help me with that?

2nd Q:

What is the value of y after the following statements execute?

var y = 6;

var x = 8;

y = y * x / y;

y = 25 % 5;

answer choices:

0

6

8

48

*I chose 0<--Could someone show me how to write that one in javascript and have a return answer.

3rd Q:

The _____ is especially useful for working with arrays.

answer choices:

while

doâ€¦while

for

switch

*I chose while???<--The answer is for so I got it wrong. Can someone explain this to me as I can't find the reason why in my book.

Thanks for any help.

Jake