Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

1D0-735 Exam Dumps - CIW JavaScript Specialist

Question # 4

Consider the following code:

What is the expected result of this script?

A.

The word "Welcome" will be displayed in a prompt when the page loads

B.

A welcome message will appear when the page loads

C.

When you click the alert a welcome message will appear

D.

When you click the welcome message a welcome alert will load

Full Access
Question # 5

Consider the following code:

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

A.

Hannah Lana.Franna.Diana

B.

Diana Franna Hannah Lana

C.

Hannah Diana Franna Lana

D.

Diana Franna Lana Hannah

Full Access
Question # 6

Consider the following code.

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

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.

Full Access
Question # 7

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

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 8

What is the expected result of executing the following code block in a Web browser?

A.

A pop-up alert box will display lunch tune

B.

A pop-up alert box will display Work time.

C.

There is an error in the code, no pop-up alert box will appear

D.

Two pop-up alert boxes will appear, one will display Lunch time and one will display work time.

Full Access