DBMS & Software Engineering: The Ultimate One-Page Revision Guide for Exams

📘 DBMS & Software Engineering – One-Page Revision Guide 

Perfect for GATE | UGC NET | BPSC | KVS | NVS | EMRS | University Exams


📚 PART 1: DBMS – One Page Revision Sheet

1️⃣ Database Basics

  • Database → Organized collection of data

  • DBMS → Software to store, retrieve & manage data

Advantages:

  • Data sharing

  • Security

  • Consistency

  • Integrity

  • Backup & recovery


2️⃣ Data Models

  • Hierarchical → Tree structure

  • Network → Graph structure

  • Relational → Tables (Rows = Tuples, Columns = Attributes) ⭐

  • ER Model → Entity, Attribute, Relationship


3️⃣ Keys (⭐ Very Important)

  • Super Key → Uniquely identifies a tuple

  • Candidate Key → Minimal super key

  • Primary Key → Chosen candidate key

  • Alternate Key → Candidate key not chosen

  • Foreign Key → References PK of another table

  • Composite Key → Multiple attributes


4️⃣ Normalization (Most Repeated)

Normal FormRemoves
1NFRepeating groups, multivalued attributes
2NFPartial dependency
3NF ⭐Transitive dependency
BCNFNon-superkey determinants
4NFMultivalued dependency
5NFJoin dependency

🔑 Exam Trick:

  • Partial dependency → 2NF

  • Transitive dependency → 3NF


5️⃣ Functional Dependency

  • X → Y : X determines Y

  • Full FD → Depends on whole key

  • Partial FD → Depends on part of key

  • Transitive FD → Depends on non-key attribute


6️⃣ SQL Commands

DDL: CREATE, ALTER, DROP, TRUNCATE

DML: SELECT, INSERT, UPDATE, DELETE

DCL: GRANT, REVOKE

TCL: COMMIT, ROLLBACK, SAVEPOINT


7️⃣ Joins

  • INNER JOIN → Matching records

  • LEFT JOIN → All left + matched right

  • RIGHT JOIN → All right + matched left

  • FULL JOIN → All records

  • CROSS JOIN → Cartesian product


8️⃣ Transactions (ACID)

  • A → Atomicity

  • C → Consistency

  • I → Isolation

  • D → Durability


9️⃣ Concurrency Control

Problems: Lost update, Dirty read, Unrepeatable read

Techniques: Locking, Timestamp ordering

Deadlock: Circular wait

Solutions: Prevention, Detection, Avoidance


🔟 Indexing

  • Primary Index → On primary key

  • Secondary Index → On non-key attribute

  • Clustered Index → Physical order

  • Non-clustered Index → Logical order


🔥 Frequently Asked PYQ Facts

  • Transitive dependency → 3NF

  • Best normalization balance → 3NF

  • Highest data integrity → BCNF

  • SQL Injection → Security attack

  • Hadoop is written in → Java


⚡ Last-Minute DBMS Exam Tricks

  • More normalization → Less redundancy

  • More joins → More processing cost

  • Index speeds up SELECT, slows INSERT

  • TRUNCATE ≠ DELETE (No rollback)


💻 PART 2: Software Engineering – One Page Revision Sheet

1️⃣ Software Basics

  • Software = Programs + Documentation + Configuration data

  • Software Engineering = Systematic & disciplined approach to software development


2️⃣ Software Process Models

ModelKey PointUse
WaterfallLinearStable requirements
IncrementalBuild in partsEarly delivery
SpiralRisk-drivenLarge, high-risk projects
AgileIterativeDynamic requirements
V-ModelV&VSafety-critical systems

📌 Most exams focus on: Waterfall & Spiral


3️⃣ SDLC Phases (Very Important)

Requirement → Design → Implementation → Testing → Deployment → Maintenance

🧠 Mnemonic: R-D-I-T-D-M


4️⃣ Cohesion (Internal Strength)

Best → Worst:
Functional ⭐ > Sequential > Communicational > Procedural > Temporal > Logical > Coincidental


5️⃣ Coupling (Inter-module Dependency)

Worst → Best:
Content ❌ > Common > Control > Stamp > Data ⭐

✔️ Good Design Rule: High Cohesion + Low Coupling


6️⃣ Software Metrics

  • LOC → Size based

  • Function Point (FP) → Functionality based

  • Cyclomatic Complexity → Logical complexity

Formula: V(G) = E − N + 2P


7️⃣ Software Testing

Levels: Unit → Integration → System → Acceptance

Types:

  • Black Box → Functional testing

  • White Box → Path testing

  • Regression → Old features

  • Alpha → Developer site

  • Beta → User site


8️⃣ Verification vs Validation

VerificationValidation
Building it right?Building right product?
No executionExecution required

9️⃣ CASE Tools

  • Upper CASE → Requirement & Design

  • Lower CASE → Coding & Testing

  • Integrated CASE → Full SDLC


🔟 Software Maintenance

TypeMeaning
CorrectiveBug fixing
AdaptiveEnvironment change
PerfectivePerformance improvement
PreventiveFuture fault prevention

📌 Maintenance takes ~70% cost


🔑 Most Repeated Exam Facts

  • Best Cohesion → Functional

  • Best Coupling → Data

  • Worst Coupling → Content

  • Maintenance takes maximum effort

  • Agile focuses on customer satisfaction


🏆 One-Line Golden Rule

Good Software = High Cohesion + Low Coupling + Proper Testing


📌 Save this page • Bookmark • Share with friends

DBMS & Software Engineering Notes


👉100 Most Important MCQs for Bihar STET Unit 13: Artificial Intelligence

Tausif

Hi! My name is Tausif Ahmad. I am a Full Stack Developer at Wipro and a Computer Science graduate from MANUU Hyderabad. I write exam-focused technical blogs and enjoy frontend development, blogging, and creative design.

Post a Comment (0)
Previous Post Next Post