An event-driven program is a program in which the flow of control of the…
2022
An event-driven program is a program in which the flow of control of the program depends upon the ______.
- A.
occurrence of external events
- B.
control statements
- C.
sequence of statements
- D.
order of calling of functions
Attempted by 199 students.
Show answer & explanation
Correct answer: A
Event-driven programs rely on external stimuli like user inputs or system signals to dictate execution paths. Instead of linear sequences, the flow changes dynamically based on these occurring events.