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

CSE :: Javascript - CS

  1. Which are the forms of client-side storage?

  2. A.

     Web Databases

    B.

     FileSystem API

    C.

     Offline Web Applications

    D.

     All of the mentioned


  3. Which is the storage that allows the caching of web pages and their associated resources?

  4. A.

     Web Databases

    B.

     FileSystem API

    C.

     Offline Web Applications

    D.

     All of the mentioned


  5. Which is the Microsoft’s own proprietary client-side storage?

  6. A.

     IE User Data

    B.

     Offline Web Applications

    C.

     Cookies

    D.

     All of the mentioned


  7. Which object supports Filesystem API?

  8. A.

     Element

    B.

     File

    C.

     Window

    D.

     DOM


  9. Which is the most appropriate database for developers requiring huge amount of data?

  10. A.

     Database

    B.

     Datawarehouse

    C.

     Web databases

    D.

     Access


  11. The localStorage and sessionStorage belongs to

  12. A.

     Window object

    B.

     Element object

    C.

     Hash object

    D.

     DOM object


  13. What is the main difference between localStorage and sessionStorage?

  14. A.

     Lifetime

    B.

     Scope

    C.

     Both Lifetime and Scope

    D.

     None of the mentioned


  15. What is the lifetime of the data stored through localStorage?

  16. A.

     Permanant

    B.

     Temporary

    C.

     Both Permanant and Temporary at times

    D.

     Cannot store


  17. Which is the function used to retrieve a value?

  18. A.

     get()

    B.

     retrieve()

    C.

     getItem()

    D.

     retrieveItem()


  19. Which is the function used to store a value?

  20. A.

     setItem()

    B.

     set()

    C.

     storeItem()

    D.

     store()