Question 48Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

What is the main purpose of client-side scripting in JavaScript?

  1. ATo execute code on the server
  2. BTo store data on the server
  3. CTo run code on the user's web browser
  4. DTo interact with the database directly
Show answerHide answer

Correct answer: (C) To run code on the user's web browser

Explanation

Client-side JavaScript runs inside the user's web browser, where it handles events, checks forms and updates the page without going to the server.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

This is question 48 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM). 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.