Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free CIW JavaScript Specialist Exam 1D0-735 Exam Questions

Page: 1 / 6 Total 55 questions

Want more questions? Get Premium Access.

Question 1

Which script will display Configurations, you won! In the browser when the script is run?

A)

B)

C)

D)

Correct Answer: B. Option B

Question 2

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)

Correct Answer: B. Option B

Question 3

Geraldine is creating a custom object to store user account data on her Web site. She has written the following code it is not working properly. What change should she make to enable the script to run correctly?

Correct Answer: A. She must remove the this keyword from the left side of the assignment variables

Question 4

Which of the following is a benefit of using a predefined library, such as JQuery?

Correct Answer: B. Predefined libraries always provide step-by-step instructions on how to manually enter code to perform a specific task.

Question 5

Which of the following will correctly declare the courseNumber variable as a siring data type?

Correct Answer: C. var_courseNumber = JS101'';

Question 6

Which of the following is a true statement regarding the relationship between Promises and callback functions?

Correct Answer: C. A Promise is a returned object to which the developer can attach callbacks instead of passing callbacks to a function.

Question 7

Which of the following comparison statements will return true?

Correct Answer: C. X = 15 Y = 3; X ! == y;

Question 8

Which of the following comparison statement will return true?

A)

X=10;

Y=11;

y--;

x==y

B)

X=10;

Y=11;

Y++;

x==y'

C)

X=11;

Y=10;

y--;

x==y;

D)

X=11;

Y=10;

y-= 1;

x==y

Correct Answer: D. Option D

Question 9

Consider the following code:

What will this alert display?

Correct Answer: D. Yes It appears winter has arrived

Question 10

Which of the following is not a benefit of Web APIs?

Correct Answer: C. Web APIs are best used to create resource-oriented services.