1D0-635 Premium Bundle

1D0-635 Premium Bundle

CIW JavaScript Specialist Certification Exam

4.5 
(39915 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

CIW 1D0-635 Free Practice Questions

P.S. Free 1D0-635 Q&A are available on Google Drive, GET MORE: https://drive.google.com/open?id=18YsGdtS0eFL70xn9nyOH-pCcGbleU0PE


New CIW 1D0-635 Exam Dumps Collection (Question 3 - Question 12)

Question No: 3

What basic code is needed to define a function in JavaScript?

A. function myFunction { }

B. define myFunction() { }

C. function myFunction() { }

D. define myFunction { return value; }

Answer: C


Question No: 4

Consider the following declaration of a custom object:

What needs to be changed to allow this script to run without error?

A. You must remove the car_ prefix on the parameters.

B. You must change the declaration syntax to object carObj.

C. You must add the this keyword to the variables on the left side of the assignments.

D. You must add the keyword var to each line inside the function.

Answer: C


Question No: 5

Consider the following code:

What is the expected result when you run this script in the browser?

A. A window alert box will display Hello.

B. A window alert box will display Goodbye.

C. No window alert box will appear because there is an error in the code.

D. A window alert box will display Hello then a second alert box will display Goodbye.

Answer: C


Question No: 6

Consider the following code using a checkbox object:

Which checkbox property was used by JavaScript?

A. checked

B. onclick()

C. checkThis

D. z-index

Answer: A


Question No: 7

Which choice best defines events and event handlers?

A. An event can be an action initiated by the user, and an event handler specifies how JavaScript will react to the action.

B. An event is an action initiated by the operating system, and an event handler is a function defined by the user.

C. An event handler can be an action initiated by the user, and an event specifies how JavaScript will react to the action.

D. An event is initiated by an error in JavaScript, and an event handler will attempt to bypass the error and continue.

Answer: A


Question No: 8

Which is the best technique to test a script for cross-browser compatibility?

A. Use the W3C site's code validator to test the script.

B. Test the script in various versions of the same browser.

C. Test the script in various browsers, including various versions of the same browsers.

D. Determine the most frequently used browser for your target audience and then test the script in that browser.

Answer: C


Question No: 9

Which of the following is a practice associated with the security risk known as cross-site scripting (XSS)?

A. Inserting JavaScript code in a URL query string to perform an unintended or malicious action

B. Using a look-alike site to impersonate a trusted site so the user will enter sensitive information

C. Using a certificate authority validation to persuade users to accept a specialized script that can override certain security restrictions in thebrowser

D. Launching a JavaScript statement that has no conditions for ending, thus requiring the user to close the browser in order to end the script

Answer: A


Question No: 10

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

Answer: D


Question No: 11

Consider the following code:

What is the expected output when you run this script in a browser?

A. A button labeled Click Me will appear, with an input box that displays the following default text: Old Value. Upon clicking the button, the textin the text box will change to New Value. Upon clicking the button again, the text in the text box will change back to Old Value.

B. A button labeled Click Me will appear, with an input box that displays the following default text: Old Value. Upon clicking the button, the text inthe text box will change to New Value. Upon clicking the button again, the text in the text box will change to Old Value, New Value.

C. A button labeled Click Me will appear, with an input box that displays the following default text: Old Value. Upon clicking the button, the text inthe text box will change to New Value. Upon clicking the button again, you will see nothing change.

D. This script will not run. You will get an error because the value="Old Value" statement in the <input> tag contains the reserved wordValue within the quotes.

Answer: C


Question No: 12

Which of the following is a browser security issue that JavaScript developers should remember when developing a script?

A. JavaScript cannot be disabled in the client and will always run.

B. JavaScript functionality is immune to viruses, trojans and malware.

C. JavaScript is a cross-platform scripting language and will generate consistent results regardless of the client or server being used.

D. Certain JavaScript functionality may be blocked by some browsers, which prevents the script from running as expected for all users.

Answer: D


P.S. Easily pass 1D0-635 Exam with Allfreedumps Free Dumps & pdf vce, Try Free: https://www.allfreedumps.com/1D0-635-dumps.html ( New Questions)


START 1D0-635 EXAM