CIW JavaScript Specialist 1D0-735 Exam Questions

Page: 1 / 14
Total 55 questions
Question 1

Janice needs to create a pop-up window that will open a Web document in a new browser window. Which code statement should she use?

A)

B)

C)

D)



Answer : C


Question 2

Consider the following code:

What is the result of running this script in a Web browser?



Answer : B


Question 3

Jaime needs to write a script to remove all the non-digit characters from a phone number so that all that remains are the numbers She knows that she will need to use a regular expression to search for non-digit characters and can use a method to remove all the non-digit characters. Which code should she use?

A)

B)

C)

D)



Answer : B


Question 4

Consider the following code:

The processform() function is not executed when the submit button is pressed. What change should be made to correct this?



Answer : A


Question 5

Considering the following code:

Var 1 ;

For (I = 1; I < 10; I ++)

What part of the code fragment initializes the counter variable?



Answer : C


Question 6

Loni needs to create a scriptable button in her Web form that does not submit the form but instead, calls a custom function What HTML code should she use?

A)

B)

C)

D)



Answer : C


Question 7

Consider the following code:

The code displays a pop-up alert message if the username is less than 6 characters and submits the form. What change should be made to prevent the form from submitted if the username is less than 6 characters?



Answer : B


Page:    1 / 14   
Total 55 questions