Databases
- Hashing & indexing: Chaining, linear, quadratic and double hashing, plus extendible hashing.
- ER to relational: Draw an ER diagram in Chen notation, then map it to tables one rule at a time, with every key shown.
- SQL joins: INNER, OUTER, SEMI and ANTI joins row by row, plus nested-loop, block nested-loop, sort-merge and hash join with I/O costs.
- Query processing: SQL to relational algebra trees, rewritten step by step: push selections down, reorder joins, estimate sizes.
- Normalisation: Closures, candidate keys, 1NF to BCNF, minimal cover and decompositions.
- B-tree: Keys in every node: median splits, predecessor and successor swaps, borrows and merges (CLRS t).
- B+ tree: Insert, delete and search with every split, borrow and merge animated.
- Serialisability: Precedence graphs, conflict and view serialisability, recoverable and strict schedules.
- Concurrency control: Two-phase locking with a lock table and deadlocks, timestamp ordering and validation, step by step.
- Log-based recovery: Crash anywhere in the log, then watch redo repeat history and undo roll back the losers.