Software Engineering formula sheet
Every key software engineering formula on one printable page, with symbols and SI units. Save it as a PDF for revision.
- Algorithm complexity (Big-O): calculator
- Amdahl's law (parallel speed-up): calculator
- Number base converter: calculator
- IP subnet calculator: calculator
- Password strength (entropy): calculator
- Big-O growth order: O(1) < O(log n) < O(n) < O(n log n) < O(n²) < O(2ⁿ) < O(n!)
- Binary search: T(n) = O(log₂ n) (sorted input)
- Comparison sort lower bound: Ω(n log n) (merge sort, heap sort reach it)
- Master theorem: T(n) = a·T(n/b) + O(n^d): d > log_b a → O(n^d); d = log_b a → O(n^d log n); d < log_b a → O(n^(log_b a))
- Amdahl's law: S = 1 / [(1 − p) + p / N]
- Gustafson's law: S = N − (1 − p)(N − 1) (scaled problem size)
- Number bases: value = Σ dᵢ · baseⁱ; n bits hold 0 … 2ⁿ − 1
- Two's complement range: −2^(n−1) … 2^(n−1) − 1 (n-bit signed integer)
- Hash table load factor: α = n / m (keep α ≲ 0.75)
- Cache hit ratio and AMAT: h = hits / accesses, AMAT = t_hit + (1 − h) · t_miss
- Throughput and latency: Little's law: L = λ · W
- Availability target: 99.9 % ≈ 8.77 h/year down, 99.99 % ≈ 52.6 min/year
- Information entropy: H = −Σ pᵢ · log₂ pᵢ (bits)
- Cyclomatic complexity: M = E − N + 2P (edges, nodes, components)