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

CSE :: Javascript - CS

  1. Where are memory leaks found?

  2. A.

     Client side objects

    B.

     Server side objects

    C.

     Both Client side and Server side objects

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which handler is triggered when the content of the document in the window is stable and ready for manipulation?

  4. A.

     onload

    B.

     manipulate

    C.

     create

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What is the central concept of JavaScript memory management?

  6. A.

     Reliability

    B.

     Reachability

    C.

     Efficiency

    D.

     Transparency

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. When does a memory leak happen?

  8. A.

     Browser doesn’t release memory from objects unnecessary

    B.

     Browser releases too many memories

    C.

     All of the mentioned

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The style property belongs to while of the following object?

  10. A.

     Element

    B.

     Window

    C.

     Location

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following functions are referenced internally?

  12. A.

     setTimeout

    B.

     setInterval

    C.

     both setTimeout and setInterval

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. What is the purpose of destroying the functions and objects?

  14. A.

     Consume unnecessary CPU cycles

    B.

     Prevent the dropping of reference count to 0

    C.

     Centralize the responsibility to clean up

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. When does a cycle occur during memory leak?

  16. A.

     No reference occurs

    B.

     Two objects reference

    C.

     One object gets referenced

    D.

     One object gets referenced

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following is a way to retain an object in memory?

  18. A.

     Console Log

    B.

     Closures

    C.

     Destory objects

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. In which format does JavaScript support external JavaScript?

  20. A.

     .js

    B.

     .php

    C.

     .js/php

    D.

     .jss

    View Answer

    Workspace

    Discuss Discuss in Forum