Computer

Document Object Model And Event Handling MCQs

Practice Document Object Model And Event Handling MCQs for competitive exams.

Document Object Model And Event Handling MCQs

Practice questions from this topic.

Which is the method to look up the objects for a range of keys?

  1. A. lookRange()
  2. B. openCursor()
  3. C. lookall()
  4. D. None of the mentioned
Report Error

Which is the function used to look up an object?

  1. A. put()
  2. B. set()
  3. C. get()
  4. D. look()
Report Error

What is the alternate way to search in an IndexedDB API?

  1. A. Key
  2. B. Address
  3. C. Indexes
  4. D. All of the mentioned
Report Error

Which of the following is a feature of the IndexedDB API?

  1. A. Simplifies the transaction management
  2. B. Need not manage the transaction at all
  3. C. Enhances the storage
  4. D. None of the mentioned
Report Error

How does IndexedDB provide atomicity?

  1. A. Grouping among the data
  2. B. Grouping within a transaction
  3. C. Grouping the data
  4. D. None of the mentioned
Report Error

A key path is defined as

  1. A. A url that directs to the value
  2. B. A value that is similar to hash table
  3. C. A value that tells the database how to extract an object’s key from the object
  4. D. None of the mentioned
Report Error

In the IndexedDB database, database is defined as

  1. A. A collection of objects
  2. B. A collection of named object stores
  3. C. Objects collection
  4. D. None of the mentioned
Report Error

Which of the following are objective database and not a relational database?

  1. A. Web SQL Database
  2. B. FileSystem API
  3. C. IndexedDB
  4. D. All of the mentioned
Report Error

Which of the following use the Web SQL Database?

  1. A. Chrome
  2. B. Firefox
  3. C. IE
  4. D. All of the mentioned
Report Error

The Client-Side Databases are stored in the

  1. A. The JavaScript code
  2. B. User’s computer
  3. C. Both JavaScript code and User’s computer
  4. D. None of the mentioned
Report Error

Which is the function used to store a value?

  1. A. setItem()
  2. B. set()
  3. C. storeItem()
  4. D. store()
Report Error

Which is the function used to retrieve a value?

  1. A. get()
  2. B. retrieve()
  3. C. getItem()
  4. D. retrieveItem()
Report Error