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 ______.

  1. A.

    occurrence of external events

  2. B.

    control statements

  3. C.

    sequence of statements

  4. 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.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs