FUNDAMENTALS OF COMPUTER

TELECOMMUNICATIONS SYSTEMS

NETWORK ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is an example of what is usually done using client-side scripting?
A
Accessing web databases
B
Simple validation of user input
C
Create stylesheet files using PHP
D
Complex calculations
Explanation: 

Detailed explanation-1: -What is the example of client-side scripting? A. JavaScript and VBScript are the most common example used for client-side scripting. These programming languages are used to run scripts written in a scripting language.

Detailed explanation-2: -Client-side validation is visible to the user. It involves having validation on input forms through JavaScript. For example, if the input is submitted for a phone number or email, a JavaScript validator would provide an error if anything is submitted that does not conform to a phone number or email.

Detailed explanation-3: -Client-side scripts are commonly used when we want to validate data before sending it to the web server, adjusting the interface in response to user feedback, and for implementing other advanced features. Since JavaScript is part of the browser, it can be run without a web server present.

Detailed explanation-4: -Javascript, HTML, CSS, VB script, and other languages are frequently used for client-side scripting. It has full access to all files on the web server.

There is 1 question to complete.