DBMS QB
DBMS QB
1. What is database?
A database is a basic electronic storage with collection of interrelated data, organized to provide efficient
retrieval. Databases are organized by fields, records and files or tables.
2. What is DBMS?
A database management system (DBMS) is a software package designed to define, manipulate, retrieve
and manage data in a database.
Physical level
Logical level
View level
Physical Schema
Logical Schema
External Schema
30. List out the data structure used to implement the storage manager.
Data files
Data dictionary
Indices
PART – B
1. Explain the Characteristics and Purpose of DBMS. (13)
2. Explain the various views of Data with examples. (13)
3. Discuss all the Data Models with examples. (13)
4. Explain DBMS Architecture with an example. (13)
5. What is Procedural Query Language? Explain the various operations performed using relational
operators. (13)
6. Explain Relational Databases with examples. (13)
7. Draw a Schema and mention the various elements of the schema with examples (13) 8. Explain the
different types of keys used in DBMS. (13)
9. Explain Embedded SQL with its applications. (13)
10. Discuss the use of Dynamic SQL in DBMS in detail. (13)
11. Explain the various types of SQL commands. Discuss the features of SQL.
12. What is the notation used in E-R diagram? Explain the E-R model structure with Example. (U) (NOV
2014)
13. Develop an Entity Relationship model for a library management system. Clearly State the problem
Definition, Description, Business Rule and any assumption you make. (AP) (MAY 2009) (NOV 2014)
14. Develop an Entity Relationship model preparation staff (chef) and finalize the customer's bill. The
Food preparation staffs (Chefs), with their touch-display interfaces to the system, are able to view orders
sent to the kitchen by waiters. During preparation, they are able to let the waiter know the status of each
item, and can send notifications when items are completed. The system should have full accountability
and logging facilities, and should support Supervisor actions to account for exceptional circumstances,
such as a meal being refunded or walked out on. (AP) (Dec2015)
15.State and explain the architecture of DBMS. Draw the ER diagram for banking systems. (Home loan
Application) (13) (Nov/Dec-2017)
16. Discuss in detail the steps involved in the ER – to Relational mapping in the process of relational
database design (13)
17. What are aggregate functions? Explain five built-in aggregate functions.
UNIT -II NORMALIZATION
A relation is in the First Normal Form (1NF) if it only contains atomic (indivisible) values
and each column contains values of a single type. There should be no repeating groups or
arrays in a table.
A relation is in the Second Normal Form (2NF) if it is in 1NF and all non-key attributes are
fully functionally dependent on the primary key. This means there are no partial
dependencies of any attribute on the primary key.
A relation is in the Third Normal Form (3NF) if it is in 2NF and no transitive dependencies
exist. In other words, no non-key attribute should be functionally dependent on another non-
key attribute.
6. What is Dependency Preservation?
A relation is in Boyce-Codd Normal Form (BCNF) if it is in 3NF and for every functional
dependency X → Y, X must be a superkey. BCNF is a stricter version of 3NF.
A relation is in the Fourth Normal Form (4NF) if it is in BCNF and contains no non-trivial
multi-valued dependencies. This form ensures that there are no independent sets of multi-
valued attributes in a relation.
A relation is in the Fifth Normal Form (5NF) if it is in 4NF and every join dependency in the
relation is implied by the candidate keys. This ensures that the relation can be decomposed
into smaller relations without any loss of information and without introducing redundancy.
12. What is the difference between Trivial and Non-Trivial Functional Dependencies?
A trivial functional dependency is when the dependent set is a subset of the determinant,
whereas a non-trivial functional dependency is when it is not.
14. What is the difference between Trivial and Non-Trivial Functional Dependencies?
A trivial functional dependency is when the dependent set is a subset of the determinant,
whereas a non-trivial functional dependency is when it is not.
A super key is a set of one or more attributes that, taken collectively, can uniquely
identify a tuple in a relation.
A tuple is a single row in a table, representing a single record containing values for each
attribute.
Referential integrity constraint ensures that foreign keys correctly reference primary
keys, maintaining consistent data across related tables.
Dependency preservation ensures that all functional dependencies in the original relation
are preserved in the decomposed relations.
A candidate key is a minimal super key; it uniquely identifies tuples and consists of the
smallest possible number of attributes.
Part – B
1. Explain Functional Dependencies with examples.
2. Describe Non-loss Decomposition and its importance.
3. Explain the First Normal Form (1NF) with an example.
4. Define the Second Normal Form (2NF) and provide an example.
5. Describe the Third Normal Form (3NF) with an example.
6. Discuss Boyce-Codd Normal Form (BCNF) with an example.
7. Define Multi-valued Dependencies (MVDs) and provide an example
8. Explain the Fourth Normal Form (4NF) with an example.
9. Describe Join Dependencies and the Fifth Normal Form (5NF) with an example.
10. What is Normalization? Explain 1NF, 2NF, 3NF, BCNF, 4NF, 5NF with examples. (13)
11. Explain various functional dependencies of an ER model with an example (13)
12. Explain the concept of Non-Loss Decomposition with an example.