Exam 14: Exploring Object-Based Programming

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

Identify the HTML element that enables the disabled objects to appear semi-transparent on the web page.

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

A

Which of the following Object constructor methods returns true if obj is frozen?

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

C

Case-Based Critical Thinking Questions Case 13-5 Steve has created a custom object. He wants to use a template for all the properties and methods associated with the object's class. To add a method to a prototype, Steve should apply the _____ command.

Free
(Multiple Choice)
4.7/5
(40)
Correct Answer:
Verified

B

Identify the function of the "Object.keys(obj)" Object constructor method.

(Multiple Choice)
4.9/5
(39)

One object class can include objects defined in other classes.

(True/False)
4.9/5
(37)

To create object classes, you should apply a function known as an object constructor that defines the properties and methods associated with the object type.

(True/False)
4.8/5
(41)

Explain how an object can be created with the new operator.

(Essay)
4.9/5
(33)

All prototype chains ultimately find their source in the custom object.

(True/False)
4.8/5
(41)

Case-Based Critical Thinking Questions Case 13-2 Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object. Which of the following can help Michelle to access the properties of the custom object?

(Multiple Choice)
4.8/5
(39)

Which of the following Object constructor methods defines or modifies the property, prop , for the object, obj ; where descriptor describes the property.

(Multiple Choice)
4.9/5
(26)

Identify the Object constructor method that references the prototype of the object, obj .

(Multiple Choice)
4.8/5
(32)

Case-Based Critical Thinking Questions Case 13-5 Steve has created a custom object. He wants to use a template for all the properties and methods associated with the object's class. Which of the following terms corresponds to the template that Steve wants to use?

(Multiple Choice)
4.9/5
(39)

Using prototypes, any object class inherits the properties and methods from another class.

(True/False)
4.8/5
(28)

Case-Based Critical Thinking Questions Case 13-1 Kenneth wants to create a custom object for a specific programming task. He has defined the custom object by creating it as an object literal. Kenneth can also use a(n) _____ to define the custom object.

(Multiple Choice)
4.8/5
(32)

The _____ Object constructor method freezes obj so that it cannot be modified by other code.

(Multiple Choice)
4.9/5
(39)

Which of the following methods is applied to define a custom object?

(Multiple Choice)
4.8/5
(40)

One object can be nested within another.

(True/False)
4.8/5
(35)

A prototype chain should be defined in a top-down order.

(True/False)
5.0/5
(38)

Identify the method that ensures that the functions defined in one script do not conflict with functions or variables defined in other scripts.

(Multiple Choice)
4.9/5
(35)

The _____ object method returns a text string representation of an object.

(Multiple Choice)
4.8/5
(42)
Showing 1 - 20 of 77
close modal

Filters

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