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

1D0-435 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

1D0-435 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: CIW JavaScript Fundamentals exam
  • Last Update: Jun 15, 2024
  • Questions and Answers: 244
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

1D0-435 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

1D0-435 Practice Exam Questions with Answers CIW JavaScript Fundamentals exam Certification

Question # 6

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

A.

/n

B.

\n

C.

\b

D.

/b

Full Access
Question # 7

All browsers store cookies exactly the same way, in the same directory.

A.

TRUE

B.

FALSE

Full Access
Question # 8

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

A.

lastIndexOf()

B.

indexOf()

C.

presenceOf()

D.

length()

Full Access
Question # 9

In JavaScript terms, a sentence on a page is an example of ____________

A.

an object

B.

a property

C.

a method

D.

a value

Full Access
Question # 10

Assuming Z= 3 and y= 2, what would be the result of : Z+=Y

A.

The value of Y is now 5

B.

The value of Y is now 3

C.

The value of Z is now 5

D.

The value of Z is now 2

E.

5

Full Access
Question # 11

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

A.

Containership

B.

Enveloping

C.

Parentship

D.

Hierarchy

Full Access
Question # 12

The name=value pair is the only information required to generate a cookie. All other parameters are optional.

A.

FALSE

B.

TRUE

Full Access
Question # 13

JavaScript was the first scripting language developed for Webpage design.

A.

True

B.

False

Full Access
Question # 14

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

A.

onClick

B.

onSubmit

C.

Click

D.

onReset

Full Access
Question # 15

Once the constructor is defined, you need to create new instances of the object. This process is called instantiation.

A.

FALSE

B.

TRUE

Full Access
Question # 16

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

A.

document

B.

browser

C.

form field

D.

window

Full Access
Question # 17

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

A.

method

B.

attribute

C.

object

D.

value

Full Access
Question # 18

Frames are arranged in a parent child hierarchy. With this in mind, in JavaScript, which keyword targets the parent of all parents in a frameset?

A.

top

B.

_parent

C.

parent

D.

_top

Full Access
Question # 19

The continue statement can only be used within a __________________.

A.

for or a while loop

B.

for loop

C.

for or a next loop

D.

while statement

Full Access
Question # 20

A (an) __________ is a value or expression containing data or code that is passed on to a function or procedure.

A.

method

B.

object

C.

argument

D.

statement

Full Access
Question # 21

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 # 22

Which language is considered to be object-oriented?

A.

JavaScript

B.

Java

C.

VBScript

D.

LiveScript

Full Access
Question # 23

Which one of the following choices best describes how cookies are stored on a user’s hard drive?

A.

On UNIX machines, cookies are stored as .bin files in the user’s home directory.

B.

Cookies are stored in files that are linked to each site visited.

C.

Depending on the browser type, cookies are stored as text strings in directories.

D.

Cookies are stored in the directory where the browser executables are stored, and are compressed to save space.

Full Access
Question # 24

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 # 25

Which property of the navigator object identifies the operating system for which the browser was compiled?

A.

platform

B.

userAgent

C.

appVersion

D.

appCodeName

Full Access
Question # 26

Consider the following JavaScript code:

“parent.twoframes.frames[1].location.href = “new.htm”

Where does this code place the file new.htm in a three-frame browser window?

A.

On the left side, running down the entire page.

B.

In the second frame, defined in the twoframes frameset.

C.

In the lower-right frame of the three-frame page.

D.

The two right frames are replaced with one page.

Full Access
Question # 27

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

A.

FALSE

B.

TRUE

Full Access
Question # 28

When you want to evaluate multiple objects in an array, you need a __________ instead of a ___________.

A.

literal, variable

B.

method, function

C.

variable, literal

D.

function, method

Full Access
Question # 29

What would the following code return?

"This is a test".indexOf("h",0);

A.

3

B.

14

C.

2

D.

1

Full Access
Question # 30

You can only create 5 methods for an object?

A.

FALSE

B.

TRUE

Full Access
Question # 31

Mark must determine the number of elements in his user-input form.

Which property of the form object will return this number?

A.

length

B.

encoding

C.

target

D.

elements

Full Access
Question # 32

Which one of the following is an action that can be performed by an object?

A.

Property

B.

Value

C.

Method

D.

String

Full Access
Question # 33

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

A.

FALSE

B.

TRUE

Full Access
Question # 34

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

A.

TRUE

B.

FALSE

Full Access
Question # 35

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

A.

C++

B.

Visual Basic

C.

JavaScript

D.

Java

Full Access
Question # 36

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?

A.

Realtime

B.

Clock

C.

Time

D.

Date

Full Access
Question # 37

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

Full Access
Question # 38

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?

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.

Full Access
Question # 39

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

A.

host

B.

pathname

C.

hash

D.

protocol

Full Access
Question # 40

An __________ is a part of a statement that is evaluated as a value.

A.

exception

B.

assignment

C.

expression

D.

operator

Full Access
Question # 41

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

Full Access
Question # 42

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.

Full Access
Question # 43

Ling wants to add a button to her Web page that will transport the user to another Web page. She does not to use a hyperlink, so she includes the following JavaScript:

onClick = “href(http://219.155.184.2);” >

The code does not function as Ling intended.

Which of the following choices shows how she should rewrite the script to make it function correctly?

A.

onClick=”location.href=”http://219.155.184.2’:” >

B.

onClick=”href = ‘http://219.155.184.2’: “ >

C.

Click=”href=”http://219.155.184.2’:” >

D.

onClick=”location.href=”http://219.155.184.2“;” >

Full Access
Question # 44

Methods operate on _________ instances of objects.

A.

two

B.

three

C.

multiple

D.

single

Full Access
Question # 45

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

A.

FALSE

B.

TRUE

Full Access
Question # 46

The JavaScript object model divides objects into 3 groups. They are:

A.

Browser, window and form objects.

B.

Browser, language and form field objects.

C.

Browser, window and document objects.

D.

Window, document and form objects.

Full Access
Question # 47

Consider the following code:

<script>

var x = 0;

for (i=0; i<5; i++) {

x += i;

}

alert("1+2+3+4 = " +x);

</script>

How many times will the program loop, and what will be the final value of x?

A.

5, 10

B.

4, 9

C.

4, 5

D.

5, 5

Full Access
Question # 48

________________ developed JavaScript.

A.

Netscape

B.

IBM

C.

W3C

D.

Microsoft

Full Access
Question # 49

What willthe following JavaScript code do when it runs?

<SCRIPT Language="JavaScript">

<!--

var d=new Date;

var h=d.getHours();

var msg="";

var targ;

if(h<12)

msg="<h1>Good Morning!</h1>";

else if(h>=12 && h<18)

msg="<h1>Good Afternoon!</h1>";

else

msg="<h1>Good Evening!<h1>";

document.write(msg);

/-->

</SCRIPT>

A.

It will write "Good Afternoon!'

B.

If it is before noon, it will write "Good Morining!", if after noon but before 6 pm, "Good Afternoon!" if after 6 pm, "Good Evening!"

C.

It will write "Good Evening!"

D.

It will write "Good Morning!'

Full Access
Question # 50

In JavaScript, which of the following will clear a cookie?

A.

You cannot ever clear a cookie

B.

Type "Clear Cookie"

C.

Adding an expiration date that has already passed.

D.

rename the cookie "clear.cookie"

Full Access
Question # 51

Once the constructor is defined, you need to create new instances of the object. This process is called ___________.

A.

constructing

B.

populating

C.

instantiation

D.

calling

Full Access
Question # 52

___________ is JavaScript's server-side solution. It 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.

A.

ServerSide JavaScript

B.

JavaWire

C.

LiveWire

D.

Java

Full Access
Question # 53

document.cookie = "name = value"; or document.cookie = "name = value;expi

es = date"; are both proper syntax for assigning cookies in JavaScript.

A.

TRUE

B.

FALSE

Full Access
Question # 54

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

A.

TRUE

B.

FALSE

Full Access
Question # 55

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 # 56

The first character of a variable cannot be a number.

A.

TRUE

B.

FALSE

Full Access
Question # 57

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

A.

method

B.

value

C.

property

D.

behavior

Full Access
Question # 58

_______ are the actions that the object property can be made to perform, such as a calculation, an onscreen move, or the writing of text in a window.

A.

Behaviors

B.

Values

C.

Methods

D.

Properties

Full Access
Question # 59

An ObjectBuilder defines the properties and methods of a custom object.

A.

TRUE

B.

FALSE

Full Access
Question # 60

A server named www.thisserver.com can set a cookie for the domain www.thatserver.com.

A.

FALSE

B.

TRUE

Full Access
Question # 61

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

A.

FALSE

B.

TRUE

Full Access
Question # 62

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 # 63

Which of the following are all the types of expressions allowed in JavaScript?

A.

Assignment, arithmetic, string and logical

B.

Assignment, arithmetic, string and boolean

C.

Assignment, arithmetic, string, logical, comparison, and boolean

D.

Assignment, arithmetic, string, logical and boolean

Full Access
Question # 64

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

A.

run

B.

SCRIPT

C.

function

D.

method

Full Access
Question # 65

What will the following JavaScript code do when it runs?

var content="";

content += "<HTML><HEAD><BASE TARGET='_blank'></HEAD>";

content += "<BODY BGCOLOR='#CC9966' TEXT='#330000'>";

content += "Related Sites".big().fontcolor("blue") + "<P>\n";

content += "These sites are of interest to ";

content += "Afrikunda".italics();

content += " patrons.<P>\n";

A.

open a new window with new content

B.

create content on the fly

C.

nothing, it is invalid

D.

overwrite each line with the previous line

Full Access
Question # 66

What should you use to evaluate multiple custom objects?

A.

A statement

B.

A variable

C.

A function

D.

A method

Full Access
Question # 67

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

A.

Java

B.

C++

C.

VBScript

D.

Visual Basic

Full Access
Question # 68

_______ represent various attributes of an object, such as height, color, font size, sentence length, and so forth.

A.

Values

B.

behaviors

C.

Methods

D.

Properties

Full Access
Question # 69

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

A.

functions

B.

behaviors

C.

actions

D.

methods

Full Access
Question # 70

Which is the best definition of a JavaScript instance?

A.

A time-limited set of values taken from a database

B.

An example of a field in a database

C.

An example of an object

D.

A static representation of real-time data

Full Access
Question # 71

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 # 72

Which property of the form object represents the identity of the form as defined in the

tag?

A.

elements

B.

method

C.

name

D.

target

Full Access
Question # 73

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

A.

hash

B.

pathname

C.

href

D.

protocol

Full Access