Home / CSE MCQs / Javascript MCQs :: Javascript Invocation,Performance Navigation

CSE MCQs :: Javascript MCQs

  1. How many properties are there in the interface PerformanceTiming?
  2. A.
    21
    B.
    22
    C.
    23
    D.
    24

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What does it indicate when the type attribute of the navigation object is set to 2?
  4. A.
    Navigation by moving back through history
    B.
    Navigation by moving forward through history
    C.
    Both a and b
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. The style property belongs to while of the following object?
  6. A.
    Element
    B.
    Window
    C.
    Location
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which is the method used to add an event listener?
  8. A.
    addEventListener()
    B.
    addListener()
    C.
    addEvent(Listener)
    D.
    addListener(Event)

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What should be the value of the type attribute of a variable if the type of file is CSS?
  10. A.
    text/js/css
    B.
    text/js
    C.
    text/css
    D.
    text

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which is the next step after retrieving the content in chunks?
  12. A.
    Paint DOM elements
    B.
    Parse Content
    C.
    Build DOM nodes in render tree
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. How can one access the redirectCount property?
  14. A.
    navigation.redirectCount
    B.
    performance.navigation.redirectCount
    C.
    performance.redirectCount
    D.
    redirectCount

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following gives the high level breakdown of memory usage?
  16. A.
    about:memory
    B.
    memory
    C.
    about-memory
    D.
    about::memory

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What is the purpose of the startTimeLogging() method?
  18. A.
    Start the timer
    B.
    Capture time logging
    C.
    Capture timing data for referencing
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following are client-side JavaScript object?
  20. A.
    Database
    B.
    Cursor
    C.
    Client
    D.
    FileUpLoad

    View Answer

    Workspace

    Discuss Discuss in Forum