Loading...
Loading...
The SDLC is a process for planning, creating, testing, and deploying software.
Phases:
Sequential, each phase completes before next begins.
Requirements → Design → Implementation → Testing → Deployment → Maintenance
Advantages: Simple, well-documented, clear milestones Disadvantages: Inflexible to changes, late testing, no working product until end
Best for: Fixed requirements, short projects, government/defense projects
Build a prototype first, get feedback, then build final product.
Combines Waterfall + Prototyping with risk analysis at each cycle.
4 quadrants per spiral:
Best for: Large, high-risk projects where risks must be managed
Iterative development in short cycles (sprints, usually 2-4 weeks).
Core Values (Agile Manifesto):
Scrum Framework:
Roles: Product Owner, Scrum Master, Development Team
Combines Development and Operations — continuous integration, delivery, and deployment.
CI/CD Pipeline: Code → Build → Test → Deploy → Monitor
Types of Requirements:
Requirements Document (SRS — Software Requirements Specification):
Use Case Specification:
Structural Diagrams (static view):
Behavioral Diagrams (dynamic view):
| Relationship | Symbol | Meaning | |---|---|---| | Association | → | General relationship | | Aggregation | ◇→ | HAS-A (weak, part can exist independently) | | Composition | ◆→ | HAS-A (strong, part cannot exist without whole) | | Inheritance | △→ | IS-A relationship | | Dependency | --→ | Uses relationship |
Levels of Testing:
Black Box Testing: Tests without knowledge of internal code
White Box Testing (Glass Box): Tests with knowledge of internal code
Equivalence Partitioning: Divide inputs into equivalent groups; test one value from each
Boundary Value Analysis: Test values at boundaries
Regression Testing: Re-running tests after code changes to ensure nothing broke
Performance Testing Types:
Size Metrics:
Quality Metrics:
Project Metrics:
SOLID Principles:
Design Patterns (Gang of Four):
Q1 (2023): Compare Waterfall and Agile with a real-world example. Building a hospital management system:
Q2 (2023): What is Cyclomatic Complexity? Calculate for a function with 5 if-statements. Cyclomatic Complexity = Number of independent paths = number of binary decisions + 1 = 5 + 1 = 6. Represents how many test cases needed for full branch coverage.
Q3 (2022): Explain the difference between black box and white box testing with examples. Black box: tester enters username/password and checks if login works — no code knowledge. White box: tester examines code to see which branches of if/else are executed and writes tests to cover all branches.
Complete Software Engineering notes for B.Tech CS Semester 6 — SDLC models, Agile, Scrum, UML diagrams, testing techniques, software metrics, and project management.
52 pages · 2.6 MB · Updated 2026-03-11
Waterfall: sequential phases, requirements fixed, delivery at end, poor for changing requirements. Agile: iterative sprints, requirements flexible, continuous delivery, best for modern projects.
Verification: Are we building the product right? (internal process checks). Validation: Are we building the right product? (meets user requirements).
A UML behavioral diagram showing the relationship between actors (users/systems) and use cases (system functionalities). Shows WHAT the system does, not HOW.
Compiler Design — Complete Notes CS Sem 6
Compiler Design
Machine Learning Complete Notes — B.Tech CS Sem 6
Machine Learning
DBMS Complete Notes — B.Tech CS Sem 4
Database Management Systems
Engineering Mathematics 1 — Calculus, Matrices, Differential Equations
Engineering Mathematics 1
Programming Fundamentals Using C — Complete Notes
Programming Fundamentals (C)
Your feedback helps us improve notes and tutorials.