Event-Driven
Event-driven programming is a programming paradigm where the flow of the program is determined by events, such as user actions, sensor outputs, or messages from other programs. In this model, the system responds to these events by executing specific functions or handlers, allowing for more dynamic and interactive applications.
This approach is commonly used in graphical user interfaces (GUIs) and real-time systems. For example, when a user clicks a button in a web application, an event is triggered, prompting the application to execute a predefined action, such as submitting a form or displaying a message.