Chapter 1-4 Notes
Chapter 1-4 Notes
1) Define Normalization.
Normalization is the process of converting complex data structures into simple and stable data structures.
2) Define Determinant?
A determinant is an attribute whose value enables us to obtain the values of other related attributes. It appears on
the left side of a functional dependency. Thus in A B, the determinant is A.
3) How is data integrity maintained?
Data integrity is maintained with the help of integrity constraints. The constraints are the rules which are used to
make a the data consistent and correct.
4) What are database anomalies? Only list their names?
Database anomalies are the errors that occur due to duplication of data in the relations. These anomalies affect the
process of inserting, deleting and modifying data in the relations. Following are the types of anomalies.
a. Insertion Anomaly b. Deletion anomaly c. Modification Anomaly
5) What is functional dependency?
It is a relationship between two attributes. It states that if the value of one attribute is known, it is possible to obtain
the value of another attribute e.g. Roll No , Marks.
6) Define Transitive dependency?
It is a type of a functional dependency between two or more non key attributes. It exists if one non key attribute
depends on other non key attributes.
7) Define Partial Dependency?
A type of dependency in which one or more non key attributes are functionally dependent on a part of primary key is
called partial dependency.
rd
8) Define 3 Normal Form? Or when is a relation in 3NF?
rd
A relation is said to be in 3 Normal Form if it is in 2NF and no transitive dependency exists. It is an important factor
in normalization. A relation is not in 3NF if the value of non-key attribute can be obtained by knowing the value of
another non key attribute.
9) What do you mean by entity integrity?
It is a constraint on a primary key value, it is state that any attribute of primary key cannot contains null value. If
primary key contains null value then is not possible to uniquely define the tuple of record assures that it should be
easy to identify each entity in database.
10) How referential integrity can be achieved?
It is constraint on a foreign key value. It states that if a foreign key exists in a relation then foreign key value must
Match the primary key value in parent relation. It is achieved by connecting two relations by specifying relationships
between them. When two relations are connected one is called parent other is called dependent table.
nd nd
11) How 2 Normal form is achieved? Or When a relation is in 2 Normal Form.
It is achieved when
a. The primary key contain only one attribute.
b. Relationship should be in first normal form.
c. Every non key attribute is functionally dependent on the full set of primary key attribute.
12) Define repeating groups?
The term repeating group has also come to be used informally and imprecisely by database designers to mean a
repeating set of columns, meaning a collection of colours containing similar kinds of values in a table. This is different
to its original meaning in relation to 1NF.
13) Define Mutual Exclusiveness of data?
The data that does not have overlapping information is known as mutually exclusive data. It creates problem in cases
where values are “Yes / No”.
st
14) When a relation is in 1 Normal Form?
A relation is in First Normal Form if and only if all underlying domains contain atomic values only.
15) What is Normal Form?
A normal form is a state of a relation that can be determined by applying simple rules, regarding dependencies to that
relation.
nd
16) Write down conditions for a Table to be in 2 NF?
nd
A table will be in 2 NF if any of the following conditions apply.
a. The primary key consists of only one attribute.
b. No non key attributes exists in the relation.
c. Every non key attribute is functionally dependent on the full set of primary key attributes.
Important Long Questions Chapter 4 : - 1. Define Normalization. Explain all types of normalization.