1. Home
  2. Explore
  3. Computer Science
  4. Database Normalization Basics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Database Normalization Basics

  • 24Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Normalization Basics
Database normalization is the process of structuring a table so that it cannot express
information.

24 questions

  1. 1
    Database normalization is the process of structuring a table so that it cannot express
    _____
    information.
    Hint

    Think about the opposite of unique or duplicated data.

    Answer

    redundant

  2. 2
    A normalized database protects against contradictory data, makes tables easier to understand, and prevents insertion, update, and
    _____
    anomalies.
    Hint

    This anomaly occurs when removing a row causes loss of unrelated data.

    Answer

    deletion

  3. 3
    The normal forms can be compared to
    _____
    assessments, where each higher level provides a stricter guarantee of data integrity.
    Hint

    Consider the analogy used for bridges and levels of traffic.

    Answer

    safety

  4. 4
    A table complies with a given normal form only if it also complies with all
    _____
    normal forms.
    Hint

    Normal forms are cumulative; you must satisfy the earlier ones first.

    Answer

    lower

  5. 5
    Using
    _____
    to convey information is a violation of First Normal Form.
    Hint

    In relational databases, rows have no inherent sequence.

    Answer

    row order

  6. 6
    Mixing
    _____
    within the same column violates First Normal Form.
    Hint

    A column must contain values of only one type, such as integers or strings.

    Answer

    data types

  7. 7
    A table without a
    _____
    is not in First Normal Form.
    Hint

    This column or combination of columns uniquely identifies each row.

    Answer

    primary key

  8. 8
    _____
    of data items on a single row violates First Normal Form.
    Hint

    This occurs when a row contains multiple related values, like a list of items.

    Answer

    Repeating groups

  9. 9
    A
    _____
    is a column, or combination of columns, that uniquely identifies a row in a table.
    Hint

    It ensures each row can be referenced unambiguously.

    Answer

    primary key

  10. 10
    Second Normal Form requires that each
    _____
    attribute in a table must be dependent on the entire primary key.
    Hint

    This attribute is not part of the primary key.

    Answer

    non-key

  11. 11
    A
    _____
    anomaly occurs when deleting a row causes the loss of unrelated information.
    Hint

    This problem arises when a table stores attributes of two different entities together.

    Answer

    deletion

  12. 12
    An
    _____
    anomaly occurs when updating a value in one row but not in another, leading to logical inconsistency.
    Hint

    This happens when the same fact is stored in multiple places.

    Answer

    update

  13. 13
    An
    _____
    anomaly occurs when you cannot insert a fact because related data does not yet exist.
    Hint

    This problem prevents recording a new entity until it has all associated details.

    Answer

    insertion

  14. 14
    A dependency where a non-key attribute depends on only part of the primary key is called a
    _____
    dependency.
    Hint

    This violates Second Normal Form.

    Answer

    part-key

  15. 15
    Third Normal Form states that every
    _____
    attribute in a table must depend on the key, the whole key, and nothing but the key.
    Hint

    This rule prevents transitive dependencies.

    Answer

    non-key

  16. 16
    A
    _____
    dependency exists when one non-key attribute depends on another non-key attribute.
    Hint

    This type of dependency is indirect and is forbidden by Third Normal Form.

    Answer

    transitive

  17. 17
    _____
    Normal Form is a slightly stronger version of Third Normal Form that requires every attribute to depend on the key, the whole key, and nothing but the key.
    Hint

    It drops the 'non-key' qualifier from the 3NF rule.

    Answer

    Boyce-Codd

  18. 18
    A table that meets 3NF but not BCNF must have multiple overlapping
    _____
    keys.
    Hint

    These are potential primary keys.

    Answer

    candidate

  19. 19
    Fourth Normal Form allows only
    _____
    dependencies on the key.
    Hint

    Use the double-headed arrow notation.

    Answer

    multivalued

  20. 20
    A
    _____
    dependency exists when one attribute determines a set of values for another attribute independently of other attributes.
    Hint

    It is denoted by a double-headed arrow.

    Answer

    multivalued

  21. 21
    In the DesignMyBirdhouse example, the table violates Fourth Normal Form because
    _____
    is not the key but has multivalued dependencies on it.
    Hint

    The key includes Model, Color, and Style collectively.

    Answer

    Model

  22. 22
    Fifth Normal Form requires that a table cannot be described as the logical result of
    _____
    some other tables together.
    Hint

    This operation combines tables based on common attributes.

    Answer

    joining

  23. 23
    In the ice cream example, the correct design to be in Fifth Normal Form is to have separate tables for brands and flavors, brands and people, and
    _____
    and flavors.
    Hint

    This table captures which flavors each person likes.

    Answer

    people

  24. 24
    To ensure a table is in Fifth Normal Form, we must check that it cannot be broken down into
    _____
    tables that can be rejoined to reconstruct the original.
    Hint

    This decomposition should not lose any information.

    Answer

    smaller

1 of 24
Question 1 of 24

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent