DBMS Important Questions
DBMS Important Questions
1.Explain the importance of SQL functions like Date and Time, Numeric, and String
conversion in SQL queries
2.What is the purpose of schema refinement and normalization in database design?
3.Define ACID properties in the context of transaction management in databases.
4.What is the purpose of the GROUP BY clause in SQL? Provide an example.
5.Define the term "functional dependency" and explain its significance in database
normalization
6.What is the difference between optimistic and pessimistic concurrency control
methods?
7.Describe the process of creating tables in SQL with relationships, including the
implementation of key and integrity constraints.
8.Discuss the implementation of various types of joins (inner, left, right, full)
in SQL. Provide examples of each.
9.Explain the different normal forms (1NF, 2NF, 3NF, BCNF, 4NF, 5NF) with examples.
Discuss the role of functional dependency in achieving these forms.
10.What is a lossless join decomposition? How does it help in maintaining database
consistency? Illustrate with examples.
11.Discuss the concept of serializability in database transactions. Explain how
serializability ensures consistency in concurrent executions.
12.Explain the recovery algorithms used in database management for handling
transaction failures. How do these algorithms ensure atomicity and consistency?
13.Describe the use of aggregate functions (such as SUM, AVG, MAX, MIN) in SQL. How
can these functions be combined with the GROUP BY clause to produce meaningful
results?
14.Explain the role of subqueries in SQL. How do nested queries differ from regular
queries? Provide examples of different types of subqueries.
15.Discuss Boyce-Codd Normal Form (BCNF) and Fourth Normal Form (4NF). What issues
do these normal forms address in database schema design?
16.Illustrate the concept of surrogate keys and explain how they differ from
natural keys. When and why would you use a surrogate key in database design?
17.What is a deadlock in database transactions? Explain the methods for detecting
and resolving deadlocks.
18.Describe the importance of indexing in databases. Compare B+ Trees and hash-
based indexing, outlining the benefits and limitations of each.