Database Management Systems (DBMS): 25 flashcards

All 25 flashcards from this kit, free and with no sign-up.

1. What is a DBMS?

Show the answer

Software that sits between users/applications and stored data, letting you define, store, retrieve, update, and manage data while enforcing rules automatically.

2. What is a database?

Show the answer

The organized collection of data itself — the tables and records that a DBMS manages.

3. Name the three levels of DBMS architecture.

Show the answer

Physical level (disk storage), logical level (tables and relationships), and view level (customized user slices).

4. What is data independence?

Show the answer

The ability to change physical storage or the logical schema without breaking applications or user views.

5. List the steps of query processing in order.

Show the answer

Parsing → optimization → execution → transaction management → storage access.

6. What does the query optimizer do?

Show the answer

It chooses the cheapest execution plan — which index to use and join order — so the same query runs fast.

7. What does ACID stand for?

Show the answer

Atomicity, Consistency, Isolation, Durability.

8. What does Atomicity mean?

Show the answer

A transaction is all-or-nothing: every operation happens, or none does.

9. What does Isolation guarantee?

Show the answer

Concurrent transactions do not interfere with each other — two ATMs withdrawing simultaneously don't double-spend.

10. What does Durability guarantee?

Show the answer

Committed data survives crashes — after 'transfer successful', power loss doesn't erase it.

11. What is normalization and why do it?

Show the answer

Organizing tables to reduce redundancy and prevent update, insert, and delete anomalies.

12. What does 1NF require?

Show the answer

Atomic values only — no repeating groups or multi-valued cells.

13. What does 2NF remove?

Show the answer

Partial dependencies — a non-key attribute depending on only part of a composite key.

14. What does 3NF remove?

Show the answer

Transitive dependencies — a non-key attribute depending on another non-key attribute.

15. Name the four SQL categories.

Show the answer

DDL (structure), DML (data), DCL (access control), TCL (transactions).

16. What is a primary key?

Show the answer

A column (or set of columns) that uniquely identifies each row in a table.

17. What is a foreign key?

Show the answer

A column in one table that references a primary key in another table, creating a relationship.

18. What is referential integrity?

Show the answer

A rule preventing orphan records — you cannot enroll a student who doesn't exist.

19. What are the three relationship types?

Show the answer

One-to-one, one-to-many, and many-to-many (which needs a junction table).

20. Why do files fail at scale compared to a DBMS?

Show the answer

Redundancy (data copied everywhere), inconsistency (copies disagree), and no concurrency control (users overwrite each other).

21. What is the difference between a DBMS and a DBA?

Show the answer

The DBMS is the software tool; the DBA is the human administrator who installs, configures, backs up, tunes, and secures it.

22. Name three examples of relational DBMSs.

Show the answer

MySQL, Oracle, and PostgreSQL.

23. What are NoSQL DBMS types?

Show the answer

Document stores (MongoDB), key-value stores (Redis), and graph stores (Neo4j).

24. Why is SQL called declarative?

Show the answer

You say what you want, not how to get it — the DBMS optimizer figures out the how.

25. What does the buffer manager do?

Show the answer

Caches data pages in RAM so the execution engine can read from memory instead of disk.

Make your own

Your notes can be a kit like these

Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.

  • Chapter notes
  • Flashcards
  • Practice MCQs
  • Scored tests
  • Exam prep

Get Veda free See what students get

Free to start · No ads · Works in 42 languages