Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Web Programming with HTML5 CSS and JavaScriptb
Quiz 11: Object-Oriented Programming and Arrays
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Typically, what's the first thing you should do you in a subclass constructor?
Question 2
Multiple Choice
Suppose that you have a class named Student with a method named payFees and that you have instantiated an object named student. Which of the following is a proper call to the payFees method?
Question 3
True/False
The Array object's concat method returns a new array that is formed by concatenating the argument array to the end of the calling object array.
Question 4
True/False
An object has properties and methods. It is the properties that provide the interface with the outside world.
Question 5
Short Answer
OOP stands for ____________________.
Question 6
Short Answer
If the following code executes, what message displays in the resulting dialog box? var x = 3.5; alert(x > 3 ? x + 1 : x - 1);
Question 7
Essay
Why might it be appropriate for a button's onclick event-handler function to call its event object's stopPropagation method?
Question 8
Short Answer
Provide code that instantiates an array named carMakes such that the new array contains "Ford" and "Honda".
Question 9
Short Answer
Sort the following three strings so they are in ascending lexicographical order (words that are considered less than other words should be at the left). "aardvark", "African polecat", "AARP"
Question 10
Short Answer
What is a two-dimensional array?
Question 11
Multiple Choice
The formal term for creating an object is:
Question 12
Multiple Choice
What is the difference between a method heading and a function heading?
Question 13
Multiple Choice
If you declare a variable with <code>var</code>, but do not initialize it to a value, what will the variable contain?
Question 14
Multiple Choice
Suppose an <code>onclick</code> event-handler function includes an <code>e</code> parameter for its passed-in event object. What code could be used to access the mouse pointer's x coordinate position?