New Year Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

CIW 1D0-435 - CIW JavaScript Fundamentals exam

Page: 2 / 8
Total 244 questions

x!=y will return true if x and y are not equal.

A.

TRUE

B.

FALSE

The ____________ method counts from the ending position of the string.

A.

indexOf()

B.

positionOf()

C.

lengthOf()

D.

lastIndexOf()

What is the following?

Set-Cookie: name=Value: expires=date; path=path; domain=domain; secure

A.

A cookie header

B.

A name value pair

C.

A set cookie object

D.

A cookie setter

A _______ is the specific color, width or height that belongs to the property of an object.

A.

method

B.

value

C.

property

D.

behavior

__________ and __________ are interchangeable in JavaScript.

A.

Methods and functions

B.

Ojects and functions

C.

Properties and attributes

D.

Methods and properties

Ling wants to clear some of the cookies that her Web server has given to her visitors.

What is the best way for her to accomplish this task?

A.

Change the date field to a date in the past.

B.

Create a new cookie that includes the value=delete field with the name=value field.

C.

Suspend the use of cookies for a short time so all the cookies on her visitors’ machines are not refreshed.

D.

Create new cookies that contain the name=/dev/null value pair.

Which one of the following best describes JavaScript?

A.

Interpreted at run time, and complied

B.

Interpreted at run time, and not compiled

C.

Not interpreted at run time, and compiled on the server

D.

Not interpreted at run time, and not compiled

Which JavaScript object should be used to create buttons that animate whenever the mouse pointer passes over them?

A.

Button

B.

File

C.

Image

D.

Frame

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()

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

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.