Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

In event-driven programming, an event is generated by ___
Options
A All the options
Correct Answer
B A user's action
C The program itself
D The system
Correct Answer

Option A is the correct answer.

Detailed Explanation

Events can be generated by user actions (clicks, key presses), the program itself (timers), or the system (hardware interrupts).

Hint

Events come from various sources.

Question Info