1. 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.
2. Which of the following tools is used for task automation in frontend development?
A. Webpack
B. Node.js
C. Git
D. Flask
Answer: a) Webpack
Rationale: Webpack is a module bundler and task automation tool commonly used to
bundle JavaScript, CSS, and other assets in frontend development.
,3. What is the primary purpose of Webpack in frontend development?
A. To bundle and optimize assets
B. To handle routing
C. To manage database queries
D. To style web pages
Answer: a) To bundle and optimize assets
Rationale: Webpack is a tool that bundles JavaScript, CSS, images, and other assets
into optimized files for use in a web application.
4. Which of the following is used to send data to a server using an HTTP POST
request?
A. GET method
B. PUT method
C. POST method
D. DELETE method
Answer: c) POST method
Rationale: The POST method is used to send data to the server, often for creating or
updating resources.
, 5. What is the purpose of middleware in an Express.js application?
A. To fetch data from a database
B. To handle HTTP requests and responses
C. To manage static files
D. To define routes
Answer: b) To handle HTTP requests and responses
Rationale: Middleware functions in Express.js process requests before they reach the
route handler, allowing for tasks like authentication, logging, and data validation.
6. What is the purpose of the RESTful API in full-stack development?
A. To create server-side applications
B. To manage databases
C. To allow communication between frontend and backend
D. To style web pages
Answer: c) To allow communication between frontend and backend
Rationale: RESTful APIs are used for communication between the client (frontend)
and the server (backend) in a standardized way.
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.
2. Which of the following tools is used for task automation in frontend development?
A. Webpack
B. Node.js
C. Git
D. Flask
Answer: a) Webpack
Rationale: Webpack is a module bundler and task automation tool commonly used to
bundle JavaScript, CSS, and other assets in frontend development.
,3. What is the primary purpose of Webpack in frontend development?
A. To bundle and optimize assets
B. To handle routing
C. To manage database queries
D. To style web pages
Answer: a) To bundle and optimize assets
Rationale: Webpack is a tool that bundles JavaScript, CSS, images, and other assets
into optimized files for use in a web application.
4. Which of the following is used to send data to a server using an HTTP POST
request?
A. GET method
B. PUT method
C. POST method
D. DELETE method
Answer: c) POST method
Rationale: The POST method is used to send data to the server, often for creating or
updating resources.
, 5. What is the purpose of middleware in an Express.js application?
A. To fetch data from a database
B. To handle HTTP requests and responses
C. To manage static files
D. To define routes
Answer: b) To handle HTTP requests and responses
Rationale: Middleware functions in Express.js process requests before they reach the
route handler, allowing for tasks like authentication, logging, and data validation.
6. What is the purpose of the RESTful API in full-stack development?
A. To create server-side applications
B. To manage databases
C. To allow communication between frontend and backend
D. To style web pages
Answer: c) To allow communication between frontend and backend
Rationale: RESTful APIs are used for communication between the client (frontend)
and the server (backend) in a standardized way.