
CIW JavaScript Specialist - 1D0-635 Exam Questions
QUESTION NO: 1
Consider only the following code:

Which of the following would properly supply the sum of the two numbers?
Consider only the following code:

Which of the following would properly supply the sum of the two numbers?
Correct Answer: A
QUESTION NO: 2
Consider the following code:

What output will appear in the browser when you run this script?
Consider the following code:

What output will appear in the browser when you run this script?
Correct Answer: B
QUESTION NO: 3
Which of the following will correctly modify the value of an X/HTML element's attribute within the DOM?
Which of the following will correctly modify the value of an X/HTML element's attribute within the DOM?
Correct Answer: D
QUESTION NO: 4
Which of the following will correctly declare the EmployeeID variable as a string data type?
Which of the following will correctly declare the EmployeeID variable as a string data type?
Correct Answer: B
QUESTION NO: 5
In an X/HTML form, which script block will retrieve an input value and display it back without errors or warnings?
In an X/HTML form, which script block will retrieve an input value and display it back without errors or warnings?
Correct Answer: A
QUESTION NO: 6
Consider the following code fragment, which sets up the retrieval of an XML document named fish.xml and calls a function named showFish(): var xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", "fish.xml", true); xmlhttp.onreadystatechange = showFish(); xmlhttp.send(); Which line of code initializes the XMLHttpRequest object?
Consider the following code fragment, which sets up the retrieval of an XML document named fish.xml and calls a function named showFish(): var xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", "fish.xml", true); xmlhttp.onreadystatechange = showFish(); xmlhttp.send(); Which line of code initializes the XMLHttpRequest object?
Correct Answer: A




