Event-driven software is a type of software design where programs respond to events triggered by user actions, system events, or other sources.
Think of event-driven software as attending a concert. The concert starts when someone presses play on the music player (event trigger), and then various things happen based on the music playing (program response). Similarly, event-driven software responds to events by executing specific actions.
Event Handlers: Event handlers are sections of code that specify what should happen when certain events occur.
User Interface (UI): The user interface is the visual and interactive part of a program that allows users to interact with the software.
Callback Functions: Callback functions are functions that are passed as arguments to other functions and get executed when certain events occur.
Study guides for the entire semester
200k practice questions
Glossary of 50k key terms - memorize important vocab
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.