0

RDBMS

Description: This test consists of questions related to Relational database design, tools based which are useful for computer science and gate students.
Number of Questions: 15
Created by:
Tags: Database CS gate Database Database Management System
Attempted 0/15 Correct 0 Score 0

Which of the following is the incorrect statement in relational database design process?

  1. Specialization is used for the subgrouping of entities in relationship sets.

  2. Specialization have a bottom up manner approach in its relationship among entities.

  3. For generalization there should be some common attribute among the entities.

  4. Generalization maintains relationship among higher level entity set and one or more lower level entity sets.

  5. None of the above


Correct Option: B
Explanation:

This is false statement as it is used to subgroup the top level entities.

Which of the following statement (s) is/are false in relational database design approach?

  1. Generalization in relational database is like an abstraction approach.

  2. In Aggregation, the entities are treat as higher level entities.

  3. Aggregation also classify the entities further.

  4. Specialization classify the distinct entities in the entity sets.

  5. Both (1) and (3).


Correct Option: E
Explanation:

These are false statements.

Which of the following is/are true about Aggregation and Composition?

  1. Aggeregation possess 'has a' relationship.

  2. Composition approach determines that the member object can exists without the containing class.

  3. Composition possess 'is a' relationship.

  4. All of the above.

  5. Both (1) and (3).


Correct Option: E
Explanation:

These are the true statements.

Consider the following scenario-An entity 'Train' is further classified in to two sub-entities, i.e., 'Passenger' and 'Goods', then which of the following statement is/are true?

  1. The 'Train' possesses a generalization approach.

  2. 'Passenger' train and 'Goods' train possesses a specialization approach.

  3. The 'Train' also possess aggregation approach.

  4. All of the above.

  5. Both (1) and (2).


Correct Option: E
Explanation:

These are the correct statements.

Which of the following is/are true statement in relational database?

  1. In 2nd NF, primary key contains multiple attributes.

  2. In 3 NF, a relation is decomposed and set up a new relation for each partial key.

  3. A functional dependency exists only when both constraints functionally dependent on each other.

  4. All of the above.

  5. Only (1) and (3).


Correct Option: D
Explanation:

All are the true statements.

Which of the following approach in database design is not applicable according to E.F. Codd's rule?

  1. The database system can apply the DML (Data Manipulation Language) operations on multiple rows simultaneously.

  2. The application programs affect on account of any operation in the changes in the disk storage.

  3. The application programs will remain unimpaired in case of data are physically centralized or distributed.

  4. The integrity constraints can not be applied on application programs.

  5. Both (2) and (4).


Correct Option: B
Explanation:

This is false as Codd specify the 'Physical data independence rule so any change in the storage can not affect the programs.

What are the problems that as database manager, one may face without the normalization approach?

  1. There may be loss of data possible while maintaining database.

  2. There may be null value in the column while inserting records.

  3. There may be inconsistency in the database possible while maintaining database.

  4. All of the above.

  5. Only (1) and (3).


Correct Option: D
Explanation:

All are the true statements.

Which of the following is false statement about BCNF (Boyce Codd Normal Form) in relational database?

  1. BCNF is the higher version of third normal form (3NF).

  2. A database design is in BCNF if each entity in the set constitute the design.

  3. BCNF performs dependency preservation.

  4. All of the above.

  5. Both (2) and (3).


Correct Option: C
Explanation:

Every BCNF decomposition is not dependency preservation. It means that one attribute in the relational schema does not include dependency.

Which of the following is not applicable in case of 2 NF in relational database?

  1. For 2NF, a table must be in 1NF.

  2. The list of values can not be allowed in 2 NF.

  3. There is a one to many relationship exists in 2 NF.

  4. Every non-key is fully dependent on the primary key.

  5. None of the above


Correct Option: E
Explanation:

All of the above are the assumptions that are applicable in 2 NF.

Which of the following is/are true about the relational database design process?

  1. One-to-many relationship should have a primary and foreign key in parent and child table.

  2. In relational database, we can not change the value of primary key.

  3. Primary key can also make up of several columns.

  4. All of the above.

  5. Only (1) and (2).


Correct Option: D
Explanation:

All of the above are the true statements.

Which of the following is false about dependency preservation and non-additive join property in relational database?

  1. The non-additive property is very critical in relation database.

  2. Dependency preservation ensures that each functional dependency is represented in individual relations after decomposition.

  3. Dependency preservation is not a necessary process in relational database.

  4. None of these


Correct Option: D
Explanation:

All of the above statements are true. All of the above statements are true.

Which of the following table is/are an example of one-to-many relationships in relational database design?

  1. Two tables 'Product' and 'Orders'.

  2. Two tables 'Product' and 'ProductDetails'.

  3. Two tables 'Teachers' and 'Classes'.

  4. All of the above.

  5. Only (1) and (3).


Correct Option: C
Explanation:

A teacher can teach many classes but a class can have only one teacher. Hence,  it is a one-to-many relationship.

Which of the following normal form based on functional dependency in the database tables?

  1. First Normal Form (1 NF).

  2. Second Normal Form (2 NF).

  3. Third Normal Form (3 NF).

  4. All of the above.

  5. Only (2) and (3).


Correct Option: E
Explanation:

These are true statements.

Which of the following is/are false about column indexing in the database?

  1. A column indexing makes the fast access for selecting the data.

  2. A column indexing makes the DML (Data Manipulation Language) operations slow down.

  3. More than one indexes are possible in a particular table.

  4. Indexers can be applied on a part of a column.

  5. None of the above


Correct Option: E
Explanation:

All of the above are the true statements.

What is the effect of update anomaly in the relational database?

  1. It affects the database optimization.

  2. Due to update anomaly, we need to update thousands of rows in the table.

  3. It makes database inconsistent.

  4. All of the above.

  5. Only (2) and (3).


Correct Option: E
Explanation:

These are the true statement about update anomaly.

- Hide questions