Event Driven
Event Driven
Reg: DITC01/4751/2022
-Mouse events : click when the user presses and releases a mouse button.
-Keyboard events : keydown when the user presses down and control has
focus.
-Window events : scrolls when the user scrolls the page.
-Touch events (for touchscreens) : touchend when user stops touching the
screen.
-Form events : submit when a form is submitted
6) State the correct data type for each of the following describtion of
statements
a) The height of a student (in cm). Continous
b) The academic grade of a student. Ordinal
c) Country states whether poor or rich. Categorical
d) The value of the kenyan shilling in ksh. Continous