nerdexam
CIW

1D0-635 · Question #2

Consider the following code: What is the expected result when you run this script in the browser?

The correct answer is C. The script will output a countdown from 15 to 1 in the client window.. See the full explanation below for the reasoning.

Question

Consider the following code:

What is the expected result when you run this script in the browser?

Exhibit

1D0-635 question #2 exhibit

Options

  • AThere will be no visible output, but the script will count down to 0.
  • BThe script will output a countdown from 15 to 0 in the client window.
  • CThe script will output a countdown from 15 to 1 in the client window.
  • DThe script will output 15, then 1, because it will only write the first and last values of a while?

How the community answered

(58 responses)
  • A
    9% (5)
  • B
    3% (2)
  • C
    74% (43)
  • D
    14% (8)

Community Discussion

No community discussion yet for this question.

Full 1D0-635 Practice