Exam 13: Programming Web Pages With Javascript

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

Case-Based Critical Thinking Question Patrice is creating JavaScript code for her website. Her first task is to reference several HTML elements. If Patrice follows common practice among JavaScript developers, she will store the HTML element references as __________.

(Multiple Choice)
4.9/5
(33)

The contents of a function are executed automatically when they are parsed by a browser.

(True/False)
5.0/5
(34)

  Referring to the figure above, what is the role of the three lines of code labeled with the number 1? Referring to the figure above, what is the role of the three lines of code labeled with the number 1?

(Multiple Choice)
4.7/5
(35)

The __________ object is the parent element of the DOM tree.

(Multiple Choice)
4.8/5
(33)

JavaScript names can include spaces.

(True/False)
4.9/5
(35)

The querySelector() method is a child of the __________ object.

(Short Answer)
4.9/5
(38)

To call a function in response to a user action, a developer creates a(n) object listener. _________________________

(True/False)
4.8/5
(33)

Multi-line comments in JavaScript use the same format as __________ comments.

(Multiple Choice)
4.8/5
(32)

The assignment operator is simply a question mark (?).

(True/False)
4.9/5
(32)

Every JavaScript statement ends with a(n) __________.

(Multiple Choice)
4.8/5
(41)

You can use browser developer tools to enter test code and view error messages related to JavaScript.

(True/False)
4.9/5
(39)

Each item in the DOM tree--including elements, attributes, and text content--is known as a(n) __________.

(Short Answer)
4.9/5
(32)

To assign a new property value, you use the assignment operator, which is simply a(n) __________.

(Multiple Choice)
4.7/5
(39)

The ____ event occurs when a user clicks or touches an element.

(Multiple Choice)
4.7/5
(40)

Writing code to look up and change data associated with parts of HTML documents requires a standardized way of referring to the parts of a Web page; this system is known as the Document _________ Model.

(Multiple Choice)
4.9/5
(34)

  Referring to the figure above, which of the following describes when the statements within the braces are executed? Referring to the figure above, which of the following describes when the statements within the braces are executed?

(Multiple Choice)
4.9/5
(29)

  Referring to the figure above, what is the role of the line of code labeled with the number 2? Referring to the figure above, what is the role of the line of code labeled with the number 2?

(Multiple Choice)
5.0/5
(41)

JavaScript supports the use of symbols known as operators to compare or change the values of multiple objects or properties._________________________

(True/False)
4.9/5
(43)

What kind of information can you store in a variable? How are variables useful when creating object references, and why?

(Essay)
4.8/5
(36)

The __________, which is part of the developer tools in a modern web browser, can be used to enter test code and view error message related to JavaScript.

(Multiple Choice)
4.8/5
(45)
Showing 21 - 40 of 71
close modal

Filters

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