CIW JavaScript Specialist (1D0-635) Free Practice Test
Question 1
Which statement will correctly call a JavaScript function without error?
Correct Answer: D
Question 2
Suppose you define two variables as follows:
var x = 5;
var y = "5";
Which statement will return the mathematical sum of these variables?
var x = 5;
var y = "5";
Which statement will return the mathematical sum of these variables?
Correct Answer: D
Question 3
Consider the following code:

What is the expected result of this script?

What is the expected result of this script?
Correct Answer: C
Question 4
Consider only the following code:

Which of the following would properly supply the sum of the two numbers?

Which of the following would properly supply the sum of the two numbers?
Correct Answer: C
Question 5
Maria, a 22-year old student, is testing her JavaScript application, which includes the following code:

Assuming Maria enters truthful information, what is the value of z after executing this code?

Assuming Maria enters truthful information, what is the value of z after executing this code?
Correct Answer: B
Question 6
Which of the following demonstrate the correct syntax for the switch statement?
Correct Answer: C