azazarfin60/Database_Systems_ECE2215_Semester_Final
Viewing commit 40bb182
- boss_notes
- boss_notes_compact
- Classnote_by_Raidah
- ExercisesFromTextbook
- Handnote_by_Fahim_2310002
- LectureSlides
- PreviousYearQuestion
- Textbook
- Topicwise_answers_exam_style
- Topicwise_answers_explaination
- yearly_answers_exam_style
- yearly_answers_explaination
- .gitignore1.4 KB
- ECE2215_PYQ_Analysis_Report.md64.6 KB
- ECE2215_YouTube_Curated_Playlists_and_Videos.md13.7 KB
- README.md21.2 KB
- subtopicwise_list.md18.7 KB
- subtopicwise_questions.md86.5 KB
- syllabus.md15.3 KB
README.md
ECE 2215: Database Systems — Study Vault
Course Code: ECE 2215
Course Title: Database Systems (printed as Data Base Systems on the official syllabus)
Credits: 3.00
Department: Electrical & Computer Engineering (ECE), Rajshahi University of Engineering & Technology (RUET)
Instructors: Mst. Nafia Islam Shishir & Md. Rakibul Islam
Primary Textbook: Abraham Silberschatz, Henry F. Korth, & S. Sudarshan, Database System Concepts (7th Edition, McGraw-Hill, 2019)
A complete, Obsidian- and BossNotes-compatible study vault for ECE 2215. It brings together every past exam paper, class test, two-layer solved answer bank, lecture slide deck, student class notebook, and the full digitized textbook in one cross-linked repository.
Vault at a Glance
| Resource Category | Directory / File | Scope & Metrics |
|---|---|---|
| Course Syllabus & Mapping | syllabus.md | Official 8-unit RUET curriculum and cross-resource alignment matrix |
| Past Exam Archive | PreviousYearQuestion/ | 7 Semester Finals (2017–2021, 2023–2024; 148 sub-questions, 637 printed marks) + 4 Class Tests (CT-01–CT-04; 26 parts, 80 marks) = 174 question parts (717 marks) |
| PYQ Analytics & Taxonomy | ECE2215_PYQ_Analysis_Report.mdsubtopicwise_list.mdsubtopicwise_questions.md | Quantitative era analysis, 13 topics (T01–T13) / 77 subtopics (T01.1–T13.4), priority tiers, and full verbatim subtopic-sorted question bank |
| Solved Answers (Exam Style) | Topicwise_answers_exam_style/ | 13 topic files (T01–T13), 136 H3 question blocks, 77 H2 subtopics, and 21 custom diagrams written as concise, mark-calibrated exam-sheet solutions |
| Solved Answers (Explanation) | Topicwise_answers_explaination/ | 13 topic files (T01–T13, 136 H3 blocks) with step-by-step derivations, concrete verification checks, Common mistakes callouts, exam tips, and source links |
| Official Lecture Slides | LectureSlides/ | 8 slide decks (01–08), 371 slides, 102 extracted figures, and a master PYQ-to-slide cross-reference index |
| Student Class Notes (Raidah) | Classnote_by_Raidah/ | Roll 2310035: unified 65-side notebook, teacher exam suggestions (suggestions.md), 11 topic files (T01–T06, T08–T12), 11 diagrams |
| Student Handnotes (Fahim) | Handnote_by_Fahim_2310002/ | Roll 2310002: unified 62-page notebook, 6 topic files (T01–T03, T05–T07, including classroom coverage of SQL Triggers), 20 diagrams |
| Reference Textbook | Textbook/ | Silberschatz Database System Concepts (7th Ed.): 29 sections (Front Matter, Chapters 01–26, Appendix A, Index), 1,373 PDF pages (1,344 printed pages), 368 figures |
Quick Start: How to Study from This Repo
- Check the high-yield roadmap: Start with
ECE2215_PYQ_Analysis_Report.mdandsubtopicwise_list.mdto see which topics carry the most marks. SQL (T05), Normalization (T08), E-R Modeling (T02), and Serializability (T10) alone account for over 50% of all final exam marks. - Read the lecture slides & class notes together: Use
LectureSlides/00_Index.mdalongsideClassnote_by_Raidah/(plussuggestions.mdfor teacher pointers) andHandnote_by_Fahim_2310002/for classroom examples and SQL syntax. - Practice by subtopic: Open
subtopicwise_questions.mdto drill every past question on a single concept (for example,T08.4Candidate Keys orT10.1Conflict Serializability) across all years at once. - Learn with the two-layer answer banks:
- Read
Topicwise_answers_explaination/first to understand the step-by-step method, verify your result on a sample tuple or schedule, and avoid common pitfalls. - Review
Topicwise_answers_exam_style/right before the exam to see the exact length, table layout, and formatting expected on a 3-hour script.
- Read
- Simulate full papers: Use the frozen papers in
PreviousYearQuestion/(2017.md–2024.mdandClassTestQuestions.md) for timed mock exams.
13-Topic Master Navigation & Exam Weightage
Every resource in this vault is organized around the same 13 topics (T01–T13). Across the 7 semester finals (637 printed marks) and 4 class tests (80 marks), the topics map as follows:
| ID | Topic Name | Final Marks (Share) | Exam Frequency | Exam-Style Answers | Step-by-Step Explanations | Lecture Slides | Class Notes (Raidah · Fahim) | Textbook Chapters |
|---|---|---|---|---|---|---|---|---|
T01 | DB Concepts & Architecture | 44 (6.9%) | 7/7 Finals, CT-01 | Exam T01 | Expl T01 | Deck 01 | Raidah T01 · Fahim T01 | Ch. 01 |
T02 | E-R & EER Modeling | 67 (10.5%) | 7/7 Finals, CT-02 | Exam T02 | Expl T02 | Deck 05 | Raidah T02 · Fahim T02 | Ch. 06 |
T03 | Relational Model, Keys & Integrity | 28 (4.4%) | 5/7 Finals, CT-01 | Exam T03 | Expl T03 | Deck 02 (S2–8) | Raidah T03 · Fahim T03 | Ch. 02 (§2.1–2.5) |
T04 | Relational Algebra & Calculus | 48 (7.5%) | 6/7 Finals, CT-01 | Exam T04 | Expl T04 | Deck 02 (S9–31) | Raidah T04 | Ch. 02 (§2.6), Ch. 16 (§16.1 γ) |
T05 | SQL (DDL, DML, Aggregates, Subqueries) | 130 (20.4%) | 7/7 Finals, CT-02 | Exam T05 | Expl T05 | Deck 03 | Raidah T05 · Fahim T05 | Ch. 03, Ch. 04 (§4.4) |
T06 | SQL Joins & Views | 28 (4.4%) | 4/7 Finals | Exam T06 | Expl T06 | Deck 04 | Raidah T06 · Fahim T06 | Ch. 04 (§4.1–4.2) |
T07 | Triggers & Stored Procedures | 27 (4.2%) | 5/7 Finals | Exam T07 | Expl T07 | — | Fahim T07 (Triggers) | Ch. 05 (§5.2–5.3) |
T08 | Normalization & Functional Dependencies | 75 (11.8%) | 7/7 Finals, CT-03 | Exam T08 | Expl T08 | Deck 06 | Raidah T08 | Ch. 07 |
T09 | Transactions, ACID & Anomalies | 41 (6.4%) | 7/7 Finals, CT-04 | Exam T09 | Expl T09 | Deck 07 (S2–15, 28–33) | Raidah T09 | Ch. 17 (§17.1–17.5) |
T10 | Serializability (Conflict/View, Graphs) | 51 (8.0%) | 7/7 Finals, CT-04 | Exam T10 | Expl T10 | Deck 07 (S16–27), Deck 08 (S2–8) | Raidah T10 | Ch. 17 (§17.6), Ch. 18 (§18.5) |
T11 | Concurrency Control Protocols (2PL, Deadlock, TSO) | 37 (5.8%) | 6/7 Finals | Exam T11 | Expl T11 | Deck 08 (S9–30) | Raidah T11 | Ch. 18 (§18.1–18.2, §18.5) |
T12 | Recovery System & RAID | 43 (6.8%) | 5/7 Finals | Exam T12 | Expl T12 | — | Raidah T12 (RAID) | Ch. 19, Ch. 12 (§12.5 RAID) |
T13 | Security, Indexing & Hashing | 18 (2.8%) | 4/7 Finals | Exam T13 | Expl T13 | — | — | Ch. 09 (§9.8), Ch. 14 (§14.2–14.5) |
Past Exam Archive (PreviousYearQuestion/)
All 7 semester-final papers and 4 class tests are preserved verbatim in PreviousYearQuestion/:
| Exam Paper | Era & Format | Printed / Full Marks | Key Highlights |
|---|---|---|---|
2017.md | Pre-OBE (Sec A + B) | 93 / 72 | File system vs. DBMS, RUET student E-R diagram, relational algebra, SQL DDL/DML, 3NF decomposition, 2PL, log-based recovery, hashing, triggers |
2018.md | Pre-OBE (Sec A + B) | 96 / 72 | E-R aggregation & ternary relationships, insurance schema RA, 1NF/2NF, concurrency anomalies, deadlock, TSO rollback, conflict serializability, RAID |
2019.md | Pre-OBE (Sec A + B) | 96 / 72 | 3-level data abstraction, railway e-ticketing E-R diagram, Covid patient RA, 1NF/2NF, schedule output trace, SQL queries, CGPA calculation |
2020.md | Pre-OBE (Sec A + B) | 96 / 72 | 2-tier vs. 3-tier architecture, vaccine DB RA, SQL injection, domain relational calculus, natural/outer join tables, transaction states, view serializability |
2021.md | Transitional OBE (CLO) | 96 / 72 | DBA roles, referential integrity in MySQL, RA with joins, candidate keys, canonical cover Fc, attribute closure X+, wait-for graph cycle diagram |
2023.md | Modern OBE (CLO) | 80 / 60 | RUET Central Library E-R diagram, 3NF conversion, SQL DDL/DML, candidate/super keys, RAID models, SQL Views, Stored Procedures, Triggers, WAL recovery |
2024.md | Modern OBE (CO) | 80 / 60 | RUET student E-R & schema reduction, courier file vs. DBMS, SQL aggregates, security triggers, inner vs. outer joins, ACID, RAID levels, conflict serializability |
ClassTestQuestions.md | 4 Class Tests (CO) | 80 (4 × 20) | CT-01: Abstraction, schema diagram, RA · CT-02: SQL queries, E-R diagram · CT-03: Keys, prime attributes, 1NF–BCNF · CT-04: ACID, conflict serializability |
(Note: No 2022 examination was held due to post-pandemic session adjustments.)
Course Conventions & Exam Traps to Watch Out For
- MySQL 8 Dialect: RUET teaches and tests MySQL 8. Use
DELIMITER //for multi-statement triggers and stored procedures, emulateFULL OUTER JOINwithLEFT JOIN ... UNION ... RIGHT JOIN, and use correlated subqueries,MAX(...), orNOT EXISTSwhenever an exam question forbidsLIMIT. - Silberschatz 6th vs. 7th Edition Shifts:
- Extended Relational Algebra: Grouping/aggregation (GγF) and outer-join operators (⟕,⟖,⟗) are taught in
Deck 02andDeck 04, while 7th Edition moves them from Chapter 02 to Chapter 16 (§16.1–16.2). Relational algebra database modifications (r←r∪E, r←r−E) follow 6th Edition syntax. - Canonical Cover (Fc) & Thomas' Write Rule: Tested in finals (
2021Q.6b) and listed in the syllabus, but omitted from the slides. Find Canonical Cover in Chapter 07 (§7.4.3) and Thomas' Write Rule in Chapter 18 (§18.5.2).
- Extended Relational Algebra: Grouping/aggregation (GγF) and outer-join operators (⟕,⟖,⟗) are taught in
- Timestamp Rollback Rule Trap:
- Under Deadlock Prevention (
wait-die/wound-wait), an aborted transaction restarts with its original timestamp to prevent starvation (Deck 08Slide 23;Ch. 18§18.2.2). - Under the Timestamp Ordering (TSO) Protocol, a rolled-back transaction is assigned a brand-new timestamp upon restart (
Ch. 18§18.5.1; tested in2018Q.6b and2024Q.8b).
- Under Deadlock Prevention (
- Running Schema: Both the lecture slides and textbook use the University Database (
department,course,instructor,section,teaches,student,takes,advisor,time_slot,classroom,prereq). Full DDL and sample tables are inTextbook/Appendix_A_University_Schema/.
Repository Structure
ECE_2215/
├── README.md # You are here
├── syllabus.md # Official RUET syllabus & cross-resource alignment matrix
├── ECE2215_PYQ_Analysis_Report.md # Comprehensive statistical analysis of all past papers
├── subtopicwise_list.md # 13-topic (T01–T13), 77-subtopic taxonomy & priority tiers
├── subtopicwise_questions.md # All 174 past exam & CT question parts sorted by subtopic
├── PreviousYearQuestion/ # Verbatim past exam papers (2017–2024) + 4 Class Tests
│ ├── README.md
│ ├── 2017.md ... 2024.md
│ ├── ClassTestQuestions.md
│ └── diagrams/ # 1 extracted exam figure + .meta.json sidecar
├── Topicwise_answers_exam_style/ # Concise, mark-calibrated exam-sheet solutions
│ ├── T01_DB_Concepts_and_Architecture.md ... T13_Security_Indexing_and_Hashing.md
│ └── diagrams/ # 21 generated diagrams (+ _scripts/ Python generators)
├── Topicwise_answers_explaination/ # Step-by-step explanations, checks, & mistake callouts
│ ├── T01_DB_Concepts_and_Architecture.md ... T13_Security_Indexing_and_Hashing.md
│ └── diagrams/ # 21 mirrored diagrams + .meta.json sidecars
├── LectureSlides/ # 8 official slide decks (371 slides)
│ ├── 00_Index.md
│ ├── 01_Intro_to_Database_and_DBMS.md ... 08_Concurrency_Control_Mechanisms.md
│ └── diagrams/ # 102 slide figures + .meta.json sidecars
├── Classnote_by_Raidah/ # Student class notes (Roll 2310035, 65 notebook sides)
│ ├── README.md
│ ├── suggestions.md # Teacher exam blueprint & assignment guide
│ ├── DBMS_classnote_2310035.md # Unified notebook
│ ├── T01_*.md ... T12_*.md # 11 topic-split files (T01–T06, T08–T12)
│ └── diagrams/ # 11 cropped notebook figures + sidecars
├── Handnote_by_Fahim_2310002/ # Student handnotes (Roll 2310002, 62 pages)
│ ├── README.md
│ ├── Handnote_2310002.md # Unified notebook
│ ├── T01_*.md ... T07_*.md # 6 topic-split files (T01–T03, T05–T07 incl. Triggers)
│ └── diagrams/ # 20 cropped handnote figures + sidecars
└── Textbook/ # Silberschatz 7th Ed. (29 sections, 1,373 PDF pages)
├── README.md
├── 00_Front_Matter/
├── Chapter_01_Introduction/ ... Chapter_26_Blockchain/
├── Appendix_A_University_Schema/
└── Index/
Viewing & Rendering Notes
- Obsidian & BossNotes Compatible: All Markdown notes follow strict dual-renderer formatting so they display cleanly in both Obsidian and BossNotes (remark/micromark + KaTeX):
- Inline math uses
$...$and display math uses$$...$$with$$placed alone on its own line. - Complex relational schemas, unnormalized tables with merged cells (
rowspan), and multi-column transaction schedules use clean inline HTML tables inside Markdown table cells.
- Inline math uses
- Page & Slide Markers:
Textbook/files include<!-- Page N -->comments matching the printed book page numbers (1–1344).LectureSlides/files include<!-- Slide N -->comments above every slide section (371total).Classnote_by_Raidah/andHandnote_by_Fahim_2310002/preserve original notebook pagination via<!-- Page N -->markers.
- Diagrams & Metadata Sidecars: All 544 JPG figures across the repository live in local
diagrams/folders and are paired with<filename>.jpg.meta.jsonsidecar files containing figure descriptions, source page/slide coordinates, and generator metadata.