What is normalization in a DBMS, and why is it used?
Draft your answer mentally or on paper, then check the points you hit:
The 40 database questions, ranked by how many of the surveyed prep sources list each one.
Interview one-liner: Normalization restructures tables to remove redundancy and the update problems that redundancy causes.
Interview one-liner: The table fails Second Normal Form, because a non-key column depends on only part of a composite key.
Interview one-liner: ACID stands for atomicity, consistency, isolation and durability, the four guarantees that make transactions reliable.
Interview one-liner: A DBMS replaces scattered program-specific files with one controlled store that handles integrity, sharing and security.
Interview one-liner: An inner join returns only the row pairs that match on the join condition in both tables.
Interview one-liner: An index speeds up lookups, but it costs storage and slows writes, since inserts and deletes must update every index.
Interview one-liner: DELETE removes chosen rows, TRUNCATE empties the table in one fast step, and DROP removes the table itself.
Interview one-liner: A DBMS is software that defines, stores, retrieves and controls access to a database, so applications do not manage files themselves.
Interview one-liner: A DBMS gives data independence, central integrity rules, crash recovery and per-user security, which applications would otherwise rebuild badly.
Interview one-liner: GRANT and REVOKE belong to DCL, the data control language.
Interview one-liner: Denormalization deliberately adds duplicated data to speed up frequent reads, and the application must keep the copies in sync.
Interview one-liner: Superkeys and candidate keys identify rows, the primary key is the chosen one, and foreign keys link tables together.
Interview one-liner: A primary key uniquely identifies each row and can never be NULL.
Interview one-liner: A foreign key requires every non-null value to match an existing key in the referenced table, permitting NULL unless NOT NULL is specified.
Interview one-liner: A table has exactly one primary key but may have many unique keys.
Interview one-liner: Entities are drawn as rectangles, attributes as ovals and relationships as diamonds.
Interview one-liner: A clustered index sets the physical order of the table's rows, so a table can have only one.
Interview one-liner: A shared lock lets many transactions read an item together, while an exclusive lock admits only one holder.
Interview one-liner: A view is a named query that presents its result as a virtual table, usually without storing data of its own.
Interview one-liner: An RDBMS is a DBMS built on the relational model, where data lives in tables linked by keys.
Interview one-liner: The logical level describes the tables, their columns and their relationships, hiding how the data is stored.
Interview one-liner: A candidate key is a minimal superkey: remove any attribute from it and it stops identifying rows uniquely.
Interview one-liner: Students and courses form a many-to-many relationship, implemented with a junction table.
Interview one-liner: An entity is one object, an entity type is its category with attributes, and an entity set is the current collection of that type.
Interview one-liner: A transaction is a group of reads and writes that the DBMS treats as one all-or-nothing unit of work.
Interview one-liner: Concurrency control uses locks, timestamps or versions so that simultaneous transactions cannot corrupt each other's results.
Interview one-liner: A correlated subquery refers to the outer query's current row, so it depends on that row.
Interview one-liner: UNION removes duplicate rows at the cost of a sort or hash, while UNION ALL keeps every row and skips that work.
Interview one-liner: A stored procedure is a named block of SQL logic kept in the database and called by applications.
Interview one-liner: A trigger is stored code that the DBMS runs automatically when a table changes, used for audit trails and rules every writer must obey.
Interview one-liner: A cursor is a handle that lets procedural code walk through a query's rows one at a time.
Interview one-liner: A procedure runs when something calls it, while a trigger runs by itself when a table event occurs.
Interview one-liner: A database is a structured collection of related data, stored so many users and programs can use it.
Interview one-liner: A schema is the stable description of a relation: its name, attributes, domains and constraints.
Interview one-liner: NOT NULL is the constraint that refuses an empty value in a column.
Interview one-liner: Every non-NULL foreign key value must match an existing value of the referenced key in the parent table.
Interview one-liner: On detecting a deadlock, the DBMS picks a victim, rolls it back and releases its locks so the rest can proceed.
Interview one-liner: A functional dependency X -> Y means that any two rows agreeing on X must also agree on Y.
Interview one-liner: The extension of a relation is the set of tuples stored at a given moment, while the intension is its schema.
Interview one-liner: A checkpoint is a safe point where the DBMS flushes its log and modified pages, so redo after a crash need not start at the log's beginning.
Completed
0 / 40
Due today
0
Subject
Database Management Systems
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit:
Draft your answer mentally or on paper, then check the points you hit: