Home / CSE MCQs / Javascript MCQs :: Javascript DOM and Event Handling

CSE MCQs :: Javascript MCQs

  1. Which is the most appropriate database for developers requiring huge amount of data?
  2. A.
    Database
    B.
    Datawarehouse
    C.
    Web databases
    D.
    Access

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following defines the Cookie visibility?
  4. A.
    Document Path
    B.
    localStorage
    C.
    sessionStorage
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following property specifies the string of text that was entered?
  6. A.
    message
    B.
    data
    C.
    string
    D.
    text

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What is the datatype of the go() method's parameter?
  8. A.
    String
    B.
    Integer
    C.
    Double
    D.
    Float

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. A new web browser window can be opened using which method of the Window object ?
  10. A.
    createtab()
    B.
    Window.open()
    C.
    open()
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. The process by which the browser decides which objects to trigger event handlers on is
  12. A.
    Event Triggering
    B.
    Event Listening
    C.
    Event Handling
    D.
    Event propogation

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following key property holds the key name as a string?
  14. A.
    keyName
    B.
    key
    C.
    keyName(string)
    D.
    Nameofkey(string)

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The events that represents occurrences related to the browser window are
  16. A.
    Window
    B.
    Element
    C.
    Display
    D.
    Handlers

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What is the property textContent?
  18. A.
    Sets the textual content of a node
    B.
    Returns the textual content of a node
    C.
    Both a and b
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following Node types have a node value equal to null?
  20. A.
    Document
    B.
    DocumentFragment
    C.
    DocumentType
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum