What is/are the purpose(s) of JavaScript events? i) Provide a dynamic…

2023

What is/are the purpose(s) of JavaScript events? i) Provide a dynamic interface to a webpage. ii) Provide a static interface to a webpage.

Answer: A. Only (i)JavaScript events enable webpages to respond dynamically to user interactions and browser actions. This functionality supports statement (i) by creating a…

  1. A.

    Only (i)

  2. B.

    Only (ii)

  3. C.

    Both (i) and (ii)

  4. D.

    Neither (i) nor (ii)

Attempted by 617 students.

Show answer & explanation

Correct answer: A

JavaScript events enable webpages to respond dynamically to user interactions and browser actions. This functionality supports statement (i) by creating a dynamic interface, whereas static interfaces do not rely on event handling.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…