20CS521 FULL STACK DEVELOPMENT – IMPORTANT QUESTIONS & ANSWERS
1. What is Full Stack Development?
Full Stack Development refers to developing both frontend (UI) and backend (server, database). A full
stack developer works with HTML, CSS, JS, React (frontend) and [Link]/Spring Boot, databases
(backend).
2. Explain Client-Server Architecture.
Client sends request → Server processes → Database stores/retrieves data → Server sends response
back. It follows request-response model.
3. What is MVC Architecture?
Model – handles data.
View – user interface.
Controller – handles user input and connects Model & View.
4. What is REST API?
REST (Representational State Transfer) is an architectural style using HTTP methods (GET, POST,
PUT, DELETE) for communication between client & server.
5. Difference between GET and POST.
GET: Data in URL, less secure, used for reading.
POST: Data in body, secure, used for creating.
6. Explain [Link] & its features.
[Link] is a server-side JS runtime built on V8 engine. Features: non-blocking I/O, event-driven,
scalable, single-threaded.
7. What is [Link]?
A [Link] framework used to build REST APIs. Features: routing, middleware, HTTP handling.
8. What is Middleware?
A function that runs between request and response. Used for auth, logging, validation.
9. SQL vs NoSQL.
SQL: Structured, tables, ACID, relational.
NoSQL: Document/Key-value, flexible schema, scalable.
10. MongoDB CRUD Operations.
Create: [Link]()
Read: [Link]()
Update: [Link]()
Delete: [Link]()
11. What is ACID?
Atomicity, Consistency, Isolation, Durability – properties ensuring reliable database transactions.
12. Define Microservices.
Architecture where application is broken into small independent services communicating via API.
13. Monolithic vs Microservices.
Monolithic: Single large codebase, tightly coupled.
Microservices: Independent services, scalable, loosely coupled.
14. What is CI/CD?
CI – Continuous Integration: automating build & test.
CD – Continuous Deployment: automatic deployment pipeline.
15. Docker Components.
Image, Container, Dockerfile, Registry, Engine.
16. Write User Stories (Example: Online Shopping App)
"As a user, I want to login so that I can access my account."
"As a user, I want to add items to cart so I can purchase."
17. Write Test Cases (Example)
Test Case 1: Verify login with valid credentials → Expected: success.
Test Case 2: Add item to cart → Expected: item appears in cart.
18. What is Spring Boot?
Spring Boot is a Java framework to build REST APIs quickly with auto-configuration and embedded
server.
19. Controller Example.
@RestController
class ProductController {
@GetMapping("/products")
public List getAll(){ return [Link](); }
20. What is ORM?
Object Relational Mapping – maps objects in code to database tables (Hibernate).