232k views
1 vote
An event handler is..

a. a word that is open for interpretation.
b. a sentence that provides information.
c. a procedure that occurs as a result of a users action or another source.

User Ryland
by
5.4k points

2 Answers

3 votes
The answer here is C
User Hrishi Mittal
by
5.7k points
3 votes

Answer:

The correct answer is:

Option c. a procedure that occurs as a result of a users action or another source.

Step-by-step explanation:

First of all, let us define what an event is.

An occurrence that is caused by any external user or entity towards a software or a website is called an event i.e. click from mouse, key pressed from keyboard.

When an event occurs, the software or functionality of the website has to respond to the event. An event handler is a function or procedure that contains the code which has to be run when the event occurs.

When the event occurs, the event handler for particular event is executed.

So from the given options,

The correct answer is:

Option c. a procedure that occurs as a result of a users action or another source.

User JC Brand
by
5.1k points