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


  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


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

  6. A.

     Reliability

    B.

     Reachability

    C.

     Efficiency

    D.

     Transparency


  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


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

  10. A.

     Element

    B.

     Window

    C.

     Location

    D.

     None of the mentioned


  11. Which of the following functions are referenced internally?

  12. A.

     setTimeout

    B.

     setInterval

    C.

     both setTimeout and setInterval

    D.

     none of the mentioned


  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


  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


  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


  19. In which format does JavaScript support external JavaScript?

  20. A.

     .js

    B.

     .php

    C.

     .js/php

    D.

     .jss