Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

1D0-435 CIW JavaScript Fundamentals exam Questions and Answers

Questions 4

Which if any of the following enables you to access a child window from the parent window using an object reference?

Options:

A.

The opener property of the window object

B.

The open() method of the window object

C.

The parent.parent statement

D.

None. This cannot be done.

Buy Now
Questions 5

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

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 6

______________ are named spaces of memory.

Options:

A.

methods

B.

variables

C.

values

D.

objects

Buy Now
Questions 7

JavaScript is a strong object-oriented language that relies, for a large part of its functionality, on objects and their attendant methods and properties.

Options:

A.

False

B.

TRUE

Buy Now
Questions 8

What would the following JavaScript code return?

" SANDY COBB " .charAt(3);

Options:

A.

N

B.

n

C.

d

D.

D

Buy Now
Questions 9

The method toUpperCase() can also be called a function.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 10

1stName would be a valid variable name.

Options:

A.

True

B.

False

Buy Now
Questions 11

A (an) _________ is a programming function that models the characteristic of abstract or real " objects " using classes.

Options:

A.

method

B.

attribute

C.

object

D.

value

Buy Now
Questions 12

alinkColor, anchors, bgColor, cookie and fgColor are all properties of the _______________ object.

Options:

A.

document

B.

browser

C.

form field

D.

window

Buy Now
Questions 13

The continue statement is used with a __________________.

Options:

A.

for or a while loop

B.

for or a next loop

C.

for loop

D.

while statement

Buy Now
Questions 14

When the alert() method and the prompt() method are both used in the same statement, the _________ method will process first.

Options:

A.

open()

B.

prompt()

C.

alert()

D.

confirm()

Buy Now
Questions 15

x+=y is the same as x=x+y.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 16

The button object is the simplest of all objects. Its main event handler is __________.

Options:

A.

onClick

B.

onSubmit

C.

Click

D.

onReset

Buy Now
Questions 17

The Microsoft implementation of the Netscape JavaScript language is called _________________.

Options:

A.

VBScript

B.

Java

C.

ECMAScript

D.

JScript

Buy Now
Questions 18

The __________ method tests for the presence and position of a certain character.

Options:

A.

lastIndexOf()

B.

indexOf()

C.

presenceOf()

D.

length()

Buy Now
Questions 19

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

Options:

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

Buy Now
Questions 20

The main event handler associated with the radio button object is _________.

Options:

A.

onReset

B.

onClick

C.

onSubmit

D.

Click

Buy Now
Questions 21

An Instance is the term for the real-time objects that are generated from the empty constructor template?

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 22

Variables can store _______ data types in JavaScript.

Options:

A.

7

B.

5

C.

4

D.

6

Buy Now
Questions 23

Which of the following is the JavaScript ' s server-side solution that enables you to connect Web pages to databases, as well as enable server-side image maps and save client state so that the computer will remember where the client is in a multi-page preocess.

Options:

A.

ServerSide JavaScript

B.

JavaWire

C.

Java

D.

LiveWire

Buy Now
Questions 24

What is a constructor function in JavaScript?

Options:

A.

A special function that enables the recursion of functions throughout the Web site.

B.

A special function that allows the construction of objects.

C.

Any function that allows databases to be parsed without being loaded entirely into memory.

D.

Any function that allows the definition of any object as a global rather than a specific instance.

Buy Now
Questions 25

A user can never delete or disable cookies

Options:

A.

TRUE

B.

FALSE

Buy Now
Questions 26

Which JavaScript keyword targets the parent of all parent files in a frameset?

Options:

A.

parent

B.

_top

C.

top

D.

_parent

Buy Now
Questions 27

JavaScript is an event-driven programming language. Events trigger _________.

Options:

A.

functions

B.

behaviors

C.

actions

D.

methods

Buy Now
Questions 28

In JavaScript, ++x+ will add one to the value of x after the assignment is complete.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 29

A __________ is a named space of memory, like a container that holds a value.

Options:

A.

value

B.

prompt()

C.

property

D.

variable

Buy Now
Questions 30

