Crash Course · Beginner → Advanced
Software Engineering and Software Project Management: Crash Course
From the SDLC and process models to requirements, design principles, testing, DevOps, estimation with COCOMO and function points, software metrics and risk — everything you need for exams and interviews.
Beginner → Advanced17 min readInterview Q&A
- In One Line
- The Software Development Life Cycle (SDLC)
- SDLC Process Models
- Requirements Engineering
- Software Design Principles
- Software Testing
- Version Control, CI/CD and DevOps
- Estimation with COCOMO
- Function Point Analysis
- Software Metrics and Quality
- Risk, Teams and Brooks’s Law
- Deep-Dive Lessons: Requirements and Design Modelling
- Key Takeaways
- Interview Questions
- Exam Quick Revision
- Continue the Business Administration Path
In One Line
The Software Development Life Cycle (SDLC)
- Requirements — what the software must do (SRS document).
- Design — architecture, modules, database and interfaces.
- Implementation — writing and reviewing code.
- Testing — finding defects and checking requirements.
- Deployment — releasing to users.
- Maintenance — fixes, updates and improvements — often the largest share of total lifetime cost.
SDLC Process Models
| Model | Idea | Use when |
|---|---|---|
| Waterfall | Phases in strict sequence. | Stable, well-understood requirements. |
| V-model | Each development phase has a matching test phase. | Safety-critical systems needing strict verification. |
| Incremental | Build and deliver in pieces. | Early partial delivery is valuable. |
| Spiral | Repeated cycles with risk analysis in each. | Large, high-risk projects. |
| Prototyping | Build a quick model to clarify needs. | Unclear user requirements. |
| Agile (Scrum, Kanban, XP) | Short iterations with continuous feedback. | Changing requirements, fast feedback needed. |
See Scrum roles, events and Kanban in detail in Project Management: Waterfall, Agile and Scrum.
Requirements Engineering
- Functional requirements — what the system does: “Users can reset their password by email.”
- Non-functional requirements — how well it does it: performance, security, usability, availability (“99.9% uptime”).
- Elicit — interviews, workshops, observation, surveys.
- Analyse — remove conflicts, prioritise (MoSCoW: Must, Should, Could, Won’t).
- Specify — write the SRS or user stories with acceptance criteria.
- Validate — review with stakeholders before building.
Software Design Principles
| Cohesion | How closely the parts of one module belong together — aim high. |
| Coupling | How much modules depend on each other — aim low. |
| Abstraction | Hide details behind simple interfaces. |
| Modularity | Split the system into independent, replaceable parts. |
SOLID (object-oriented design): Single responsibility · Open for extension, closed for modification · Liskov substitution · Interface segregation · Dependency inversion.
Software Testing
| Level | Tests | Usually by |
|---|---|---|
| Unit | Single functions or classes | Developers |
| Integration | Modules working together | Developers / testers |
| System | The complete system against requirements | Testers |
| Acceptance (UAT) | Whether users accept it | Users / client |
- Black-box testing checks inputs and outputs without looking at the code; white-box testing uses knowledge of the code paths.
- Regression testing re-checks old features after changes.
- Verification = “are we building the product right?”; validation = “are we building the right product?”.
Version Control, CI/CD and DevOps
- Version control (Git) tracks every change and lets teams work in branches.
- Continuous integration (CI) — every change is merged often and built and tested automatically.
- Continuous delivery / deployment (CD) — tested code is always ready to release, or released automatically.
- DevOps — development and operations share responsibility for building, releasing and running software.
git checkout -b feature/login
# ...edit code...
git add .
git commit -m "Add login form"
git push origin feature/login # then open a pull request; CI runs the tests
Estimation with COCOMO
Barry Boehm’s basic COCOMO estimates effort from program size.
| E | Effort in person-months. |
| KLOC | Thousands of lines of code (estimated). |
| D | Development time in months. |
| a, b, c, d | Constants by project type. Organic (small, familiar team): a = 2.4, b = 1.05, c = 2.5, d = 0.38. |
Example (organic, 10 KLOC):
- E = 2.4 × 101.05 = 2.4 × 11.22 ≈ 26.9 person-months
- D = 2.5 × 26.90.38 ≈ 2.5 × 3.50 ≈ 8.7 months
- People ≈ 26.9 ÷ 8.7 ≈ 3 developers
Other modes: semi-detached (a = 3.0, b = 1.12) and embedded (a = 3.6, b = 1.20).
Function Point Analysis
Function points (FP) measure size by what the software does for the user, so they work before code exists and in any language. You count five types — external inputs, external outputs, external inquiries, internal logical files and external interface files — weight them by complexity, and adjust for general system characteristics.
Function points are then converted into effort using historical productivity, e.g. hours per FP.
Software Metrics and Quality
| Defect density | Defects ÷ KLOC (or per FP). 30 defects in 15 KLOC = 2 defects/KLOC. |
| Cyclomatic complexity | Number of independent paths through code (McCabe): V(G) = E − N + 2P. Lower is easier to test. |
| Code coverage | Share of code executed by tests. |
| Velocity | Story points completed per sprint. |
| Lead time / deployment frequency | How fast and how often changes reach users (DevOps metrics). |
Risk, Teams and Brooks’s Law
- Common risks: unclear requirements, changing scope, unrealistic deadlines, key-person dependency, new technology, poor estimates.
- Brooks’s law: “Adding people to a late software project makes it later” — new members need onboarding, and communication paths grow as n(n − 1)/2.
- Configuration management: control versions of code, documents and environments so every release can be reproduced.
Deep-Dive Lessons: Requirements and Design Modelling
Software Requirements Specification (SRS)
IEEE template and a full sample SRS
UML Diagrams
Use case, class, sequence, activity, state
ER Diagrams & Data Flow Diagrams
Database design and DFD levels
Business Analysis & Requirements
Elicitation, BRD, BPMN, user stories
Key Takeaways
- SDLC: requirements → design → code → test → deploy → maintain.
- Choose the model by requirement stability and risk.
- High cohesion, low coupling, SOLID.
- Test at unit, integration, system and acceptance levels.
- COCOMO: E = a × KLOCb; function points measure functionality.
- Adding people late can delay a project (Brooks’s law).
Interview Questions
What is the SDLC?
The software development life cycle: requirements, design, implementation, testing, deployment and maintenance.
Compare Waterfall and Agile.
Waterfall runs phases in sequence with fixed requirements; Agile delivers in short iterations and adapts to change with continuous customer feedback.
What is the difference between functional and non-functional requirements?
Functional requirements describe what the system does; non-functional requirements describe qualities such as performance, security and usability.
Explain coupling and cohesion.
Cohesion is how related the elements inside a module are (should be high); coupling is how dependent modules are on each other (should be low).
What is the difference between verification and validation?
Verification checks that the product is built correctly to its specification; validation checks that it is the right product for users.
Estimate effort with basic COCOMO for a 10 KLOC organic project.
E = 2.4 × 10^1.05 ≈ 26.9 person-months; D = 2.5 × 26.9^0.38 ≈ 8.7 months; about 3 people.
What is CI/CD?
Continuous integration automatically builds and tests every merged change; continuous delivery/deployment keeps code releasable or releases it automatically.
What is Brooks’s law?
Adding people to a late software project makes it later, because of onboarding time and more communication paths.
Exam Quick Revision
- Software engineering = systematic approach to building software.
- SDLC: requirements, design, implementation, testing, deployment, maintenance.
- Models: Waterfall, V, incremental, spiral, prototyping, Agile.
- MoSCoW: Must, Should, Could, Won’t.
- High cohesion, low coupling; SOLID.
- Testing: unit → integration → system → acceptance.
- COCOMO organic: E = 2.4 KLOC^1.05, D = 2.5 E^0.38.
- Defect density = defects ÷ KLOC.

