Explain what Event-Driven Programs are (Use all of the following words in your description: Call-back function, on-events, algorithms, event handling, event listener, UI element). Give an example of an event-driven program

Respuesta :

Answer:

Step-by-step explanation:

An event driven programs are process of programming by which an algorithm is written by programming on a UI element, placing an event listener such that it handled when triggered by calling a call-back function.

E.g is a click event on a button which is a UI element. An event listener example, mouse down can placed on it, and if a user mouse down on it, it is handled by calling a call-back function which might be to open a new page on website.