CIW 1D0-635 - CIW JavaScript Specialist Exam

Question #11 (Topic: )
Consider the following code:
[CIW-1D0-635-6.0/CIW-1D0-635-6_3.png]
Will this function generate an error?
A. No, because the code is well-formed B. Yes, because the alert syntax is incorrect C. Yes, because there are no valid variables returned D. Yes, because the passed arguments have not been defined before the function call
Answer: D
Question #12 (Topic: )
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
Question #13 (Topic: )
Which statement will open this Web document in a new browser window?
A. document.open(http://www.CIWcertified.com); B. window.open(http://www.CIWcertified.com); C. window.open("http://www.CIWcertified.com"); D. document.open("http://www.CIWcertified.com");
Answer: C
Question #14 (Topic: )
How is the alert() method different from prompt() and confirm()?
A. The alert() method generates a modal dialog box, which requires user action before the next JavaScript instruction can be executed,whereas prompt() and confirm() do not. B. The alert() method requires only one parameter, whereas prompt() and confirm() require two parameters. C. The alert() method requires two parameters, whereas prompt() and confirm() require only one parameter. D. The prompt() and confirm() methods return a value, whereas alert() does not.
Answer: D
Question #15 (Topic: )
Consider the following code:
[CIW-1D0-635-6.0/CIW-1D0-635-8_2.png]
A. Replaces the text CIW with the text http://www.CIWcertified.com B. Replaces the text CIW with a link that reads myLink and points to the URL www.CIWcertified.com C. Converts the text CIW into a link that reads CIW and points to the URL www.CIWcertified.com D. Returns true if the content of the <span> is a link to www.CIWcertified.com, or returns false if the content of the <span> is not a link to www.CIWcertified.com
Answer: C
Download Exam
Page: 3 / 11
Total 55 questions