Black Friday Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

1D0-435 Questions and Answers

Question # 6

For a comment that extends beyond the current line, enclose the area that will not execute with ____________________________-

A.

*/comment/*

B.

/*comment*/

C.

*/comment*/

D.

/*comment/*

Full Access
Question # 7

Which form element would you use to create a scriptable button other than a reset or submit button?

A.

reset

B.

frm.Button

C.

button

D.

form.button

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

Sven wants to open a new window with JavaScript, be he repeatedly receives an error message. He reviews his code, as shown:

open (“http://www.prolific.com”, “Pro Window” , “toolbar = 1 ,location = 1 ,menubar = 1 ,

scrollbars = 1 ,status = 1 ,resizable = 1”);

Which one of the following choices shows how Sven should rewrite this line of code so that no errors result when it is executed?

A.

open(“http://www.prolific.com”.”Pro Windows”.”toolbar=!

,location=1,menubar=1,scrollbars=1,status=1,resizable=1 “);

B.

open(“http://www.prolific.com”,”Pro Window “,”toolbar = 1,location =1,menubar = 1 ,scrollbars =

1,status = 1 ,resizable = 1”);

C.

open(“http://www.prolific.com”.”ProWindow

“,”toolbar=1,location=1,menubars=1,scrollbars=1,status=1,resizable=1 “);

D.

open (“http://www.prolific.com”, “ProWindows”,”toolbar = 1,location = 1,menubar = 1,scrollbars =

1,status = 1,resizable = 1 “);

Full Access
Question # 10

__________ are used in expressions to store or return a value.

A.

variables

B.

assignments

C.

operators

D.

methods

Full Access
Question # 11

The _____________ pair contains the domain name of the URL that issued the cookie.

A.

URL=URL

B.

domain=domain

C.

path=path

D.

document=document

Full Access
Question # 12

You can only create 5 methods for an object?

A.

FALSE

B.

TRUE

Full Access
Question # 13

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

Which language can create stand-alone applications or mini-applications called applets?

A.

C++

B.

C

C.

JavaScript

D.

Java

Full Access
Question # 15

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

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

JavaScript is most similar to which of the following languages?

A.

ECMAScript

B.

VBScript

C.

NetScript

D.

MicroScript

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

Which property of the location object specifies the internal link anchor name, which is followed by the number sign (#) in the URL?

A.

hash

B.

href

C.

host

D.

pathname

Full Access
Question # 20

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

Although not mandatory, it is advisable to define all your functions in the HEAD element of your HTML document.

A.

TRUE

B.

FALSE

Full Access
Question # 22

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

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

1stName would be a valid variable name.

A.

True

B.

False

Full Access
Question # 25

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

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

Language objects are named with a capital letter. Since JavaScript is case sensitive, using lower case to refer to one of these objects will cause an error.

A.

TRUE

B.

FALSE

Full Access
Question # 28

To instantiate and then populate the properties of each new instance with actual data, you must _________ _________.

A.

declare functions

B.

declare variables

C.

create values

D.

call the function

Full Access
Question # 29

________________ developed JavaScript.

A.

Netscape

B.

IBM

C.

W3C

D.

Microsoft

Full Access
Question # 30

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

A.

TRUE

B.

FALSE

Full Access
Question # 31

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

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

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

A.

functions

B.

behaviors

C.

actions

D.

methods

Full Access
Question # 34

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

__________ 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 # 36

The ____________ contains path information for the URL that issued the cookie.

A.

path=path pair

B.

domain=domain pair

C.

name=value pair

D.

url=url pair

Full Access