Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Methods operate on _________ instances of objects.

A.

two

B.

three

C.

multiple

D.

single

Consider the following HTML:

Which method of the String object is used to write the JavaScript equivalent to this HTML?

A.

blink()

B.

sub()

C.

italics()

D.

fixed()

The specific color, width or height that belongs to a property of an object is held by what?

A.

An object

B.

A value

C.

A method

D.

A string

Which property of the form object describes the URL to which the form data is submitted?

A.

name

B.

action

C.

method

D.

target

Which one of the following choices best describes a fundamental problem with JavaScript Web sites?

A.

Webmasters sometimes include too many cookies, and this can slow all transactions on a site.

B.

Cookies can inadvertently generate false verification of user IDs, creating potential security risks for the end user.

C.

Scripts can generate security problems or infinite loops if written incorrectly.

D.

The IPv6 protocol will have a major impact on JavaScript-based Web sites.

Consider the following HTML:

<|>

Which method of the String object is used to write the JavaScript equivalent to this HTML?

A.

bold()

B.

fixed()

C.

italic()

D.

sub()

function empObject(name, age, department) {

this.name = name;

this.age = age;

this.department = department;

this.showOne = showOne;

}

The code above Defines a constructor function for a custom object named empObject. It contains three properties: name, age, and department. It contains one method: showOne

A.

TRUE

B.

FALSE

A function that defines methods and properties of a custom object used as a template for instances of the custom object is a _______________

A.

predefined object

B.

method

C.

constructor

D.

new instance

Sasha needs to display quotation marks for a greeting on the corporate Web page. She adds the quotation marks to the JavaScript as follows:

var questions = new Array(2)

questions[0] = “What is the capital of the USA?”;

questions[1] = “Who is the company “President”?”;

questions[2] = “Who is the company “Vice-President”?”;

When Sasha runs the code, however, the quotation marks do not appear around the words “President” and “Vice-President”

Which of the following choices shows how Sasha should rewrite the code to make the script execute properly?

A.

questions[1] = “Who is the company “\President” \?”;

questions[2] = “Who is the company “\Vice-President” \?”;

B.

questions[1] = “Who is the company “\President”\?”;

questions[2] = “Who is the company “\Vice-President”\?”;

C.

questions[1] = “Who is the company \ “President” \?”;

questions[2] = “Who is the company \ “Vice-President” \?”;

D.

questions[1] = “Who is the company \”President\”?”;

questions[2] = “Who is the company \”Vice-President\”?”;

When using frames, where should functions and variables be stored in a JavaScript-based Web site?

A.

Anywhere in the Web server that has an appropriate set of permissions to access and write.

B.

Anywhere in the HTML pages that not invoked in making the frameset.

C.

In any HTML file that is invoked in making the frameset.

D.

In the cgi-bin directory of the Web server.