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

Home > CIW > Master CIW Enterprise Developer > 1D0-435

1D0-435 CIW JavaScript Fundamentals exam Question and Answers

Question # 4

The location object is subordinate to the ___________ object in the JavaScript hierarchy.

A.

form field

B.

window

C.

browser

D.

document

Full Access
Question # 5

Placing / in front of a line of text, within the Script tags will result in ______________

A.

everything to the end of the line being ignored.

B.

The command that follows being carried out

C.

Everything that follows being ignored

D.

Nothing, as this is not valid

Full Access
Question # 6

The variable name "firstname" is the same as variable name "FirstName".

A.

TRUE

B.

FALSE

Full Access
Question # 7

With JavaScript, it is possible to change two frames simultaneously.

To do this, you must write a function that includes _________________

A.

two location.href statements

B.

two parent.parent statements

C.

two references to top

D.

You cannot really do this.

Full Access
Question # 8

A ____________ is an input object in the shape of a small square that can be selected, or checked on or off.

A.

input box

B.

checkbox

C.

select

D.

radio button

Full Access
Question # 9

JavaScript used two types of comment indicators. The _______ indicator delineates a comment on a single line of script. The _____ indicator is used for multiple line comments.

A.

//, /*.....*/

B.

//,*/...*/

C.

//, /.../

D.

/*.....*/, //

Full Access
Question # 10

JavaScript is not platform independent.

A.

False

B.

True

Full Access
Question # 11

|| is a comparison opertator. x||y returns true if both x and y are true.

A.

FALSE

B.

TRUE

Full Access
Question # 12

JavaScript will support direct database access even if LiveWire is not installed on the server.

A.

FALSE

B.

TRUE

Full Access
Question # 13

JavaScript contains both Keywords that you must use to achieve specific results and Reserved words that you are not permitted to use for variable or function names.

A.

TRUE

B.

FALSE

Full Access
Question # 14

The key difference between the While Statement and the Do While Statement is ____________

A.

The Do While Statement does not check the condition until it has iterated the loop at the first time. The While Statement will check the condition before beginning the first loop.

B.

None. There is no Do While loop in JavaScript.

C.

The While Statement does not check the condition until it has iterated the loop at the first time. The Do While Statement will check the condition before beginning the first loop.

D.

The Do While Statement will check the condition before it loops the first time. The Do While Statement will never check the condition.

Full Access
Question # 15

In JavaScript, the operator =, is an assignment operator. It will __________________

A.

add the value of the left operand to the right operand

B.

add together the operands.

C.

assign the value of the left operand to the right operand.

D.

assign the value of the right operand to the left operand.

Full Access
Question # 16

Can a programmer refer to a variable from anywhere in a frameset?

A.

No – the protocol does not allow this.

B.

Yes – if the Webmaster refers to the variable using the proper syntax.

C.

Yes – if the variable is coded to account for differences in Netscape and Microsoft browsers.

D.

Yes – but this is not advisable because you cannot refer more than three variables.

Full Access
Question # 17

Can the practice of calling JavaScript functions from framesets be extended to calling them from different browser windows?

A.

Yes – but only if the Webmaster creates a hard link to the new window.

B.

No – the method used to refer one window to another is always coded in the frameset.

C.

No – JavaScript cannot perform this task; it is handled in the index.txt file.

D.

Yes – the syntax is slightly different, but the concept is basically the same.

Full Access
Question # 18

Ann inadvertently deleted her cookies.txt file.

How will this affect her browsing experience?

A.

She must re-enter her personal information wherever she has user accounts that rely on cookies.

B.

She will enjoy a quicker browsing experience because the servers she visits need not confirm her user identity.

C.

It depends on the type of cookies.txt file that was generated within her browser user profile; if the cache files and cookies.txt were deleted, all links will appear unvisited.

D.

Her Web browser will no longer function because the cookies.txt file is necessary for browser operation.

Full Access
Question # 19

In JavaScript, objects possess which of the following?

A.

Attributes and styles

B.

Properties and methods

C.

Behaviors and styles

D.

Attributes and strings

Full Access
Question # 20

Consider the various JavaScript methods, such as alert(), prompt(), and confirm(). These methods are methods of which object?

A.

Variable object

B.

Event object

C.

Window object

D.

Condition object

Full Access
Question # 21

You want to embed your JavaScript into an HTML document.

Which HTML tag should you use?

A.

B.