__________ is used frequently in JavaScript to combine text strings, especially in conjunction with prompt() and alert().

Options:

A.

Concatenation

B.

String()

C.

Instaniation

D.

Confirmation

Buy Now
Questions 31

__________ and __________ are interchangeable in JavaScript.

Options:

A.

Methods and functions

B.

Ojects and functions

C.

Properties and attributes

D.

Methods and properties

Buy Now
Questions 32

_________ refers to the fact that some objects cannot be used or referenced without referring to the parent object.

Options:

A.

Containership

B.

Enveloping

C.

Parentship

D.

Hierarchy

Buy Now
Questions 33

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

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

Options:

A.

two location.href statements

B.

two parent.parent statements

C.

two references to top

D.

You cannot really do this.

Buy Now
Questions 34

JavaScript offer a predefined method for determining when you should use custom objects instead of arrays for your programs.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 35

Which of the following is the JavaScript string object special character to insert a new line?

Options:

A.

/n

B.

\n

C.

\b

D.

/b

Buy Now
Questions 36

Which property of the form object represents the identity of the form as defined in the < FORM > tag?

Options:

A.

elements

B.

method

C.

name

D.

target

Buy Now
Questions 37

Nadir wants to be able to send the user to a previous page in the history list. Nadir ' s site includes two information pages before the entrance to the site. Therefore, users who do not want to enter his Web site should go back at least three previous pages. Nadir uses the following command: history.back(3);. This command does not execute properly when Nadir tests it. How should he rewrite this line of code to ensure that this JavaScript command executes properly?

Options:

A.

history.back (3);

B.

history.back();

C.

history.go(-3);

D.

history.go();

Buy Now
Questions 38

How many cookies are permitted per domain on a user ' s hard drive?

Options:

A.

An unlimited number of cookies are permitted.

B.

The number of cookies is limited by the amount of disk space allocated in user preferences.

C.

Twenty cookies per domain are permitted.

D.

The limit varies and is determined by the system administrator at the user ' s site.

Buy Now
Questions 39

Which special character in JavaScript is interpreted as a tab?

Options:

A.

\\

B.

\t

C.

\b

D.

\f

Buy Now
Questions 40

Which property of the location object specifies the full URL of a file or site?

Options:

A.

hash

B.

pathname

C.

href

D.

protocol

Buy Now
Questions 41

Ann inadvertently deleted her cookies.txt file.

How will this affect her browsing experience?

Options:

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.

Buy Now
Questions 42

Which is the JavaScript property that is used to inform a script that an image has finished loading?

Options:

A.

final

B.

whole

C.

total

D.

complete

Buy Now
Questions 43

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

Options:

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.

Buy Now
Questions 44

What is the JavaScript term for a string value that represents the URL of the document from which the current document was accessed?

Options:

A.

Referrer

B.

Location

C.

Link

D.

Anchor

Buy Now
Questions 45

Which version of Netscape Navigator first supported JavaScript on Microsoft Windows?

Options:

A.

1.0

B.

1.1

C.

2.0

D.

3.0

Buy Now
Questions 46

Raul is creating a Web page. Without a client-server interaction, he wants to ensure that a client enters data into some specific form fields. Which language should Raul use to accomplish this task?

Options:

A.

LiveWire

B.

HTML

C.

Client-side JavaScript

D.

Server-side JavaScript

Buy Now
Questions 47

Which method of the String object would you use when writing a complex mathematical formula in JavaScript that includes powers, such as “E=MC2”?

Options:

A.

sup()

B.

anchor()

C.

small()

D.

fixed()

Buy Now
Questions 48

Which special character in JavaScript is interpreted as a backslash?

Options:

A.

\b

B.

\/

C.

\\

D.

\r

Buy Now
Questions 49

Which one of the following choices describes a type of information that a cookie can readily provide?

Options:

A.

The current licensing status of the software on the user ' s hard drive

B.

The addresses of all e-mail recipients with which the user has corresponded

C.

The current buying habits of the user

D.

A history of the sites that the user has visited

Buy Now
Questions 50

You want to embed your JavaScript into an HTML document.

Which HTML tag should you use?

