CIE1 Set2 U19CS602 - Full Stack Development
CIE1 Set2 U19CS602 - Full Stack Development
No
Levels of
Course
B.T
TIME 9.15am to 10.45am Duration : 1 ½ hours
SLOT :
PART – A Answer All Questions (6 x 2 = 12 Marks)
1. Design a JavaScript program to display a message “Hi good morning to you” when a page is 8 1
loaded and displays a message “Thanks for visiting our web page” when a page is unloaded and
capture script error using event handler.
6. Elaborate on the sequence of event propagation in the context of bubbling and capturing phases. 8 1
Provide a comprehensive explanation, including the significance of each phase and how they
contribute to the overall event flow in a browser environment.
7. What will the code below output to the console and why? 5 1
***************************
Percentage 0 100 1