DBMS IMPORTANT QUESTIONS
5 marks
[Link] the difference between a database system and a file system.
[Link] are the advantages of using a database system?
[Link] the concept of generalization and specialization in ER models.
[Link] is the role of a database administrator (DBA)?
[Link] the concept of inheritance in an ER diagram.
[Link] the three-tier schema architecture and its importance.
[Link] is the client-server architecture in database systems?
[Link] the significance of the schema in a database system.
[Link] the role of relationships and relationship sets in the ER model.
[Link] are the key constraints in an ER diagram?
[Link] the importance of null values in a relational database.
[Link] the domain and integrity constraints with examples.
[Link] the significance of relational algebra in database operations.
[Link] the different types of constraints in the relational model.
[Link] is a simple database schema defined? Provide an example.
[Link] the differences between the CREATE and ALTER SQL commands.
[Link] the concept of key constraints and their importance in relational databases.
[Link] are the basic DML operations in SQL? Explain each with examples.
[Link] relational algebra with relational calculus in terms of functionality.
[Link] do domain constraints ensure data integrity in relational databases?
[Link] the use of arithmetic and logical operations in SQL with examples.
22. Describe SQL functions for string conversion with examples.
[Link] are tables with relationships created in SQL? Explain with an example.
[Link] are key constraints? How are they implemented in SQL?
[Link] the concept of aggregation in SQL and provide an example using the GROUP BY clause.
[Link] the different types of joins (INNER, LEFT, RIGHT, and FULL) in SQL with examples.
[Link] are relational set operations in SQL? Explain using examples.
[Link] the difference between updatable and non-updatable views in SQL.
[Link] are nested queries used in SQL? Provide an example.
[Link] the use of the ORDER BY clause in SQL for sorting data.
[Link] the purpose of normalization in database systems.
[Link] is the difference between 1NF and 2NF? Provide examples.
[Link] the concept of functional dependency with an exam
[Link] the importance of lossless join decomposition.
[Link] are the key differences between 3NF and BCNF? Provide examples.
[Link] the concept of surrogate keys and when they are used.
[Link] is multivalued dependency (MVD), and how does it affect 4NF?
[Link] dependency-preserving decomposition in normalization.
[Link] the conditions for a relation to be in 4NF.
[Link] is Fifth Normal Form (5NF)? Give an example.
[Link] the ACID properties of a transaction with examples.
[Link] the different states of a transaction.
[Link] is serializability, and why is it important in concurrent transactions?
[Link] the differences between lock-based and timestamp- based concurrency control.
[Link] are the different types of failures in transaction systems? Provide examples.
[Link] how a deadlock occurs and how it can be resolved in a database system.
[Link] the operations performed on a B+ Tree.
[Link] is the significance of testing for serializability in concurrent transactions?
[Link] the concept of recovery and atomicity in transaction management.
[Link] optimistic and pessimistic concurrency protocols.
10 marks:
Discuss the characteristics of database systems and how
1
they differ from file systems.
Explain the three-tier architecture and how it provides
2
data independence.
Describe different types of data models and their
3
relevance in database design.
4 Explain the Entity-Relationship (ER) model with
examples of entities, attributes, and relationships.
Discuss the database environment and the structure of a
5
typical database system.
Compare centralized and client-server architectures,
6
giving examples of each.
Explain constraints, subclasses, and superclasses in ER
7
diagrams, with examples.
How does the ER model represent specialization,
8
generalization, and inheritance? Provide a detailed explanation.
Discuss the advantages and disadvantages of a database
9
system over a traditional file system.
Explain the concept of schema, instance, and the
10
importance of data independence in modern databases.
Explain the core concepts of the relational model, including domain, tuple, attribute, and
1
relation.
Discuss in detail the various constraints in a relational
2
model and their importance.
Describe the importance of null values in relational
3
databases and how they are handled.
4 Explain relational algebra and its operations with examples.
Compare and contrast relational algebra and relational
5
calculus with examples.
Discuss the use of the WHERE clause in SQL for
1
filtering data with both arithmetic and logical operations.
Explain SQL functions for working with Date, Time,
2
Numeric, and String data. Provide examples.
How can key and integrity constraints be implemented when creating tables in SQL? Give
3
an example.
4 Explain nested queries and subqueries in SQL with detailed examples.
5 Discuss the concept of grouping and aggregation in SQL. Provide a detailed example using
GROUP BY,
HAVING, and aggregate functions.
Compare different types of joins in SQL (INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL OUTER
6 JOIN) with
examples.
Explain how views are created and used in SQL. What
7
is the difference between updatable and non-updatable views? Provide examples.
What are relational set operations (UNION, INTERSECT, and EXCEPT) in SQL? Provide
8 examples
of their usage.
How can SQL be used for data ordering and sorting?
9
Explain with an example using the ORDER BY clause.
How do you create tables with relationships in SQL, enforcing key and integrity constraints?
10 Discuss with an
example.
1 Discuss the different stages of normalization (1NF, 2NF, 3NF, BCNF) with examples for each.
Explain the concept of functional dependency and its
2
role in database normalization. Provide examples of partial and transitive dependencies.
What is lossless join decomposition, and how is it ensured
3
normalization? Explain with an example.
Compare BCNF with 3NF. Under what conditions is
4
BCNF preferred over 3NF?
Discuss the ACID properties in detail, highlighting their
1
importance in transaction management.
Explain the concept of concurrent execution in
2
databases and how serializability is ensured
Describe lock-based concurrency control, including two-phase locking (2PL) and its
3
significance.
Explain timestamp-based concurrency control and how
4
it differs from lock-based mechanisms.
5 What are the different failure classifications in
databases? Explain how recovery is implemented in the event of failure.
Discuss the role of deadlock detection, prevention, and
6
recovery in databases.
Describe the B+ Tree indexing technique, including its structure and operations, with
7
examples.
How does hash-based indexing work? Explain its
8
advantages and limitations in comparison to B+ Trees.