Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

What is the expected result when executing the following scripts in a web browser?

A.

A pop-up alert box will display Fair followed by a pop-up alert box displaying Bad

B.

A pop-up alert box will display Poor

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 Fair and one will display Poor

Consider the following code:

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

A.

18

B.

19

C.

20

D.

22

Consider the following code:

What change if any needs to be made for a "Thank you" message to appear when the checkout page is loaded?

A.

On fine 11 onupload need to be changed to onload.

B.

On line 8 alter needs to be changed to prompt

C.

On line 11, onupload needs to be changed to onload.

D.

No changes needed. The alert message will appear when the page is loaded.

Jackson was testing his code when the Web browser became locked and he had to close it to stop the script What might he have accidentally done when coding his Web site?

A.

Coded an infinite loop

B.

Coded a frame that breaks the same origin policy

C.

Coded an input element that is vulnerable to XSS

D.

Coded deprecated HTML

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

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

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.

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

A.

Elephant Zebra Lion Giraffe

B.

Elephant Lion Giraffe

C.

Zebra Elephant Lion Giraffe

D.

Zebra.Elephant Giraffe

Consider the following code:

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

A.

The onsubmit event handler should be added to the tag.

B.

The onsubmit event handler should be added to the

tag.

C.

The onfocus event handler should be added to the tag.

D.

The onfocus event handler should be added to the tag

Scarlet has the following code in her script:

Var namesArr =[‘’Joseph’,’ Charlotte’’, ‘’Nicole’’];

She wants to add the name Hank to the end of the array so that its length is 4. What code should she use?

A.

namesArr [4] ''Hank'';

B.

namesArr push (''Hank'');

C.

namesArr unshift (''Hank'');

D.

namesArr .shift (''Hank'');

Joseph is designing a Web form for new patient enrollment in a doctor's office He wants to ensure that users enter valid information on the form He also wants to make sure that hackers cannot submit malicious code to gain access to information about other patients. What technique should he use?

A.

He should secure the Web pages through SSL (Secure Sockets Layer) certificates

B.

He should write a script to compare the information the user entered with the information on the Internet that is publicly available about the user

C.

He should write regular expressions to check that the data values entered match the requirements

D.

He should add the required attribute to the e-mail and phone fields on the form