Unit 3: Database Normalisation - Subjective Questions

CAP570 — Advanced Database Techniques • Practice Questions with Detailed Answers

20 questions

1

Define a functional dependency. Distinguish between trivial, non-trivial, and completely non-trivial functional dependencies with examples.

2

Explain Armstrong's axioms for functional dependencies. Show how additional inference rules can be derived from them.

3

For relation with functional dependencies , , , and , calculate and determine whether is a candidate key.

4

Explain insertion, update, and deletion anomalies using an unnormalized or poorly normalized student-enrollment relation.

5

Describe the objectives of database normalization and explain the general progression from 1NF to BCNF.

6

Define First Normal Form (1NF). How would you convert a relation containing multiple phone numbers in one field into 1NF?

7

Define Second Normal Form (2NF) and explain the concept of partial dependency with an example.

8

Normalize the relation ORDER_DETAIL(OrderID, ProductID, OrderDate, CustomerID, ProductName, UnitPrice, Quantity) into 2NF, assuming the key is .

9

Define Third Normal Form (3NF) and explain how transitive dependencies can cause a violation of 3NF.

10

Apply the 3NF synthesis approach to with dependencies , , and .

11

Define Boyce-Codd Normal Form (BCNF) and explain why it is stricter than 3NF.

12

Compare 3NF and BCNF. Include their formal conditions, similarities, and practical trade-offs.

13

Consider TEACHING(Student, Course, Instructor) with dependencies and . Determine whether it is in BCNF and decompose it if necessary.

14

What is a lossless-join decomposition? State the binary lossless-join test and illustrate it with an example.

15

Explain dependency preservation. Why may it conflict with achieving BCNF?

16

For with dependencies and , identify the candidate keys and determine the highest normal form satisfied by the relation.

17

Define denormalization and describe common denormalization techniques used in database design.

18

Compare normalization and denormalization in terms of objectives, advantages, disadvantages, and suitable applications.

19

Explain the risks of denormalization and describe measures that can be used to maintain data consistency in a denormalized database.

20

A library stores BORROWING(MemberID, MemberName, BookID, BookTitle, PublisherID, PublisherName, BorrowDate). Assuming , , , and is the key, analyze the anomalies and normalize the relation to 3NF.