1D0-635 CIW JavaScript Specialist

Loading demo links...

Showing 4–6 of 10 questions

Question 4

Which of the following will correctly declare the EmployeeID variable as a string data type?

Select an option, then click Submit answer.

  • string EmployeeID = 123;

  • string EmployeeID = "123";

  • var EmployeeID = 123;

  • var EmployeeID = "123";

Question 5

Consider the following code:

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

Select an option, then click Submit answer.

  • There will be no visible output, but the script will count down to 0.

  • The script will output a countdown from 15 to 0 in the client window.

  • The script will output a countdown from 15 to 1 in the client window.

  • The script will output 15, then 1, because it will only write the first and last values of a while? statement.

Question 6

Consider the following message displayed in a pop-up window: Welcome to the CIW Web site! Which line of code will deliver the pop-up window that displays this message?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D