Skip to main content
CodingPrepGuide.com • Official 1-Page Reference

CS Fundamentals 1-Page Printable Cheat Sheet (OS, DBMS, CN, OOP)

High-Yield Formulae, Key Trade-offs, and Canonical Questions across OS, DBMS, CN, and OOP

⚡ Quick-Decision Recognition Triggers
› Deadlock 4 Conditions: Mutual exclusion, Hold and wait, No preemption, Circular wait (Break any 1 to prevent)
› ACID: Atomicity (all/none), Consistency (state rules), Isolation (concurrency levels), Durability (disk write)
› TCP 3-Way Handshake: SYN -> SYN-ACK -> ACK. Termination is 4-way because both directions close independently
› Prefer Composition over Inheritance to eliminate fragile base class hierarchy and allow runtime swapping
› DELETE is DML (row-by-row, rollback, triggers); TRUNCATE is DDL (page deallocation, fast, no rollback in DDL)

Operating Systems (OS) Essentials 1-Page Cheatsheet

Database Management Systems (DBMS) Essentials 1-Page Cheatsheet

Computer Networks (CN) Essentials 1-Page Cheatsheet

Object-Oriented Programming (OOP) & Design 1-Page Cheatsheet

CodingPrepGuide.com • Free Coding Interview Preparation • No Sign-Up Required
Buy me a coffee
Daily Practice
0/0