Options:

A.

< COMMENT >

B.

< SCRIPT >

C.

< META >

D.

< OBJECT >

Buy Now
Questions 51

Cookies are commonly used to store information about a user to maintain state.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 52

VBScript was the first scripting language developed for Webpage design.

Options:

A.

True

B.

False

Buy Now
Questions 53

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

Options:

A.

indexOf()

B.

positionOf()

C.

lengthOf()

D.

lastIndexOf()

Buy Now
Questions 54

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

Options:

A.

method

B.

value

C.

property

D.

behavior

Buy Now
Questions 55

A button that changes its image on mouseover is an example of _______________.

Options:

A.

the mouseover object

B.

the mouseover method

C.

the mouseover property

D.

the image object

Buy Now
Questions 56

Language objects are objects that do not refer to browser related objects.

Options:

A.

TRUE

B.

FALSE

Buy Now
Questions 57

Function blocks begin with the keyword __________ followed by the function name.

Options:

A.

run

B.

SCRIPT

C.

function

D.

method

Buy Now
Questions 58

Which of the following is the proper file extension for an external script file.

Options:

A.

.js

B.

.html

C.

.src

D.

.jvs

Buy Now
Questions 59

The following are both advantages of creating user defined objects in JavaScript:

1. You can create sophisticated solutions with a minimum of coding.

2. You can represent programming constructs as objects (which allows you to code efficient schemes for evaluating forms or creating client-side databases).

Options:

A.

TRUE

B.

FALSE

Buy Now
Questions 60

Which property of the location object refers to the hostname:port solution of the URL?

Options:

A.

host

B.

pathname

C.

hash

D.

protocol

Buy Now
Questions 61

Methods operate on _________ instances of objects.

Options:

A.

two

B.

three

C.

multiple

D.

single

Buy Now
Questions 62

Which of the following, if any, shows the appropriate syntax for accessing a function stored in a frame file?

Options:

A.

relationship.frameName.functionName();

B.

relationship.frameName.objectName;

C.

frameName.functionName();

D.

None. This cannot be done.

Buy Now
Questions 63

VBScript and _____________ are scripting languages that are similar in purpose. Both extend the capabilities of static Web pages.

Options:

A.

C++

B.

Visual Basic

C.

JavaScript

D.

Java

Buy Now
Questions 64

Raul wants to display the current data and time in the Web page he just created.

Which JavaScript object can he use to access this information and display it on a Web page?

Options:

A.

Realtime

B.

Clock

C.

Time

D.

Date

Buy Now
Questions 65

Consider the following HTML:

< TT > < /TT >

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

Options:

A.

blink()

B.

sub()

C.

italics()

D.

fixed()

Buy Now
Questions 66

The window object is subordinate to the document object in the JavaScript hierarchy.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 67

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

Options:

A.

predefined object

B.

method

C.

constructor

D.

new instance

Buy Now
Questions 68

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

Buy Now
Questions 69

Jennie wants to retrieve the MIME information about her Web form.

Which property of the form object retrieves this information?

Options:

A.

method

B.

name

C.

action

D.

encoding

Buy Now
Questions 70

What is the maximum size for any given cookie header?

Options:

A.

The maximum size for the cookie header is 4 kilobytes.

B.

The maximum size for the cookie header is 15 kilobytes.

C.

There is no maximum size for the cookie header.

D.

There is no maximum size for the cookie header, but the entire cookie cannot exceed 20 kilobytes.

Buy Now
Questions 71

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.

< comment >

C.

/”…”/

D.

< !--

Buy Now
Questions 72

JavaScript is a strong object-based language.

Options:

A.

False

B.

TRUE

Buy Now
Questions 73

JavaScript is an event-driven programming language. Events trigger _________.

Options:

A.

functions

B.

behaviors

C.

methods

D.

actions

Buy Now
Exam Code: 1D0-435
Exam Name: CIW JavaScript Fundamentals exam
Last Update: Apr 30, 2026
Questions: 244

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now 1D0-435 testing engine

PDF (Q&A)

$43.57  $124.49
buy now 1D0-435 pdf