RDBMS

  Home  Databases Programming  RDBMS


“RDBMS Interview Questions and Answers will guide us here that relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model. Most popular commercial and open source databases currently in use are based on the relational model. Learn more about RDBMS with the help of this RDBMS Interview Questions with Answers guide”



98 RDBMS Questions And Answers

1⟩ Disadvantage in File Processing System?

► Data redundancy & inconsistency.

► Difficult in accessing data.

► Data isolation.

► Data integrity.

► Concurrent access is not possible.

► Security Problems.

 153 views

2⟩ Describe the three levels of data abstraction?

The are three levels of abstraction:

► Physical level: The lowest level of abstraction describes how data are stored.

► Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.

► View level: The highest level of abstraction describes only part of entire database.

 143 views

3⟩ Advantages of DBMS?

Redundancy is controlled. Unauthorised access is restricted. Providing multiple user interfaces. Enforcing integrity constraints. Providing backup and recovery.

 148 views

4⟩ Define the Integrity Rules?

There are two Integrity rules.

► Entity Integrity: States that ?Primary key cannot have NULL value?

► Referential Integrity: States that ?Foreign Key can be either a NULL value or should be Primary Key value of other relation.

 126 views

6⟩ What is DBMS?

It is a collection of programs that enables user to create and maintain a database. In other words it is general-purpose software that provides the users with the processes of defining, constructing and manipulating the database for various applications.

 145 views

7⟩ What is a Database?

A database is a logically coherent collection of data with some inherent meaning, representing some aspect of real world and which is designed, built and populated with data for a specific purpose.

 157 views

8⟩ How can you find the minimal key of relational schema?

Minimal key is one which can identify each tuple of the given relation schema uniquely. For finding the minimal key it is required to find the closure that is the set of all attributes that are dependent on any given set of attributes under the given set of functional dependency.

Algo. I Determining X+, closure for X, given set of FDs F

1. Set X+ = X

2. Set Old X+ = X+

3. For each FD Y Z in F and if Y belongs to X+ then add Z to X+

4. Repeat steps 2 and 3 until Old X+ = X+

Algo.II Determining minimal K for relation schema R, given set of FDs F

1. Set K to R that is make K a set of all attributes in R

2. For each attribute A in K

a. Compute (K – A)+ with respect to F

b. If (K – A)+ = R then set K = (K – A)+

 145 views

10⟩ What is Object Oriented model?

This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code that operate on the object. These bodies of code are called methods. Objects that contain same types of values and the same methods are grouped together into classes.

 167 views

11⟩ What is E-R model?

E-R model stands for Entity-Relationship model. This data model is based on real world that consists of basic objects called entities and of relationship among these objects. Entities are described in a database by a set of attributes.

 147 views

13⟩ What do you understand by dependency preservation?

Given a relation R and a set of FDs F, dependency preservation states that the closure of the union of the projection of F on each decomposed relation Ri is equal to the closure of F. i.e.,

((?R1(F)) U … U (?Rn(F)))+ = F+

if decomposition is not dependency preserving, then some dependency is lost in the decomposition.

 140 views

15⟩ What is 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.

 152 views

17⟩ What is meant by Proactive, Retroactive and Simultaneous Update?

Proactive Update:

The updates that are applied to database before it becomes effective in real world .

Retroactive Update:

The updates that are applied to database after it becomes effective in real world .

Simulatneous Update:

The updates that are applied to database at the same time when it becomes effective in real world .

 134 views

18⟩ What is 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.

 157 views

19⟩ What is Fully Functional dependency?

t 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.

 142 views

20⟩ What is 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.

 132 views