New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium CIW 1D0-435 Dumps Questions Answers

Page: 1 / 9
Total 244 questions

CIW JavaScript Fundamentals exam Questions and Answers

Question 1

Which property of the document object represents the color in which text is to be displayed?

Options:

A.

txColor

B.

bgColor

C.

fgColor

D.

txtColor

Buy Now
Question 2

JavaScript is case sensitive, and the keyword "function" must be all lowercase.

Options:

A.

FALSE

B.

TRUE

Question 3

You must declare variables that will become object references to a newly instantiated objects to _____________________

Options:

A.

populate the properties of each new instance

B.

instantiate and then populate the properties of each new instance with actual data.

C.

instantiate and then call the properties of each new instance with actual data.

D.

instantiate the object.

Question 4

The first character of a variable must be a letter or an underscore, but subsequent characters can be letters, numbers, and the underscore character.

Options:

A.

FALSE

B.

TRUE

Question 5

Tanja wants to target the “parent” frame of all frames in her Web site. In HTML, this parent frame is called “_top”.

What is this parent called if Tanja decided to use JavaScript in her Web page?

Options:

A.

The parent of all Web pages is called index.html.

B.

The parent is called “top” in JavaScript.

C.

The word “parent” is a slang reference to main.html and cannot be targeted.

D.

It depends on how the pages are identified; the “parent” page will be referred to as such in Tanja’s schema.

Question 6

Wilhelm is creating a Web page using JavaScript. He wants to set a cookie with each site visitor so that his Web server can recognize visitors on subsequent visits for one month.

Which one of the following choices contains the elements required in this cookie?

Options:

A.

CGI script that requires the visitor to provide name and address.

B.

The name=value and user=ID fields.

C.

The name=value and expires=date fields.

D.

The “secure” keyword and all the key=value pairs.

Question 7

Which information is required to generate a cookie?

Options:

A.

The HTTP address, name server, and username validation are required.

B.

The validated return address of the user is the only required information.

C.

The name=value pair is the only required information.

D.

The path=domain is the only required information.

Question 8

You want to comment out a single line of JavaScript in a function.

Which of the following should you use in your code?

Options:

A.

//

B.

C.

/”…”/

D.