Exam 10: CIW JavaScript Specialist

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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?

Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
Verified

B

Consider the following code: Consider the following code:   What is the expected result when you run this script in the browser? What is the expected result when you run this script in the browser?

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

A

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

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

D

Consider the following code: Consider the following code:   What is the output when you run this script in the browser? What is the output when you run this script in the browser?

(Multiple Choice)
4.8/5
(32)

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

(Multiple Choice)
4.8/5
(39)

Which statement is true about the getElementByID() method?

(Multiple Choice)
5.0/5
(49)

Which of the following will correctly modify the value of an X/HTML element's attribute within the DOM?

(Multiple Choice)
4.8/5
(35)

Which of the following comparison statements will return true?

(Multiple Choice)
4.7/5
(35)

Consider the following code: Consider the following code:   What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box? What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box?

(Multiple Choice)
4.8/5
(38)

Which of the following will correctly declare the EmployeeID variable as a string data type?

(Multiple Choice)
4.8/5
(40)

Consider the following code: var myString= "Hello World"; alert(myString.length); What is the output when you run this script in the browser?

(Multiple Choice)
4.8/5
(39)

Consider the following select list: Consider the following select list:   Which of the following will select the third option in the list? Which of the following will select the third option in the list?

(Multiple Choice)
4.8/5
(35)

Which of the following is a reason why a developer would use a JavaScript library?

(Multiple Choice)
4.8/5
(35)

Consider the following code: Consider the following code:   What is the expected result of this script? What is the expected result of this script?

(Multiple Choice)
4.9/5
(32)

Consider the following code:   Consider the following code:     What output will appear in the browser when you run this script? What output will appear in the browser when you run this script?

(Multiple Choice)
4.9/5
(38)

Consider the following statement: for (X; Y; Z) What does Z represent in this code?

(Multiple Choice)
4.9/5
(32)

What is the purpose of the prototype property in JavaScript?

(Multiple Choice)
5.0/5
(41)

How is the alert() method different from prompt() and confirm()?

(Multiple Choice)
4.8/5
(32)

Which statement about the JavaScript form object is true?

(Multiple Choice)
4.9/5
(38)

Which script block will display Hello World in the browser when the script is run?

(Multiple Choice)
4.8/5
(34)
Showing 1 - 20 of 30
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)