1. Explain DML (Data Manipulation Language)?

This language that enable user to access or manipulate data as organised by appropriate data model.

► Procedural DML or Low level: DML requires a user to specify what data are needed and how to get those data.
► Non-Procedural DML or High level: DML requires a user to specify what data are needed without specifying how to get those data.

2. Explain VDL (View Definition Language)?

It specifies user views and their mappings to the conceptual schema.

3. What you know in mapping of ERD to DFD?

a) entities in ERD should correspond to an existing entity/store in DFD
b) entity in DFD is converted to attributes of an entity in ERD
c) relations in ERD has 1 to 1 correspondence to processes in DFD
d) relationships in ERD has 1 to 1 correspondence to flows in DFD

(a) entities in ERD should correspond to an existing entity/store in DFD

4. Explain Data Independence?

Data independence means that ?the application is independent of the storage structure and access strategy of data?. In other words, The ability to modify the schema definition in one level should not affect the schema definition in the next higher level.

Two types of Data Independence are:

► Physical Data Independence: Modification in physical level should not affect the logical level.
► Logical Data Independence: Modification in logical level should affect the view level.

5. Explain Armstrong rules? How they are complete and/or sound?

The well-known inference rules for FDs
►► Reflexive rule :
If Y is subset or equal to X then X Y.
►► Augmentation rule:
If X Y then XZ YZ.
►► Transitive rule:
If {X Y, Y Z} then X Z.
►► Decomposition rule :
If X YZ then X Y.
►► Union or Additive rule:
If {X Y, X Z} then X YZ.
►► Pseudo Transitive rule :
If {X Y, WY Z} then WX Z.

Of these the first three are known as Amstrong Rules. They are sound because it is enough if a set of FDs satisfy these three. They are called complete because using these three rules we can generate the rest all inference rules.

6. Explain BCNF (Boyce-Codd Normal Form)?

A relation schema R is in BCNF if it is in 3NF and satisfies an additional constraint that for every FD X --> A, X must be a candidate key.

7. Explain Relational Algebra?

It is procedural query language. It consists of a set of operations that take one or two relations as input and produce a new relation.

8. Explain the different types of JOIN operations?

Equi Join:
This is the most common type of join which involves only equality comparisons. The disadvantage in this type of join is that there

9. Explain Fully Functional dependency?

Fully Functional dependency is based on concept of full functional dependency. A functional dependency X --> Y is full functional dependency if removal of any attribute A from X means that the dependency does not hold any more.

10. Explain degree of a Relation?

Degree of a Relation is the number of attribute of its relation schema.

Download Interview PDF

11. Explain DDL Interpreter?

It interprets DDL statements and record them in tables containing metadata.

Its a language in database through which you can make the logical design of the schemas ....

12. Explain 5NF?

A Relation schema R is said to be 5NF if for every join dependency {R1, R2, ..., Rn} that holds R, one the following is true

► Ri = R for some i.
► The join dependency is implied by the set of FD, over R in which the left side is key of R.

13. Explain DML Compiler?

It translates DML statements in a query language into low-level instruction that the query evaluation engine can understand.

14. Explain 4NF?

A relation schema R is said to be in 4NF if for every Multivalued dependency X --> Y that holds over R, one of following is true
► X is subset or equal to (or) XY = R.
► X is a super key.

15. Explain 3NF?

A relation schema R is in 3NF if it is in 2NF and for every FD X --> A either of the following is true

► X is a Super-key of R.
► A is a prime attribute of R.

In other words, if every non prime attribute is non-transitively dependent on primary key.

16. Explain 2NF?

A relation schema R is in 2NF if it is in 1NF and every non-prime attribute A in R is fully functionally dependent on primary key.