Software Engineering: System modeling, system engineering process, life cycle models, design and implementation, validation, evolution, automated process support. Software requirements, SRS, feasibility studies, elicitation and analysis, validation, management. System models: context models, behavior models, data models, object models. Object-oriented design, design evolution, real-time software design, critical systems specifications, critical system development, software testing.
System design steps (Sommerville)
Partition requirements → identify sub-systems → assign requirements → specify functionality → define interfaces
V-model pairs
Requirements ↔ acceptance, system design ↔ system test, architectural design ↔ integration, module design ↔ unit
Spiral model (Boehm, 1986/88)
Risk-driven meta-model; each loop: objective setting → risk assessment & reduction → development & validation → planning
RUP phases
Inception → elaboration → construction → transition (milestones: LCO, LCA, IOC, product release)
Scrum 3-3-5
Product Owner, Scrum Master, Developers; product backlog, sprint backlog, increment; sprint, planning, daily scrum (15 min), review, retrospective
IEEE 830 SRS
1 Introduction, 2 Overall description, 3 Specific requirements; correct, unambiguous, complete, consistent, ranked, verifiable, modifiable, traceable
Function points
EI 3/4/6, EO 4/5/7, EQ 3/4/6, ILF 7/10/15, EIF 5/7/10; FP = UFP × (0.65 + 0.01 × ΣFᵢ), 14 GSCs rated 0–5
Basic COCOMO (Boehm, 1981)
E = a·KLOCᵇ PM, D = 2.5·Eᵈ months; organic 2.4/1.05/0.38, semi-detached 3.0/1.12/0.35, embedded 3.6/1.20/0.32
Intermediate COCOMO
E = a·KLOCᵇ × EAF (15 cost drivers); a = 3.2 / 3.0 / 2.8 with the same b (1.05 / 1.12 / 1.20)
Putnam (SLIM)
Effort K = Size³ ÷ (Cₖ³ × t_d⁴) — effort ∝ 1/t_d⁴, so schedule compression is costly
Payback and NPV
Payback = investment ÷ annual net benefit; NPV = Σ benefitₜ/(1 + i)ᵗ − investment (accept if > 0)
DFD rules
No store→store, entity→store or entity→entity flows; no black holes or miracles; levels must balance; context = level-0 DFD
UML 2.5
14 diagrams: 7 structural (class, object, component, deployment, package, composite structure, profile) + 7 behavioural
Coupling (best → worst)
Data, stamp, control, external, common, content
Cohesion (best → worst)
Functional, sequential, communicational, procedural, temporal, logical, coincidental
GoF design patterns
23 = 5 creational + 7 structural + 11 behavioural (Gamma, Helm, Johnson, Vlissides, 1994)
Rate-monotonic test
U = Σ Cᵢ/Tᵢ ≤ n(2^(1/n) − 1): 0.828 (n = 2), 0.780 (n = 3), → 0.693; EDF needs U ≤ 1
Reliability metrics
POFOD, ROCOF (≈ 1/MTTF), MTTF; A = MTTF ÷ (MTTF + MTTR); MTBF = MTTF + MTTR; 99.9% ≈ 8.76 h down a year
TMR reliability
R = 3R² − 2R³ with a perfect voter (R = 0.9 → 0.972); worse than one module if R < 0.5
Cyclomatic complexity (McCabe, 1976)
V(G) = E − N + 2P = predicate nodes + 1 = regions = number of basis paths
Boundary value analysis
n variables: normal 4n + 1, robust 6n + 1, worst-case 5ⁿ, robust worst-case 7ⁿ
Test metrics
DRE = E ÷ (E + D); defect density = defects ÷ KLOC; mutation score = killed ÷ (mutants − equivalent)
Maintenance types
Corrective (faults), adaptive (environment), perfective (new functions — largest share), preventive (future maintainability)
PERT & CPM
tₑ = (a + 4m + b)/6, σ = (b − a)/6, path variance = Σσ²; float = LS − ES; critical path = longest (zero float)
CMM levels
1 Initial, 2 Repeatable (CMMI: Managed), 3 Defined, 4 Managed (CMMI: Quantitatively Managed), 5 Optimizing