Exam 7: Using Object Oriented Javascript

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

The code  new Date() creates an empty Date object.

(True/False)
5.0/5
(41)

A(n)____ array is an array whose elements are referred to with an alphanumeric key instead of an index number.

(Multiple Choice)
4.8/5
(41)

Which Number class method can you use to convert a number to a string that is formatted with local numeric formatting style?

(Multiple Choice)
4.9/5
(36)

When creating an object using a literal, you separate multiple property-value pairs with ____.

(Multiple Choice)
4.9/5
(38)

The principle of ____________________ states that any methods and properties that other programmers do not need to access or know about should be hidden.

(Short Answer)
4.9/5
(42)

The code for a method must be stored in an external function.

(True/False)
4.9/5
(43)

What is a sub-object? Provide an example.

(Essay)
4.8/5
(40)

If you assign the current date and time to a variable, what is the value of that variable one hour later? Explain.

(Essay)
4.9/5
(51)

Why is JavaScript said to be an object-based programming language?

(Essay)
4.9/5
(32)

When working with a date, JavaScript stores the month as a ____.

(Multiple Choice)
4.7/5
(40)

A(n)____ function is a function that is used as the basis for a custom object.

(Multiple Choice)
4.8/5
(35)

What are some of the benefits of encapsulation?

(Essay)
4.8/5
(32)

You can use the Math  object directly in your programs without instantiating a new object.

(True/False)
4.8/5
(34)

The ____ class contains methods and properties for manipulating the date and time.

(Multiple Choice)
4.9/5
(23)

You can create an empty object by assigning a pair of empty __________ to a variable name.

(Short Answer)
4.9/5
(38)

You can create an empty object by assigning a pair of empty braces to a variable  name.

(True/False)
4.8/5
(41)

A(n)____ is an object that has been created from an existing class.

(Multiple Choice)
4.9/5
(35)

____________________ refers to the creation of reusable software objects that can be easily incorporated into multiple programs.

(Short Answer)
4.8/5
(32)

Objects are also called ____.

(Multiple Choice)
4.8/5
(33)

The ____ class contains methods for manipulating numbers and properties that contain static values representing some of the numeric limitations in the JavaScript language.

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

Filters

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