A Database Management System (DBMS) is software designed to store, retrieve, define, and manage data. SQL (Structured Query Language) is the standard language for relational databases.
1. ACID Properties
A highly tested concept is the ACID properties of database transactions:
- Atomicity: 'All or nothing'. The transaction completes fully or not at all.
- Consistency: Ensures the database remains in a valid state before and after the transaction.
- Isolation: Multiple transactions occurring concurrently do not interfere with each other.
- Durability: Once committed, data is permanently saved, even in a system failure.
2. SQL Commands Categorization
SQL commands are divided into sub-languages:
- DDL (Data Definition Language): CREATE, ALTER, DROP, TRUNCATE. (Defines structure).
- DML (Data Manipulation Language): SELECT, INSERT, UPDATE, DELETE. (Manipulates data).
- DCL (Data Control Language): GRANT, REVOKE. (Manages permissions).
- TCL (Transaction Control Language): COMMIT, ROLLBACK, SAVEPOINT.
Normalization is the process of organizing data to reduce redundancy and improve data integrity. You should understand 1NF (atomic values), 2NF (no partial dependency), and 3NF (no transitive dependency).
High-Yield Practice Questions & Worked Examples
Test your understanding with these exam-standard questions specifically calibrated for the syllabus pattern:
Q: A relation is in Boyce-Codd Normal Form (BCNF) if and only if for every non-trivial functional dependency X -> Y:
- (A) Y is a prime attribute
- (B) X is a Super Key (candidate key)
- (C) Y is functionally dependent on all attributes
- (D) X is a foreign key
✓ Correct Answer: (B) X is a Super Key (candidate key)
Detailed Explanation: BCNF is a stricter version of 3NF. In BCNF, the left-hand side (determinant X) of every non-trivial dependency must be a super key, completely eliminating redundant determinant anomalies.
Q: Which SQL clause is used to filter aggregate records produced by a GROUP BY query?
- (A) WHERE
- (B) HAVING
- (C) ORDER BY
- (D) LIKE
✓ Correct Answer: (B) HAVING
Detailed Explanation: WHERE filters individual rows before grouping occurs, while HAVING filters aggregated group results after grouping is evaluated.
Recommended Deep Dives & Related Study Notes
Explore connected topics in the official Gujarat WPSI & GPSC syllabus
Operating Systems: Memory and Storage Management
Disk scheduling and page buffers in database engines
Related Guide →Cloud Computing: IaaS, PaaS, and SaaS
Cloud databases (DBaaS) and scalable SQL clusters
Related Guide →Data Structures: Stacks, Queues, and Trees
B+ Tree indexing and relational search algorithms
Sharpen Your Exam Readiness on Mcqprepzone
Mastering technical formulas and theoretical concepts is only step one. Solving timed mock tests under exact exam conditions improves speed, eliminates negative marking, and reveals your weak spots.
Frequently Asked Questions
What are ACID properties in transaction processing?
Atomicity (all or nothing), Consistency (preserves database integrity constraints), Isolation (concurrent transactions execute independently), and Durability (committed changes survive system crashes).
What is the difference between DELETE and TRUNCATE in SQL?
DELETE is a DML command that removes rows one by one, logs each row deletion (can be rolled back), and supports WHERE. TRUNCATE is a DDL command that deallocates entire data pages, is faster, and cannot be filtered with WHERE.
What is a Foreign Key constraint?
A Foreign Key in a child table references the Primary Key or Unique Key of a parent table, ensuring referential integrity and preventing orphan records.
MCQ Prep Zone Study Hub & Quick Links
Practice syllabus questions, mock exams, and download study notes
Topic-Wise MCQs
Unit-wise practice with detailed explanations.
Mock Tests →Full-Length Mocks
Simulated test papers with negative marking.
Exams Hub →Govt Exams Guides
Gujarat WPSI, GPSC AE, and CCE notifications.
Formulas →Study Notes & PDFs
Concise formula sheets for rapid revision.
Daily Drill →Daily MCQ Challenge
Compete daily, earn points, and build streaks.
Membership →Test Series Plans
Unlock all sectional tests & ranking analytics.
Related Strategy & Syllabus Articles
Strengthen your exam preparation across adjacent subjects