IT35012 M
IT35012 M
2-MARKS
UNIT - I
i) GET: The GET request is typically used to retrieve data from the server. This data can be in the html
files or images.
ii) POST: The POST request is used for sending the data to the server. For example -
9)What is MVC?
1. Model: This part of the architecture is responsible for managing the application
data. The module responds to the request made from view. The model gives
instructions to controller to update when the response is made.
2. View: This part takes care of the presentation of data. The data is presented in des
format with the help of view. This is a script based system using JSP, ASP, PHP and
so on.
3. Controller: The controller receives input, validates it and then performs business
operation that modify the state of the data model. The controller basically responds to
user required and performs interaction with the model.
UNIT - II
2 .What is NPM?
The NPM stands for Node Package Manager. NPM consists of two main
parts:
1) A CLI (command-line interface) tool for publishing and downloading packages,
2) An online repository that hosts JavaScript packages
9. What is QueryString?
The query string specifies the parameters of the data that is being queried from a website's database. Each
query string is made up of a parameter and a value joined by the equals (-) sign. In case of multiple
parameters, query strings are joined using the ampersand (&) sign. The parameter can be a number,
string, encrypted value or any other form of data on the database.
UNIT - III
1.What is NOSQL?
-NoSQL stands for not only SQL,
-It is non tabular database system that store da differently than relational tables.
-There are various types of NOSQL databases such document, key-value, wide column and graph
NoSQL stands for not only SQL,
It is nontabular database system that store da differently than relational tables.
There are various types of NOSQL databases such document, key-value, wicolumn and graph.
Using NOSQL we can maintain flexible schemas and these schemas can be scaled
-Using NOSQL we can maintain flexible schemas and these schemas can be scaled easily with large
amount of data.
3. Why NoSQL?
The concept of NoSQL (Not Only SQL) consists of technologies that provide storage and retrieval
without the tightly constrained models of traditional SQL relational databases.
The motivation behind NoSQL is mainly simplified designs, horizontal scaling, and finer control of
the availability of data
UNIT - IV
1) Define Express.
1. Express, often referred to as "Express.js" or simply "Express," is a popular and minimalist web application
framework for Node.js.
2.It provides a robust set of features and tools for building web and mobile applications, making it easier to develop server
-side applications and APIs (Application Programming Interfaces).
3) What is Routing?
1.Routing in Express is the process of defining how your application responds to different HTTP requests
for specific URLs (Uniform Resource Locators).
2.Express provides a flexible and easy to use routing system that allows youto map URLs to specific actions or
controllers in your application.
5) What are the methods for implementing an express module? Give an example.
In Express.js, you can implement various methods or HTTP request methods to define routes and handle different
types of HTTP requests. Express provides methods that correspond to common HTTP request methods such as GET,
POST,PUT,DELETE, and more. These methods are used to create routes that respond to specific HTTP requests.
Angular is a popular open-source front-end web application framework developed and maintained by Google
and a community of individual developers and corporations.
It is designed to simplify the development of dynamic, single-page web applications (SPAs) and provide a
structured and organized way to build complex, client-side applications.
UNIT - V
Bootstrap isa free, open source front-end development framework for the creationof websites and web apps.
Designed to enable responsive development of mobile-first websites, Bootstrap provides a collection of syntax for template
designs. The most popular CSS framework, has been adapted to React and the project is called React
Bootstrap
3. What is JSX ?
JSX (JavaScript XML) is a syntax extension for JavaScript used in React to describe the UI structure. It
allows developers to write HTML-like code within JavaScript, making it easier to create and visualize
React components.
Rendering UI Components:
The render() method in React is used to define the structure of the component's user interface. It returns a
React element that describes how the component should appear on the screen.
Re-Rendering on State/Prop Changes:
When the state or props of a component change, the render() method is automatically called to update the
UI, ensuring it reflects the latest data. This makes React applications highly dynamic and responsive.
5. Define REST
REST (Representational State Transfer) is an architectural style for designing networked applications.
It relies on a stateless, client-server communication model using standard HTTP methods like GET,
POST, PUT, and DELETE to perform operations on resources.
6. Define SSR
SSR (Server-Side Rendering) is a technique where a web application's HTML content is generated on
the server and sent to the client. This contrasts with client-side rendering, where JavaScript generates the
content in the browser.
7. What is Modularization ?
Modularization is the process of dividing a program or system into smaller, manageable, and
independent units called modules. Each module handles a specific functionality and can be developed,
tested, and maintained separately.
8. What is Webpack ?
Webpack is a popular open-source module bundler and build tool for JavaScript applications. It takes
modules with dependencies (JavaScript, CSS, images, etc.) and bundles them into a single or multiple
optimized files for deployment.
React Router is a standard library for managing navigation and routing in React applications. It allows
developers to create single-page applications (SPAs) with dynamic, declarative routing, enabling
seamless navigation without refreshing the page.
The MERN Stack is a popular technology stack used for building full-stack web applications. It is named
after its four key components:
MongoDB: A NoSQL database for storing application data in a flexible, JSON-like format.
Express.js: A web application framework for Node.js, used to build APIs and handle server-side logic.
React: A JavaScript library for building dynamic and interactive user interfaces (UI) on the frontend.
Node.js: A JavaScript runtime environment that executes JavaScript code on the server.