MCQ
Name the JavaScript code which is executed in response to a given situation, when an event occurs.
  • A
    Validation
  • Event handler
  • C
    Function
  • D
    Event

Answer

Correct option: B.
Event handler
B

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free