Pass the CIW Master CIW Enterprise Developer 1D0-435 Questions and answers with CertsForce

Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions
Questions # 11:

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

Options:

A.

indexOf()


B.

positionOf()


C.

lengthOf()


D.

lastIndexOf()


Expert Solution
Questions # 12:

__________ and __________ are interchangeable in JavaScript.

Options:

A.

Methods and functions


B.

Ojects and functions


C.

Properties and attributes


D.

Methods and properties


Expert Solution
Questions # 13:

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?

Options:

A.

5, 10


B.

4, 9


C.

4, 5


D.

5, 5


Expert Solution
Questions # 14:

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

Options:

A.

the command that follows being carried out


B.

everything that follows being ignored


C.

nothing, as this is not valid


D.

everything to the end of the line being ignored.


Expert Solution
Questions # 15:

There are __________ ways to refer to form objects.

Options:

A.

4


B.

5


C.

3


D.

2


Expert Solution
Questions # 16:

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


Expert Solution
Questions # 17:

In which part of the HTTP communication protocol does the cookie initially begin to function?

Options:

A.

In the initial query, to identify the user to the server.


B.

In the HTTP response header.


C.

In the parsing of the server’s user database.


D.

After the server confirms the browser’s ability to recognize cookies.


Expert Solution
Questions # 18:

Which method of the String object would you use when writing the name of a chemical compound, such as “H20”?

Options:

A.

sup()


B.

sub()


C.

small()


D.

anchor()


Expert Solution
Questions # 19:

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?

Options:

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“;” >


Expert Solution
Questions # 20:

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?

Options:

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 “);


Expert Solution
Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions