Vcehome > CIW > CIW Certified Instructor > 1D0-635 > 1D0-635 Online Practice Questions and Answers

1D0-635 Online Practice Questions and Answers

Questions 4

Which statement will correctly call a JavaScript function without error?

A. var myFunction()

B. initiate myFunction()

C. call myFunction()

D. myFunction()

Browse 55 Q&As
Questions 5

Consider only the following code:

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

A. return sum;

B. mySum (num1+num2);

C. return num1+num2;

D. return sum(num1+num2);

Browse 55 Q&As
Questions 6

Consider the following code:

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

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

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

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

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

Browse 55 Q&As
Questions 7

Consider the following code:

What is the output when you run this script in the browser?

A. An alert box displaying the following: John, Paul, George, Ringo

B. An alert box displaying the following: Ringo, John, Paul, George

C. An alert box displaying the following: Ringo, Paul, George

D. An alert box displaying the following: John, Ringo, George

Browse 55 Q&As
Questions 8

Which statement is true about the getElementByID() method?

A. It returns only the first element with the specified ID.

B. It returns an array containing all elements with the specified ID.

C. If a match is not found for the specified ID, it will attempt searching by name.

D. If a match is not found for the specified ID, it will attempt searching by tag name.

Browse 55 Q&As
Questions 9

Consider the following statement:

for (X; Y; Z)

What does Z represent in this code?

A. The counter variable

B. The loop counter update expression

C. The condition under which the loop will execute

D. The highest value that the counter variable may reach

Browse 55 Q&As
Questions 10

Which of the following is a reason why a developer would use a JavaScript library?

A. JavaScript libraries ensure quality code that does not harbor security risks.

B. JavaScript libraries require a shorter learning curve than JavaScript.

C. JavaScript libraries are subsets of Java and thus provide more powerful code.

D. JavaScript libraries provide platform-independent code that will behave identically in any browser.

Browse 55 Q&As
Questions 11

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?

A. No value ?error in line 1 due to missing var keyword for userAge.

B. No value ?error in line 1 due to multiple declarations in one line.

C. Maria "is" 22 "years old"

D. Maria is 22 years old

Browse 55 Q&As
Questions 12

Consider the following code:

A. Replaces the text CIW with the text http://www.CIWcertified.com

B. Replaces the text CIW with a link that reads myLink and points to the URL www.CIWcertified.com

C. Converts the text CIW into a link that reads CIW and points to the URL www.CIWcertified.com

D. Returns true if the content of the is a link to www.CIWcertified.com, or returns false if the content of the is not a link towww.CIWcertified.com

Browse 55 Q&As
Questions 13

Consider the following code:

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

A. A button labeled Click Me will appear, with an input box that displays the following default text: Old Value. Upon clicking the button, the textin the text box will change to New Value. Upon clicking the button again, the text in the text box will change back to Old Value.

B. A button labeled Click Me will appear, with an input box that displays the following default text: Old Value. Upon clicking the button, the text inthe text box will change to New Value. Upon clicking the button again, the text in the text box will change to Old Value, New Value.

C. A button labeled Click Me will appear, with an input box that displays the following default text: Old Value. Upon clicking the button, the text inthe text box will change to New Value. Upon clicking the button again, you will see nothing change.

D. This script will not run. You will get an error because the value="Old Value" statement in the tag contains the reserved wordValue within the quotes.

Browse 55 Q&As
Exam Code: 1D0-635
Exam Name: CIW JavaScript Specialist
Last Update:
Questions: 55 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99