Match the following with respect to Event Driven Programming.
2021
Match the following with respect to Event Driven Programming.

- A.
i-a, ii-b, iii-c
- B.
i-c, ii-a, iii-b
- C.
i-b, ii-a, iii-c
- D.
i-b, ii-c, iii-a
Attempted by 63 students.
Show answer & explanation
Correct answer: C
i. Event → b. User interaction
An event is an action or occurrence generated by the user or system, such as mouse click, key press, or button click.
So:
Event → User interactionii. Event Listener → a. Performs the event at runtime
An event listener waits for or listens to specific events and responds when the event occurs during program execution.
So:
Event Listener → Performs the event at runtimeiii. Event Handler → c. Event monitored by code
An event handler is the code or function written to handle or process a particular event.
So:
Event Handler → Event monitored by codeTherefore, the correct matching is:
i-b, ii-a, iii-c