1. Which of the following best describes the concept of REST in full-stack
development?
A. A communication protocol based on WebSockets
B. A stateful client-server architecture
C. A set of architectural principles for designing networked applications
D. A file format used for transferring data
Answer: c) A set of architectural principles for designing networked applications
Rationale: REST (Representational State Transfer) is a set of principles for building
networked applications, typically through stateless communication using HTTP
methods.
2. Which of the following is a frontend JavaScript library used for building user
interfaces?
A. Node.js
B. Angular
C. React
D. Express
,Answer: c) React
Rationale: React is a popular JavaScript library for building user interfaces,
particularly for single-page applications (SPAs).
3. Which of the following is a CSS framework used to style web pages?
A. Bootstrap
B. React
C. Flask
D. Express
Answer: a) Bootstrap
Rationale: Bootstrap is a widely used CSS framework that provides pre-designed
components for building responsive and mobile-first web pages.
4. Which of the following is an example of a frontend JavaScript framework?
A. Django
B. Express
C. Angular
D. MongoDB
Answer: c) Angular
, Rationale: Angular is a frontend JavaScript framework used for building dynamic,
single-page applications (SPAs).
5. Which is a key feature of React in frontend development?
A. Component-based architecture
B. Database management
C. File management
D. Server-side rendering
Answer: a) Component-based architecture
Rationale: React uses a component-based architecture where the UI is broken into
reusable components.
6. 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
development?
A. A communication protocol based on WebSockets
B. A stateful client-server architecture
C. A set of architectural principles for designing networked applications
D. A file format used for transferring data
Answer: c) A set of architectural principles for designing networked applications
Rationale: REST (Representational State Transfer) is a set of principles for building
networked applications, typically through stateless communication using HTTP
methods.
2. Which of the following is a frontend JavaScript library used for building user
interfaces?
A. Node.js
B. Angular
C. React
D. Express
,Answer: c) React
Rationale: React is a popular JavaScript library for building user interfaces,
particularly for single-page applications (SPAs).
3. Which of the following is a CSS framework used to style web pages?
A. Bootstrap
B. React
C. Flask
D. Express
Answer: a) Bootstrap
Rationale: Bootstrap is a widely used CSS framework that provides pre-designed
components for building responsive and mobile-first web pages.
4. Which of the following is an example of a frontend JavaScript framework?
A. Django
B. Express
C. Angular
D. MongoDB
Answer: c) Angular
, Rationale: Angular is a frontend JavaScript framework used for building dynamic,
single-page applications (SPAs).
5. Which is a key feature of React in frontend development?
A. Component-based architecture
B. Database management
C. File management
D. Server-side rendering
Answer: a) Component-based architecture
Rationale: React uses a component-based architecture where the UI is broken into
reusable components.
6. 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