Back to the 2026 paper

Module III: Basics of Web Programming

20262m

A web application validates a form directly in the user's browser before submitting it to the server. Which technology is most directly suited for this task?
(i) JavaScript
(ii) PHP
(iii) Servlet
(iv) EJB

Worked SolutionAI Assisted

Correct answer: (i) JavaScript. It can validate forms in the browser and give immediate feedback. Server-side validation is still essential because client-side checks can be bypassed.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.