ExamVeda
Login
Home
41
When does the browser stop rendering the HTML?
Discuss
Answer & Solution
Answer: Option C
Solution:
When the browser parses the HTML markup, it stops rendering the HTML when it encounters an inline JavaScript block or external JavaScript file. At this point, the user experiences rendering delays. Moving the JavaScript to the end of the HTML markup would completely eliminate these pauses in rendering.
42
Which of the following handles painting the content on to the screen?
Discuss
Answer & Solution
Answer: Option A
Solution:
The rendering engine handles painting the content to the screen. When it encounters JavaScript, it hands it off to the JavaScript interpreter.
43
What does the rendering engine do when it encounters JavaScript?
Discuss
Answer & Solution
Answer: Option C
Solution:
The rendering engine handles painting the content to the screen. When it encounters JavaScript, it hands it off to the JavaScript interpreter.
44
Which of the following runs the JavaScript code?
Discuss
Answer & Solution
Answer: Option B
Solution:
The JavaScript Interpreter runs the JavaScript code.
45
Which of the following layer retrieves the content from the network?
Discuss
Answer & Solution
Answer: Option C
Solution:
he network layer retrieves the content from the network.
46
Which of the following gets converted to DOM elements by the rendering engine?
Discuss
Answer & Solution
Answer: Option A
Solution:
The string returned by the network layer gets tokenized into meaningful chunks. The rendering engine then takes the tokens and converts them to DOM elements.
47
Which of the below does not belong to the Render Engine work flow?
Discuss
Answer & Solution
Answer: Option D
Solution:
All of the mentioned belongs to the Render Engine work flow. The Render engine work flow contains :
1. Parse Content
2. Build DOM nodes in render tree
3. Layout positioning of DOM elements
4. Paint DOM elements.
48
Which is the next step after retrieving the content in chunks?
Discuss
Answer & Solution
Answer: Option B
Solution:
After retrieving the content in chunks, the contents will be parsed.
49
What will happen after executing the script?
Discuss
Answer & Solution
Answer: Option D
Solution:
After executing the script, the DOM nodes will be built in the render tree.
50
What would happen if there were no script tags?
Discuss
Answer & Solution
Answer: Option A
Solution:
If there were no script tags, the DOM nodes will be built in the render tree.