Caching And Debugging - Study Mode

[#26] What is the purpose of the event disconnectionEvent?
Correct Answer

(B) Player disconnects from the channel

Explanation

Solution: The event disconnectionEvent is fired when the player disconnects from the channel, whether a result of user interaction or not.

[#27] When does one use the event ready?
Correct Answer

(C) After loading

Explanation

Solution: The event ready is fired after the player is done loading. It is safe to interact with it after this event fired.

[#28] When does one use the method startOverlays()?
Correct Answer

(C) Create ad request

Explanation

Solution: A new ad request is made every time when the method startOverlays() gets called.

[#29] What is the reason for avoiding the attributes property in the HTML DOM?
Correct Answer

(B) Attributes don’t have attributes

Explanation

Solution: The reason for avoiding the attributes property in the HTML DOM is because Attributes don’t have attributes.

[#30] In how many modes can the closure compiler be run?
Correct Answer

(B) 2

Explanation

Solution: There are totally 2 modes in which the closure compiler can be run namely : 1. Simple mode 2. dvanced mode