Q. JavaScript is ideal to
β
Correct Answer: (B)
minimize storage requirements on the web server
Explanation:
JavaScript is a client-side scripting language, meaning that it executes in the userβs browser rather than on the server. This helps:
- Reduce server load by handling computations, form validations, and user interactions locally.
- Minimize storage requirements on the web server since many tasks can be performed on the client-side without frequent server requests.
Why the other options are incorrect:
- (A) make computations in HTML simpler β JavaScript enhances interactivity but does not directly simplify computations in HTML (though it can manipulate HTML dynamically).
- (C) increase the download time for the client β JavaScript files are usually lightweight and cached by browsers, so they do not necessarily increase download time.
- (D) none of the mentioned β Option (B) is correct, so this is incorrect.