Home / CSE / Javascript - CS :: Document Object Model and Event Handling

CSE :: Javascript - CS

  1. The Client-Side Databases are stored in the

  2. A.

     The JavaScript code

    B.

     User’s computer

    C.

     Both JavaScript code and User’s computer

    D.

     None of the mentioned


  3. Which of the following use the Web SQL Database?

  4. A.

     Chrome

    B.

     Firefox

    C.

     IE

    D.

     All of the mentioned


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

  6. A.

     Web SQL Database

    B.

     FileSystem API

    C.

     IndexedDB

    D.

     All of the mentioned


  7. In the IndexedDB database, database is defined as

  8. A.

     A collection of objects

    B.

     A collection of named object stores

    C.

     Objects collection

    D.

     None of the mentioned


  9. A key path is defined as

  10. A.

     A url that directs to the value

    B.

     A value that is similar to hash table

    C.

     A value that tells the database how to extract an object’s key from the object

    D.

     None of the mentioned


  11. How does IndexedDB provide atomicity?

  12. A.

     Grouping among the data

    B.

     Grouping within a transaction

    C.

     Grouping the data

    D.

     None of the mentioned


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

  14. A.

     Simplifies the transaction management

    B.

     Need not manage the transaction at all

    C.

     Enhances the storage

    D.

     None of the mentioned


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

  16. A.

     Key

    B.

     Address

    C.

     Indexes

    D.

     All of the mentioned


  17. Which is the function used to look up an object?

  18. A.

     put()

    B.

     set()

    C.

     get()

    D.

     look()


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

  20. A.

     lookRange()

    B.

     openCursor()

    C.

     lookall()

    D.

     None of the mentioned