Unit4 - Subjective Questions

INT306 • Practice Questions with Detailed Answers

1

Explain the concept of Data Integrity Rules in a relational database system. Discuss Entity Integrity and Referential Integrity with examples.

2

What is a Functional Dependency? Explain its significance in relational database design.

3

Discuss the need for Normalization in a database. Explain the various anomalies that can occur in an unnormalized database.

4

Define First Normal Form (1NF). Give an example of a relation not in 1NF and show how to convert it to 1NF.

5

What is a Partial Dependency? How is it resolved to achieve Second Normal Form (2NF)?

6

Explain Transitive Dependency with a suitable example. How does Third Normal Form (3NF) address it?

7

Distinguish between 3NF and Boyce-Codd Normal Form (BCNF). Why is BCNF considered stronger than 3NF?

8

Define Multivalued Dependency (MVD). Provide an example illustrating how it causes problems in database design.

9

Explain Fourth Normal Form (4NF) with respect to Multivalued Dependencies.

10

Differentiate between Trivial and Non-Trivial Functional Dependencies using appropriate examples.

11

State and explain Armstrong's Axioms for functional dependencies.

12

What is meant by the 'Closure' of a set of functional dependencies? How is the closure of an attribute set computed?

13

Explain the concept of a Lossless-Join Decomposition. Why is it a necessary condition for a valid database design?

14

What is Dependency Preserving Decomposition? Illustrate with a brief example.

15

Given a relation with functional dependencies . Find the highest normal form of .

16

Explain the concept of Domain Integrity and User-defined Integrity.

17

Consider the relation schema and the functional dependencies , , . Compute the closure of (i.e., ).

18

Why might a database designer choose to denormalize a database? What are the potential trade-offs?

19

Explain the concept of Equivalence of Sets of Functional Dependencies.

20

Discuss a scenario where a relation is in 3NF but violates BCNF. Provide an example schema and decompose it into BCNF.