Home / CSE / Javascript - CS :: Invocation and Performance Navigation

CSE :: Javascript - CS

  1. When does the browser stop rendering the HTML?

  2. A.

     Inline JavaScript block

    B.

     External JavaScript file

    C.

     Both Inline JavaScript block & External JavaScript file

    D.

     None of the mentioned


  3. Which of the following handles painting the content on to the screen?

  4. A.

     Rendering engine

    B.

     JavaScript Interpreter

    C.

     UI Layer

    D.

     Network Layer


  5. What does the rendering engine do when it encounters JavaScript?

  6. A.

     Skips the code

    B.

     Continues painting

    C.

     Switches to Javascript Interpreter

    D.

     None of the mentioned


  7. Which of the following runs the JavaScript code?

  8. A.

     Just In Time compiler

    B.

     JavaScript Interpreter

    C.

     Both Just In Time compiler and JavaScript Interpreter

    D.

     None of the mentioned


  9. Which of the following layer retrieves the content from the network?

  10. A.

     Transport Layer

    B.

     Application Layer

    C.

     Network Layer

    D.

     Physical Layer


  11. Which of the following gets converted to DOM elements by the rendering engine?

  12. A.

     Tokens

    B.

     Strings

    C.

     Address

    D.

     All of the mentioned


  13. Which of the below does not belong to the Render Engine work flow?

  14. A.

     Paint DOM elements

    B.

     Parse Content

    C.

     uild DOM nodes in render tree

    D.

     None of the mentioned


  15. Which is the next step after retrieving the content in chunks?

  16. A.

     Paint DOM elements

    B.

     Parse Content

    C.

     Build DOM nodes in render tree

    D.

     None of the mentioned


  17. What will happen after executing the script?

  18. A.

     Execute script

    B.

     Layout positioning of DOM elements

    C.

     Paint DOM elements

    D.

     Build DOM nodes in render tree


  19. What would happen if there were no script tags?

  20. A.

     Build DOM nodes in render tree

    B.

     Layout positioning of DOM elements

    C.

     Paint DOM elements

    D.

     Execute script