34.3 KB · commit 40bb182
T01–T13)$$ display math KaTeX fences, tagged code blocks, verified derivations, zero broken links/images)../Topicwise_answers_exam_style/ — Concise, mark-calibrated exam sheet solutions for RUET finals.../Topicwise_answers_explaination/ — In-depth pedagogical step-by-step proofs, common pitfalls, and examiner tips.../LectureSlides/00_Index.md — 8 digitized lecture decks (371 slides total).../PreviousYearQuestion/ — 7 RUET semester final papers (2017–2024) + 4 Class Tests (CT-01–CT-04).../syllabus.md — Official 8-unit RUET syllabus and cross-resource alignment matrix.../ECE2215_PYQ_Analysis_Report.md & ../subtopicwise_questions.md.| Part | Exercise Document | Topic ID & Name | Syllabus Unit | Source Chapters | Qs | Solved Exercise IDs | Direct RUET Exam Hits & Significance |
|---|---|---|---|---|---|---|---|
| 01 | T01_DB_Concepts_and_Architecture.md | T01 DB Concepts & Architecture | Unit 1 | Ch. 01, 02 | 15 | PE 1.1–1.5, EX 1.6–1.10, 1.12–1.15, 2.17 | DBMS vs File Systems, 3-Schema Architecture, DBA roles, Physical/Logical Data Independence |
| 02 | T02_Part1_ER_Modeling_Basics.md | T02 E-R & EER Modeling (Part 1) | Unit 2 | Ch. 06 | 13 | PE 6.1–6.4, 6.7, 6.9, 6.10, EX 6.5, 6.6, 6.13, 6.17–6.19 | PE 6.2 (2018 Q.2c), EX 6.17 (2020 Q.2c, 2021 Q.8c) — Entity vs Relationship sets, Weak entities |
| 03 | T02_Part2_ER_Scenarios_Reduction_EER.md | T02 E-R & EER Modeling (Part 2) | Unit 2 | Ch. 06 | 13 | PE 6.8, 6.12, EX 6.15, 6.16, 6.20–6.28 | Specialization/Generalization, Disjoint/Overlap constraints, Full schema reduction algorithms |
| 04 | T03_Relational_Model_Keys_and_Integrity.md | T03 Relational Model, Keys & Integrity | Unit 3 | Ch. 02, 03, 04, 06 | 14 | PE 2.1–2.4, 6.11, EX 2.10–2.13, 2.16, 3.19, 4.7, 4.9, 6.14 | EX 6.14 (2018 Q.2a, 2021 Q.2b, 2023 Q.3b) — Superkey vs Candidate key, Foreign keys, Referential integrity |
| 05 | T04_Relational_Algebra_and_Calculus.md | T04 Relational Algebra & Calculus | Unit 3 | Ch. 02 | 8 | PE 2.5–2.9, EX 2.14, 2.15, 2.18 | PE 2.6 (2017 Q.2a [8m]) — Relational Division (÷) derivation, TRC/DRC queries |
| 06 | T05_Part1_SQL_DDL_DML_Basics.md | T05 SQL: DDL & DML Basics (Part 1) | Unit 4 | Ch. 03, 04, 05 | 13 | PE 3.1, 3.3, 3.7, 3.10, 5.4, EX 3.12, 3.13, 3.17, 3.18, 3.23, 3.26, 4.5, 5.16 | DDL constraints, ON DELETE CASCADE, Three-valued logic (NULL), Safe data modifications |
| 07 | T05_Part2_SQL_Clauses_and_Aggregations.md | T05 SQL: Clauses & Aggregations (Part 2) | Unit 4 | Ch. 03, 04, 05 | 12 | PE 3.2, 3.5, 3.6, EX 3.11, 3.22, 3.30, 3.34, 4.22, 5.8–5.11 | ORDER BY, pattern matching (LIKE), GROUP BY, HAVING, CGPA computation formula |
| 08 | T05_Part3_SQL_Aggregations_and_Subqueries.md | T05 SQL: Extremes & Subqueries (Part 3) | Unit 4 | Ch. 03, 05 | 10 | PE 5.3, EX 3.20, 3.31–3.33, 3.35, 5.21–5.24 | Extremes without LIMIT/TOP, nested subqueries (NOT EXISTS, ALL), Recursive CTEs |
| 09 | T05_Part4_SQL_MultiTable_Business_Queries.md | T05 SQL: Multi-Table Enterprise Queries (Part 4) | Unit 4 | Ch. 03, 04 | 15 | PE 3.4, 3.8, 3.9, EX 3.14–3.16, 3.21, 3.24, 3.25, 3.27–3.29, 4.16–4.18 | PE 3.4 / EX 3.14 (2018 Q.3a, 2020 Q.7b, 2024 Q.5b) — Complex enterprise bank & employee schemas |
| 10 | T06_Joins_and_Views.md | T06 Joins and Views | Unit 4 | Ch. 04, 05 | 13 | PE 4.1–4.4, 5.6, EX 4.6, 4.10, 4.13–4.15, 4.19–4.21 | Outer Joins (Left ⟕, Right ⟖, Full ⟗), Updatable views & WITH CHECK OPTION |
| 11 | T07_Triggers_and_Stored_Procedures.md | T07 Triggers & Stored Procedures | Unit 4 | Ch. 04, 05, 09 | 14 | PE 4.8, 5.1, 5.2, 5.5, 5.7, EX 5.12–5.15, 5.17–5.20, 9.5 | ECA rules (AFTER INSERT, BEFORE UPDATE), cascading triggers, audit logging, JDBC statement leaks |
| 12 | T08_Part1_FDs_and_Armstrong_Axioms.md | T08 Normalization: FDs & Axioms (Part 1) | Unit 5 | Ch. 07 | 15 | PE 7.2–7.6, 7.8, 7.9, EX 7.18, 7.23–7.28, 7.31 | PE 7.6 (2021 Q.5b, CT-03 Q.1) — Formal Armstrong axiom derivations (Pseudotransitivity, Decomposition) |
| 13 | T08_Part2_Canonical_Cover_and_3NF.md | T08 Normalization: Canonical Cover & 3NF (Part 2) | Unit 5 | Ch. 07 | 15 | PE 7.1, 7.7, EX 7.10, 7.12–7.16, 7.19, 7.20, 7.22, 7.29, 7.32, 7.33, 7.38 | PE 7.7 (2021 Q.6b) — Canonical Cover (Fc) algorithm, 3NF synthesis algorithm |
| 14 | T08_Part3_BCNF_and_Advanced_Normalization.md | T08 Normalization: BCNF & Advanced (Part 3) | Unit 5 | Ch. 07 | 14 | EX 7.11, 7.17, 7.21, 7.30, 7.34–7.37, 7.39–7.44 | BCNF decomposition trees, Lossless-join verification, Dependency preservation trade-offs |
| 15 | T09_Transactions_ACID_and_Anomalies.md | T09 Transactions, ACID & Anomalies | Unit 6 | Ch. 01, 17, 18 | 9 | PE 17.2–17.4, EX 1.11, 17.12, 17.13, 18.13, 18.31, 18.32 | ACID properties, transaction states, Dirty Read, Lost Update, Phantom Read, Incorrect Summary |
| 16 | T10_Serializability.md | T10 Serializability & Precedence Graphs | Unit 6 | Ch. 17 | 15 | PE 17.5–17.11, EX 17.14–17.21 | EX 17.14 (2018 Q.6a), EX 17.15 (2017 Q.5c, 2019 Q.4a), PE 17.5 (2020 Q.6b), PE 17.6 (2018/20/23/24) |
| 17 | T11_Part1_Locking_Protocols.md | T11 Concurrency: Locking Modes (Part 1) | Unit 6 | Ch. 18 | 11 | PE 18.1, 18.6, 18.7, EX 18.9–18.11, 18.14–18.16, 18.19, 18.22 | Shared/Exclusive lock matrices, Lock conversion (S→X), Starvation prevention algorithms |
| 18 | T11_Part2_2PL_and_Lock_Conversions.md | T11 Concurrency: 2PL Mechanics (Part 2) | Unit 6 | Ch. 18 | 11 | PE 18.2–18.5, EX 18.23–18.25, 18.29, 18.33–18.35 | PE 18.2 (2017 Q.7a) — 2PL lock point theorem, Strict 2PL vs Rigorous 2PL, Tree protocol |
| 19 | T11_Part3_Deadlock_and_Timestamp_Ordering.md | T11 Concurrency: Deadlock & TSO (Part 3) | Unit 6 | Ch. 18 | 11 | PE 18.8, 18.12, 18.17, 18.18, EX 18.20, 18.21, 18.26–18.28, 18.30, 18.36 | EX 18.20 (2018 Q.5b), EX 18.26 (2018 Q.6b, 2024 Q.8b) — wait-die vs wound-wait, TSO restart timestamps |
| 20 | T12_Part1_Failure_Types_and_RAID_Intro.md | T12 Recovery: Failure & Storage (Part 1) | Unit 7 | Ch. 12, 19 | 14 | PE 12.1–12.3, 19.10, 19.12, EX 12.6–12.10, 19.14, 19.15, 19.26, 19.27 | Volatile vs Nonvolatile vs Stable storage, Disk head crashes, RAID 1 mirroring atomicity |
| 21 | T12_Part2_Recovery_Manager_and_Log_Recovery.md | T12 Recovery: Log Tracing & Manager (Part 2) | Unit 7 | Ch. 17, 19 | 14 | PE 17.1, 19.1–19.9, EX 19.11, 19.13, 19.16, 19.17 | PE 17.1 (2018 Q.8b) — Write-Ahead Logging (WAL), Steal/No-Force, Redo and Undo pass algorithms |
| 22 | T12_Part3_Checkpoints_and_RAID_Levels.md | T12 Recovery: Checkpoints, ARIES & RAID (Part 3) | Unit 7 | Ch. 12, 19 | 13 | PE 12.4, 12.5, EX 12.11–12.13, 19.18–19.25 | Fuzzy checkpoints, ARIES algorithm (Analysis, Redo, Undo), RAID 0/1/5/6 parity equations |
| 23 | T13_Part1_Security_and_Authorization_A.md | T13 Security: Privileges & Graphs (Part 1) | Unit 8 | Ch. 04, 09 | 15 | PE 9.1–9.4, 9.6, 9.7, 9.9–9.12, EX 4.11, 4.12, 4.23–4.25 | GRANT / REVOKE authorization graphs, Cascading revokes, RBAC roles, REFERENCES privilege |
| 24 | T13_Part2_Security_and_Authorization_B.md | T13 Security: Access & Governance (Part 2) | Unit 8 | Ch. 04, 09 | 14 | EX 4.26, 9.13–9.15, 9.17–9.26 | Virtual Private Database (VPD) row-level security, Non-monotonic authorization traps, Audit logging |
| 25 | T13_Part3_SQL_Injection_and_BTree_Indexing.md | T13 Security & Indexing: SQLi & B+-Trees (Part 3) | Unit 8 | Ch. 09, 14 | 15 | PE 9.8, 14.1–14.8, EX 9.16, 14.11, 14.13–14.16 | EX 9.16 (2020 Q.4a, 2021 Q.8b) — SQL Injection defenses (PreparedStatements), Dense vs Sparse indices, B+-tree node splits/merges |
| 26 | T13_Part4_Indexing_and_Hashing.md | T13 Indexing & Dynamic Hashing (Part 4) | Unit 8 | Ch. 14 | 13 | PE 14.9, 14.10, 14.12, EX 14.17–14.26 | Extendible dynamic hashing bucket doubling/splitting, Bitmap indices & existence bitmap masks |
| TOTAL | 26 Documents | All 13 Topics (T01–T13) | All 8 Units | Silberschatz 7e | 339 | 137 PE + 202 EX | 100% Complete Syllabus & PYQ Coverage |
T01_DB_Concepts_and_Architecture.md (15 problems)2017 Q.1a, 2018 Q.1a, 2019 Q.1a, 2020 Q.1a, 2021 Q.1a, 2023 Q.1a, 2024 Q.1a) and CT-01 Q.1.T02_Part1_ER_Modeling_Basics.md (13 problems)T02_Part2_ER_Scenarios_Reduction_EER.md (13 problems)CT-02 Q.2.T03_Relational_Model_Keys_and_Integrity.md (14 problems)T04_Relational_Algebra_and_Calculus.md (8 problems)T03: Exam-style T03 · Explanation T03T04: Exam-style T04 · Explanation T04ON DELETE CASCADE, and arrow directions in schema diagrams (EX 2.13, 2.16, 3.19, 4.7, 4.9, 6.14).T05_Part1_SQL_DDL_DML_Basics.md (13 problems)T05_Part2_SQL_Clauses_and_Aggregations.md (12 problems)T05_Part3_SQL_Aggregations_and_Subqueries.md (10 problems)T05_Part4_SQL_MultiTable_Business_Queries.md (15 problems)T06_Joins_and_Views.md (13 problems)T07_Triggers_and_Stored_Procedures.md (14 problems)T05: Exam-style T05 · Explanation T05T06: Exam-style T06 · Explanation T06T07: Exam-style T07 · Explanation T07CREATE TABLE, CHECK, FOREIGN KEY ... ON DELETE CASCADE, ALTER TABLE, domain constraints (Part 1).ORDER BY, string matching with LIKE, aggregate functions (SUM, AVG, COUNT, MIN, MAX), GROUP BY, and HAVING (Part 2).IN, NOT IN), set comparisons (SOME, ALL), existence tests (EXISTS, NOT EXISTS), unique tests (UNIQUE), and Recursive CTEs (WITH RECURSIVE) (Part 3).customer, account, loan, depositor, borrower) and Employee schema (employee, works, company, manages) complex queries (Part 4).WITH CHECK OPTION (T06).BEFORE / AFTER triggers, cascading trigger control, SQL/PSM stored procedures and functions, JDBC connection and cursor management (T07).T08_Part1_FDs_and_Armstrong_Axioms.md (15 problems)T08_Part2_Canonical_Cover_and_3NF.md (15 problems)T08_Part3_BCNF_and_Advanced_Normalization.md (14 problems)CT-03.CT-03 Q.1.T09_Transactions_ACID_and_Anomalies.md (9 problems)T10_Serializability.md (15 problems)T11_Part1_Locking_Protocols.md (11 problems)T11_Part2_2PL_and_Lock_Conversions.md (11 problems)T11_Part3_Deadlock_and_Timestamp_Ordering.md (11 problems)T09: Exam-style T09 · Explanation T09T10: Exam-style T10 · Explanation T10T11: Exam-style T11 · Explanation T11wait-die, wound-wait), wait-for graphs, victim selection, and Timestamp Ordering Protocol (TSO) read/write rules and Thomas' Write Rule (T11 Part 3).T09, T10, and T11 together account for 129 final marks (20.2% curriculum weight).wait-die/wound-wait) is asked in 2018 Q.5(b).T12_Part1_Failure_Types_and_RAID_Intro.md (14 problems)T12_Part2_Recovery_Manager_and_Log_Recovery.md (14 problems)T12_Part3_Checkpoints_and_RAID_Levels.md (13 problems)2017, 2018, 2019, 2023, 2024).T13_Part1_Security_and_Authorization_A.md (15 problems)T13_Part2_Security_and_Authorization_B.md (14 problems)T13_Part3_SQL_Injection_and_BTree_Indexing.md (15 problems)T13_Part4_Indexing_and_Hashing.md (13 problems)GRANT and REVOKE statements, authorization graphs, cascading revocation rules, Role-Based Access Control (RBAC), and REFERENCES privilege restrictions (Part 1).' OR '1'='1), statement injection ('; DROP TABLE), and defenses using parameterized queries (PreparedStatement) (Part 3).Follow this sequential reading roadmap to systematically conquer the entire Silberschatz 7e exercise bank from foundational concepts to advanced database engine internals: