Question 64Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

Match the following with respect to Event Driven Programming.

Match the following with respect to Event Driven Programming. I. Event — A. Perform said event II. Event listener — B. User interaction III. Event handler — C. Event monitored by code
  1. AI-A, II-B, III-C
  2. BI-C, II-A, III-B
  3. CI-B, II-A, III-C
  4. DI-B, II-C, III-A
Show answerHide answer

Correct answer: (C) I-B, II-A, III-C

Explanation

Note: the answer key gives (C), but the logical match is (D): an event is a user interaction, an event listener monitors for the event, and an event handler performs the action for it.

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 64 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.