Multiple Choice Questions for HTML5 Web Storage

  • 1 Which of the followig function is used to remove items from the sessionStorage object?
    1. clear()
    2. removeItem( key )
    3. deleteItem( key )
    4. clear( Key)

  • 2 Which of the following function of the sessionStorage object is used to store data in the session.
    1. storeItem(key, data)
    2. putItem(key, data)
    3. setItem(key, data)
    4. None

  • 3 The _____ attribute holds the number of key/value pairs currently present in the sessionStorage object.
    1. length
    2. key
    3. getItems
    4. None

  • 4 _____ minutes of inactivity on the user?s part.?
    1. 10
    2. 15
    3. 20
    4. 30

  • 5 When a browser connects to a server, it starts a session. This session will keep the data safe as long as there isn?t
    1. CSS
    2. Javascript
    3. Browser
    4. None

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert