Exam 14: Exploring Object-Based Programming
Exam 1: Getting Started With Html5118 Questions
Exam 2: Getting Started With Css Tutorial117 Questions
Exam 3: Designing a Page Layout Tutorial106 Questions
Exam 4: Graphic Design With Css Tutorial87 Questions
Exam 5: Designing for the Mobile Web Tutorial90 Questions
Exam 6: Working With Tables and Columns Tutorial69 Questions
Exam 7: Designing a Web Form Tutorial71 Questions
Exam 8: Enhancing a Website With Multimedia Tutorial73 Questions
Exam 9: Getting Started With Javascript Tutorial72 Questions
Exam 10: Exploring Arrays Loops and Conditional Statements Tutorial73 Questions
Exam 11: Working With Events and Styles Tutorial76 Questions
Exam 12: Working With Document Nodes and Style Sheets Tutorial76 Questions
Exam 13: Programming for Web Forms Tutorial78 Questions
Exam 14: Exploring Object-Based Programming77 Questions
Select questions type
The nested function is hidden from other code in the script, making the code contained and easier to manage.
(True/False)
4.9/5
(44)
Identify the correct syntax to add methods to a custom object.
(Multiple Choice)
4.8/5
(41)
Simon uses the function.apply(thisObj[,argArray] method to call a method from another object class. In this method, argArray is a(n) _____.
(Multiple Choice)
4.7/5
(43)
Identify the apply() method used to borrow a method from one object class.
(Multiple Choice)
4.8/5
(37)
Methods are shared between objects by applying or calling a method from one object for use in another object.
(True/False)
4.7/5
(34)
When you create a custom object using an object literal or by applying the new Object() command, you create a subclass of the _____.
(Multiple Choice)
4.8/5
(36)
Identify the significance of this keyword in the following constructor function. function objClass(parameters) { this.prop1 = value1; this.prop2 = value2; … this.method1 = function1; this.method2 = function2; … }
(Multiple Choice)
4.8/5
(37)
Case-Based Critical Thinking Questions Case 13-4 Edward wants to use object-based programming to create objects that belong to a specific type or class with shared properties and methods. Once the constructor function for the object class is defined, instances of the object are created with the _____ command.
(Multiple Choice)
4.9/5
(37)
Case-Based Critical Thinking Questions Case 13-3 Thomas wants to create a custom object using the new operator. He applies the following commands: var objName = new Object(); object.property = value; object.method = function() { commands }; The new Object() statement is equivalent to a(n) _____.
(Multiple Choice)
4.9/5
(37)
. If the constructor function is a machine to create object instances, then the _____ is the blueprint for the objects that are created.
(Multiple Choice)
4.8/5
(36)
A _____ does not follow a specific order because properties can be listed and read out in any order.
(Multiple Choice)
4.9/5
(36)
To create a custom object as an object literal, you apply the create() method.
(True/False)
4.8/5
(41)
Identify the structure in which any function, including named functions, is nested within another function.
(Multiple Choice)
5.0/5
(34)
Which of the following should be used to examine the properties and keys of an object?
(Multiple Choice)
4.8/5
(37)
The biggest advantage of an object created either as an object literal or with the new Object() command is that the object is reusable.
(True/False)
4.9/5
(39)
Identify the name:value pair that includes a function name and its commands, which is used to add methods to a custom object.
(Multiple Choice)
4.8/5
(39)
Which of the following commands is used to create a custom object using the new operator?
(Multiple Choice)
4.8/5
(29)
Showing 41 - 60 of 77
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)