Home / CSE / Javascript - CS :: Caching and Debugging

CSE :: Javascript - CS

  1. What does the interpreter do when you reference variables in other scopes?

  2. A.

     Traverses the queue

    B.

     Traverses the stack

    C.

     Finds the bugs

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. The attribute location belongs to which element?

  4. A.

     document

    B.

     html

    C.

     image

    D.

     pre

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What will happen if you reference document.location from within an object?

  6. A.

     Traverses the queue

    B.

     Finds the bugs

    C.

     Traverses the stack

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Why do we need to create locally scoped variables to hold value?

  8. A.

     To optimize the testing process

    B.

     To increase the speed

    C.

     To minimize memory usage

    D.

     To cache the reference document.location

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What is the next step after calling the startTimeLogging()?

  10. A.

     Interpret the code

    B.

     Compile the code

    C.

     Run the code

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. During the traversing through the stack, where does it go after it goes to the namespace?

  12. A.

     Window

    B.

     Function

    C.

     Document

    D.

     Location

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. During the traversing through the stack, where does it go after it goes to the window?

  14. A.

     Namespace

    B.

     Function

    C.

     Document

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. During the traversing of the stack when you create a locally scoped variable, where does it go after it goes to the namespace?

  16. A.

     Window

    B.

     Function

    C.

     Document

    D.

     Location

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What is the function used to stop capturing the ad hoc timing ?

  18. A.

     stopadhoc()

    B.

     stopTimer()

    C.

     stopTimeLogging()

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. During the traversing of the stack when you create a locally scoped variable, where does it go after it goes to the location?

  20. A.

     Window

    B.

     Function

    C.

     Document

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum