CIW
1D0-635 · Question #9
1D0-635 Question #9: Real Exam Question with Answer & Explanation
Sign in or unlock 1D0-635 to reveal the answer and full explanation for question #9. The question stem and answer options stay visible for context.
Question
Consider the following code: <script> var x = 0; for (i=0; i<5; i++) { x += i; } alert("1+2+3+4 = " +x); </script> How many times will the program loop, and what will be the final value of x?
Options
- A5, 10
- B4, 9
- C4, 5
- D5, 5
Unlock 1D0-635 to see the answer
You've previewed enough free 1D0-635 questions. Unlock 1D0-635 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.