Exam 11: Object-Oriented Programming and Arrays
Exam 1: Introduction to Web Programming28 Questions
Exam 2: Coding Standards, Block Elements, Text Elements, and Character References30 Questions
Exam 3: Cascading Style Sheets (CSS)29 Questions
Exam 4: Organizing a Pages Content With Lists, Figures, and Various Organizational Elements30 Questions
Exam 5: Tables and Css Layout30 Questions
Exam 6: Links and Images30 Questions
Exam 7: Image Manipulations, Audio, and Video30 Questions
Exam 8: Introduction to Javascript: Functions, Dom, Forms, and Event Handlers28 Questions
Exam 9: Additional Javascript Basics: Window Object, If Statement, Strings, Numbers, and Input Validation30 Questions
Exam 10: Loops, Additional Controls, Manipulating Css With Javascript29 Questions
Exam 11: Object-Oriented Programming and Arrays30 Questions
Exam 12: Canvas30 Questions
Exam 13: Web Development and HTML/CSS98 Questions
Select questions type
To call a regular method, you preface the method name with an object and a dot. The object is referred to as a cotterized object.
Free
(True/False)
4.9/5
(36)
Correct Answer:
False
Polymorphism refers to a variable's ability to change its type from a string to a number.
Free
(True/False)
5.0/5
(41)
Correct Answer:
False
To emulate a class with legacy code, you implement a function whose name serves as a class name, and that function then serves as a constructor.
Free
(True/False)
4.7/5
(44)
Correct Answer:
True
Legacy code is code that has improved over time to the point where it is now considered an exemplar of what good code should look like.
(True/False)
4.8/5
(30)
For the switch statement, if you need to do something special when there are no case constants that match the controlling expression's value, then you should use the keyword ______ at the bottom of the switch statement to handle that situation.
(Short Answer)
4.8/5
(31)
If you declare a variable with <code>var</code>, but do not initialize it to a value, what will the variable contain?
(Multiple Choice)
4.7/5
(30)
To implement a subclass, you need to append the keyword ______ and then the superclass name to the end of the subclass's heading.
(Short Answer)
4.9/5
(45)
When a function is called by another function (as opposed to when a function is called by an event handler attribute like onclick), the called function is known as a helper function.
(True/False)
4.8/5
(34)
The ______ method searches for a specified value within the calling object array's elements. It returns the index of the first element that holds the value.
(Short Answer)
4.9/5
(35)
What is the difference between a method heading and a function heading?
(Multiple Choice)
4.9/5
(45)
The switch statement is most similar to which of the following?
(Multiple Choice)
4.9/5
(38)
Typically, what's the first thing you should do you in a subclass constructor?
(Multiple Choice)
4.7/5
(32)
To sort an array of objects, you need to define a comparison function. The comparison function:
(Multiple Choice)
4.9/5
(31)
A class property is associated with a class as a whole, not with an individual instance of a class.
(True/False)
4.8/5
(36)
Why might it be appropriate for a button's onclick event-handler function to call its event object's stopPropagation method?
(Essay)
4.9/5
(34)
If you would like to sort an array of date values, you should do which of the following?
(Multiple Choice)
4.9/5
(23)
An object has properties and methods. It is the properties that provide the interface with the outside world.
(True/False)
4.8/5
(39)
Using the formal JavaScript inheritance terms, which of the following is true?
(Multiple Choice)
4.9/5
(30)
Showing 1 - 20 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)