DBMS Important Questions
DBMS Important Questions
1. What is a Database? Explain the three schema architecture with neat diagram.
2. Explain the component modules of DBMS & their interactions with diagram.
3. Explain the categories of Data Models.’
4. What are the advantages of using DBMS approach?
5. Explain the data independence
6. Draw an ER diagram for a company database and Employee database with employee,
department, project as strong entities, and dependent as a weak entity
7. Explain the categories of Data Models.
8. Define the following terms with examples using ER notations: Entity, attribute, composite
attribute, multivalued attribute, participation role.
9. What are the responsibilities of DBA & database designers?
10. Explain the different types of update operations on relational database. How basic operation
deals with constraint violation.
11. Explain Unary relational operations with examples.
12. What is an Integrity Constraint? Explain the importance of Referential Integrity Constraint.
13. Explain the following relational algebra operation. JOIN, DIFFERENCE, SELECT, UNION ,
PROJECT
14. Discuss the E.R to Relational mapping algorithm with example for each step.
15. Explain the relational algebra operation for set theory with examples.
16. Explain Aggregate Functions with example.
17. Informal design guidelines for relation schema design
18. Illustrate insert, delete, update, alter & drop commands in SQL.
19. What is Functional dependency? Explain the inference rules for functional dependency with
proof.
20. Explain the types of update anomalies in SQL with an example.
21. Explain 1NF,2NF AND 3NF with example
22. Write SQL Commands for INSERT, UPDATE, and DELETE
23. Discuss insertion, deletion, and modification anomalies. Why are they considered bad?
Illustrate with examples.
24. Demonstrate transaction states & additional operations.
25. Demonstrate working of Assertion & Triggers in database? Explain with an example.
26. Illustrate the following with suitable examples: ● (i) Datatypes in SQL ● (ii) Substring Pattern
Matching in SQL
27. What do you understand by correlated and nested queries in SQL? Explain with a suitable
example.
28. What are the views in SQL? Explain with examples.
29. In SQL, write the usage of GROUP BY and HAVING clauses with suitable examples
30. What is the two-phase locking protocol? How does it guarantee serializability?
31. Discuss the ACID properties of a database transaction.
32. Demonstrate the System Log in database transaction.
33. Explain stored procedure language in SQL with an example.
34. Explain the Two phase locking protocol used for concurrency control.
35. Define Schedule? Illustrate with an example.
36. Why Concurrency control is needed? Demonstrate with an example.
37. What is NOSQL? Explain the CAP theorem.
38. What are document based NOSQL systems? basic operations CRUD in MongoDB.
39. What is NOSQL Graph database? Explain Neo4j.
40. What is Multiple Granularity Locking? How is it implemented using intention locks? Explain.