Week 4 Assignment 1
Week 4 Assignment 1
1. Update operations:
Modification (update): this operation is used to change or update data that already
exists in a database.
2. Redundant data: this refers to duplicated data within a database. It can lead to
3. Insertion anomaly: It occurs in a database when you cannot add certain types of data
without adding additional, unrelated data. This is because of denormalized tables within a
database.
duplicated, and the deletion of one instance of the data leads to the unintentional loss of
database such that one set of attributes determines values of the other set of attributes.
8. Full key functional dependency: Refers to a situation where all non-key attributes in a
database table depend on the entire primary key and not just a portion of it.
9. A transitive functional dependency occurs when an attribute depends on another attribute
10. When a relation consists of one atomic value, it is called to be in 1 normal form (or 1NF)
in DBMS. In other words, 1NF indicates that a table's attribute will not be allowed to
hold many values; instead, it will only be able to hold a single value.
11. Second Normal Form (2NF): is a property of a relational database table that requires it to
be in 1NF and also ensures that no partial functional dependencies exist. In other words,
all non-key attributes must be functionally dependent on the entire primary key.
12. The Third Normal Form (3NF) is a characteristic of a relational database table that
mandates the table to satisfy the requirements of 2NF, and also ensures that there are no
functional dependencies that exist between non-key attributes that are transitive. This
means that non-key attributes should not depend on other non-key attributes.
combining tables and storing redundant data in order to improve query performance. It is
typically done to reduce the number of joins required for complex queries.
14. The purpose of designer-added entities, tables, and keys in a database design is to
improve data accuracy, reduce redundancy, and ensure data integrity. These additions
help in organizing and structuring data in a way that reflects the real-world relationships