Ass
Ass
a) View
b) Model
c) Controller
d) Storage
h) none of these
5) Which part of web development is responsible for handling data storage and retrieval?
a) Front-end development
b) Back-end development
c) Full-stack development
d) Middleware development
6) ASP.NET is a …….…………………
a) Client-Side technology
b) Server-side technology
c) Both
9) XML-Schema
c) stream videos
b) A small program that represents discrete logic that executes within a well-
defined boundary on dedicated hardware
d) A very small piece of code that never gets any bigger than 10 lines
a) Database storage
b) Data processing logic
3. What are the differences between server-side scripting and client-side scripting?
SOLUTION
a) View
b) Model
c) Controller
d) Storage
h) none of these
5) Which part of web development is responsible for handling data storage and retrieval?
a) Front-end development
b) Back-end development
c) Full-stack development
d) Middleware development
6) ASP.NET is a …….…………………
a) Client-Side technology
b) Server-side technology
c) Both
c) stream videos
b) A small program that represents discrete logic that executes within a well-
defined boundary on dedicated hardware
d) A very small piece of code that never gets any bigger than 10 lines
a) Database storage
_________________________________________________________
2)
a) Inline JavaScript
b) External JavaScript
3)
a) Location of Execution
b) Languages Used
c) Interaction with the User
d) Performance
e) Security
f) Dependence on the Internet
g) Response Time
h) Code Visibility
___________________________________________________________
4)
Making websites interactive and dynamic
Validating user input on forms
Manipulating the DOM (Document Object Model)
Performing asynchronous operations (AJAX)
Building client-side web applications (using frameworks like React, Angular)
Improving user experience through animations and dynamic content
________________________________________________________________
5)
The DOM (Document Object Model) Tree represents the structure of an HTML or
XMLdocument in a hierarchical way, where each element, attribute, and piece of text is a node
in the tree. The DOM tree is a programming interface for web documents, which provides
a structured representation of the document as a tree of objects that can be accessed and
manipulated using JavaScript.
EX)
DOM Manipulation Example Using JavaScript:
document.querySelector("h1").textContent = "DOM Manipulated!";
__________________________________________________________________
6)
JSON (JavaScript Object Notation) is a lightweight, text-based data format used to
represent structured data based on JavaScript object syntax. It is primarily used to exchange
data between a server and a client in a human-readable and machine-readable format.
JSON is often used in web applications for transmitting data between a web server and a client,
especially in APIs (Application Programming Interfaces) or when fetching data from a server
without refreshing the entire page (AJAX).
________________________________________________________________________
7)
Servlets are considered a better choice than CGI for modern web applications because
they offer higher performance, better scalability, easier development, and more robust
management of resources. While CGI has been largely replaced by more efficient technologies
like servlets, it may still be useful for simple or legacy applications. However, Servlets are the
preferred approach for handling dynamic content in modern, large-scale web systems.
_________________________________________________________________________
8)
Controller: Manages the user input, updates the Model, and refreshes the View.