Pass4itsure > CIW > CIW Certified Instructor > 1D0-635 > 1D0-635 Online Practice Questions and Answers

1D0-635 Online Practice Questions and Answers

Questions 4

When using AJAX, what is the purpose of the XMLHttpRequest object?

A. To transfer an XML document to the Web server

B. To request data from the Web server strictly in XML format

C. To read and write to an XML file stored on the local machine

D. To request either XML data or plaintext data from the Web server

Buy Now
Questions 5

Consider only the following code:

Which of the following would properly supply the sum of the two numbers?

A. return sum;

B. mySum (num1+num2);

C. return num1+num2;

D. return sum(num1+num2);

Buy Now
Questions 6

Which statement about the JavaScript form object is true?

A. The JavaScript form object has no relationship to the X/HTML

element.

B. You can use a single instance of the form object to represent multiple forms on a Web page.

C. The form object cannot be used to access the individual field elements that compose the form.

D. The JavaScript form object is available when the X/HTML

tags are present in the X/ HTML document.

Buy Now
Questions 7

Consider the following code:

What is the expected result of this script?

A. When you leave the page, the alert box will display.

B. The page will ignore the function, so a blank page will display on entry and exit.

C. When you enter the page, you will be warned that there is unfinished JavaScript to run.

D. When you leave the page, there will be a JavaScript error because you cannot unload an alert box.

Buy Now
Questions 8

Consider the following message displayed in a pop-up window: Welcome to the CIW Web site! Which line of code will deliver the pop-up window that displays this message?

A. CIW Web site

B. CIW Web site

C.

D.

Buy Now
Questions 9

Consider the following code:

What will this alert display?

A. It is currently dark in the room

B. It is currently bright in the room

C. It is currently in the room

D. It is currently bright : dark in the room

Buy Now
Questions 10

Suppose you define two variables as follows:

var x = 5;

var y = "5";

Which statement will return the mathematical sum of these variables?

A. alert(x + int(y));

B. alert(x + parseInt(y));

C. alert(x + y);

D. alert((int)x + (int)y);

Buy Now
Questions 11

What is the purpose of the prototype property in JavaScript?

A. It is used to add properties or methods to a JavaScript object.

B. It returns a list of properties and methods of a JavaScript object.

C. It enables developers to create JavaScript code from a specially formatted prototype flowchart document.

D. It is used to create usage examples of custom objects because its output is not evaluated by the JavaScript interpreter.

Buy Now
Questions 12

Maria, a 22-year old student, is testing her JavaScript application, which includes the following code: Assuming Maria enters truthful information, what is the value of z after executing this code?

A. No value ?error in line 1 due to missing var keyword for userAge.

B. No value ?error in line 1 due to multiple declarations in one line.

C. Maria "is" 22 "years old"

D. Maria is 22 years old

Buy Now
Questions 13

You are developing a Web page for your company's site, and you plan to use a library plug-in from the jQuery library. Which choice describes the proper steps for using the plug-in?

A. After locating the plug-in that you want to use, you then copy the code from the jQuery site and paste it into your CSS file using the