Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

1D0-435 Exam Dumps - CIW JavaScript Fundamentals exam

Question # 4

Which information is required to generate a cookie?

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.

Full Access
Question # 5

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

What would the following JavaScript code return?

"SANDY COBB".charAt(3);

A.

N

B.

n

C.

d

D.

D

Full Access
Question # 7

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

The __________ object is used to reflect information about the browser being used. This object can determine the brand and version of the browser in use, as well as the user's operating system.

A.

navigator

B.

userAgent

C.

useNav

D.

version

Full Access
Question # 9

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

A.

TRUE

B.

FALSE

Full Access
Question # 10

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

Which language is considered to be object-oriented?

A.

JavaScript

B.

Java

C.

VBScript

D.

LiveScript

Full Access
Question # 12

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?

A.

LiveWire

B.

HTML

C.

Client-side JavaScript

D.

Server-side JavaScript

Full Access
Question # 13

What is the primary difference between methods and functions when working with custom JavaScript objects?

A.

There is no difference between methods and functions in JavaScript.

B.

Methods work with single instances of objects, whereas functions can work on all instances of an object.

C.

Functions are declared in the constructor, whereas methods are never declared in the constructor.

D.

Methods are single entities, whereas functions can have more than one method.

Full Access
Question # 14

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

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.

Full Access
Question # 15

Which of the following is the term for a single line of JavaScript code that is executed in a script or program?

A.

Statement

B.

String

C.

Sentence

D.

Comment

Full Access
Question # 16

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

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

Full Access
Question # 17

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

A.

FALSE

B.

TRUE

Full Access
Question # 18

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

What does the following JavaScript code do"

"Hello, World!".length;

A.

Test the width of a literal string.

B.

Writes Hello, World to the screen.

C.

Test the length of a literal string.

D.

nothing

Full Access
Question # 20

___________ 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 # 21

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

A.

Concatenation

B.

String()

C.

Instaniation

D.

Confirmation

Full Access
Question # 22

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

A.

functions

B.

behaviors

C.

actions

D.

methods

Full Access
Question # 23

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

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

Full Access
Question # 25

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

In JavaScript, in order to target a frame, you need to know

A.

the frame's name.

B.

a frame's number in the frames array

C.

the URL of the frame.

D.

a frame's number in the frames array, or the frame's name.

Full Access
Question # 27

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

Which of the following would be the correct JavaScript way to make a text string appear in bold print?

A.

"Hello!"

B.

"Hello!.bold()";

C.

"Hello!".bold();

D.

"Hello!"

Full Access
Question # 29

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

A.

TRUE

B.

FALSE

Full Access
Question # 30

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

A.

open()

B.

prompt()

C.

alert()

D.

confirm()

Full Access
Question # 31

Variables can store _______ data types in JavaScript.

A.

7

B.

5

C.

4

D.

6

Full Access
Question # 32

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

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

A.

VBScript

B.

Java

C.

ECMAScript

D.

JScript

Full Access
Question # 34

You can only create 5 methods for an object?

A.

FALSE

B.

TRUE

Full Access
Question # 35

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

A.

TRUE

B.

FALSE

Full Access
Question # 36

In JavaScript, there are __________ types of expressions.

A.

6

B.

7

C.

4

D.

5

Full Access