The correct answer is: event.
An event is an activity that occurs during program execution such as mouse click or keystroke. It is a notification that something has happened in the program’s environment. Events can be generated by the user, by the operating system, or by other programs.
A module is a self-contained unit of code that can be reused in multiple programs. It is a collection of related functions, variables, and constants.
Code is a set of instructions that tells a computer what to do. It is written in a programming language that the computer can understand.
A property is a characteristic of an object. It can be a number, a string, or a reference to another object.
Here are some examples of events:
- A mouse click
- A keystroke
- A window being opened or closed
- A file being saved or loaded
- A network connection being established or broken
Events can be handled by event handlers. An event handler is a function that is called when an event occurs. Event handlers can be used to respond to events in a variety of ways, such as displaying a message, playing a sound, or changing the state of an object.