Back to the 2025 paper

Module III: Basics of Web Programming

20252m

Which of the following is a client-side scripting language?

(i) PHP
(ii) JavaScript
(iii) JSP
(iv) Servlet

Worked SolutionAI Assisted

Correct Answer: (ii) JavaScript

Explanation:

  • JavaScript is the standard client-side scripting language executed directly by the web browser's JavaScript engine (e.g., V8, SpiderMonkey).
  • It enables interactive web pages, dynamic styling, DOM manipulation, form validation, and asynchronous requests (AJAX).
  • PHP, JSP, and Servlets are all server-side technologies executed on the web/application server.

Similar questions