Placements roadmap
Databases
Keys, normal forms, transactions and indexes: asked in almost every core CS round. 3 topics, about 11 hours.
Keys, ER models and normalisation
About 4 h.
- Explain primary, candidate and foreign keys
- Normalise a table to 3NF and BCNF and say what each form prevents
Visualisers: Normalisation, ER to relational
Transactions, ACID and concurrency
About 4 h.
- Explain each ACID property with an example of it failing
- Describe dirty reads, lost updates and how locking prevents them
Visualisers: Serialisability, Concurrency control, Log-based recovery
Indexing
About 3 h.
- Explain why B+ trees suit disks and when an index hurts
- Compare a hash index with a B+ tree index