1. What is the purpose of the 'npm install' command?
A. To create a new project
B. To install project dependencies
C. To deploy the project
D. To uninstall a package
Answer: b) To install project dependencies
Rationale: The npm install command is used to install the dependencies listed in the
package.json file of a Node.js project.
2. Which of the following is used to structure and manage the frontend part of a web
application?
A. React
B. Django
C. Flask
D. Node.js
Answer: a) React
,Rationale: React is a frontend library used for building the UI and managing the
structure of the web application.
3. Which of the following is an essential feature of the Express.js framework?
A. Component-based architecture
B. Middleware support
C. Two-way data binding
D. Data modeling
Answer: b) Middleware support
Rationale: Express.js is a web framework for Node.js that provides middleware
support to handle requests, responses, and routing.
4. Which of the following HTTP methods is used to delete a resource on the server?
A. PUT
B. GET
C. DELETE
D. PATCH
Answer: c) DELETE
Rationale: The DELETE HTTP method is used to remove a resource from the server.
, 5. Which of the following is an example of a version control system?
A. Git
B. Node.js
C. Django
D. Angular
Answer: a) Git
Rationale: Git is a distributed version control system used to track changes in source
code during development.
6. Which of the following is a feature of SQL databases?
A. Schema-less structure
B. Relational data model with tables and rows
C. Horizontal scaling
D. JSON-like storage format
Answer: b) Relational data model with tables and rows
Rationale: SQL databases are relational and organize data into tables with rows and
columns, enforcing a structured schema.
A. To create a new project
B. To install project dependencies
C. To deploy the project
D. To uninstall a package
Answer: b) To install project dependencies
Rationale: The npm install command is used to install the dependencies listed in the
package.json file of a Node.js project.
2. Which of the following is used to structure and manage the frontend part of a web
application?
A. React
B. Django
C. Flask
D. Node.js
Answer: a) React
,Rationale: React is a frontend library used for building the UI and managing the
structure of the web application.
3. Which of the following is an essential feature of the Express.js framework?
A. Component-based architecture
B. Middleware support
C. Two-way data binding
D. Data modeling
Answer: b) Middleware support
Rationale: Express.js is a web framework for Node.js that provides middleware
support to handle requests, responses, and routing.
4. Which of the following HTTP methods is used to delete a resource on the server?
A. PUT
B. GET
C. DELETE
D. PATCH
Answer: c) DELETE
Rationale: The DELETE HTTP method is used to remove a resource from the server.
, 5. Which of the following is an example of a version control system?
A. Git
B. Node.js
C. Django
D. Angular
Answer: a) Git
Rationale: Git is a distributed version control system used to track changes in source
code during development.
6. Which of the following is a feature of SQL databases?
A. Schema-less structure
B. Relational data model with tables and rows
C. Horizontal scaling
D. JSON-like storage format
Answer: b) Relational data model with tables and rows
Rationale: SQL databases are relational and organize data into tables with rows and
columns, enforcing a structured schema.