New Year Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

CIW 1D0-735 CIW JavaScript Specialist Exam Practice Test

Page: 1 / 6
Total 55 questions

CIW JavaScript Specialist Questions and Answers

Question 1

Juan is testing his JavaScript application, which includes the following code:

Question # 1

Assuming Juan enters August for his birth month and his name for first name, what is the value of birthMonth after executing this code?

Options:

A.

August

B.

Juan was born in August

C.

Juan was born in August

D.

What month were you born? What is your first name?

Question 2

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

Options:

A.

Web APIs are frameworks that make it easy to build applications over HTTP services that are accessible over a large range of clients.

B.

Web APIs provide an interface for developers to write code themselves instead of using APIs developed by others .

C.

Web APIs are best used to create resource-oriented services.

D.

Before Web APIs developers had to write the entire code for every task they needed to perform.

Question 3

Consider the following code:

Question # 3

What will be displayed for the computer inventory after the Update Inventory button is clicked twice?

Options:

A.

18

B.

19

C.

20

D.

22

Question 4

Consider the following code.

Question # 4

Which of the following will occur if the user's response is 25?

Options:

A.

The response will not be tested due to an error in the line containing the conditional operator.

B.

The statement "You are not old enough to rent a car from our car rental agency " will be displayed.

C.

The statement "You are old enough to rent a car from our car rental agency " win be displayed.

D.

The statement You are not old enough" will be displayed in an alert box.

Question 5

Which of the following best describes how JavaScript communicates with databases when used with AJAX?

Options:

A.

It provides a limited set of database operations such as retrieving data and displaying it back to the originating Web page.

B.

It performs back-end database operations such as modifying the database schema.

C.

It is used to change database security permissions.

D.

It was designed to perform queries on databases.

Question 6

What basis code is needed to define the JavaScript function avgGrades?

Options:

A.

Function avgGrades () {}

B.

avgGrades function ()

C.

avgGrades (){ }

D.

var = function avgGrades () {}

Question 7

Which of the following is an advantage of using the Virtual DOM?

Options:

A.

Rendering the virtual DOM is faster than rendering the regular browser DOM.

B.

The virtual DOM updates each element when the layout of the DOM changes, meaning that the page always reflects the most current data from the server

C.

The Virtual DOM is not just a view layer, but also makes changes directly to the Web page

D.

You can learn virtual DOM concepts and React libraries quickly because the libraries are simple and concise

Question 8

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

Question # 8

Options:

A.

Elephant Zebra Lion Giraffe

B.

Elephant Lion Giraffe

C.

Zebra Elephant Lion Giraffe

D.

Zebra.Elephant Giraffe

Page: 1 / 6
Total 55 questions