CS3492 DBMS QB
CS3492 DBMS QB
QUESTION BANK
DATABASE MANAGEMENT SYSTEMS
Subject Name Subject Code CS3492
Department CSE Year/Sem II/IV
UNIT I
RELATIONAL DATABASES
PART A
What is data model? List the types of data model used. (Apr-May 19)
1
What is data model? Name the categories of data models. (Apr-May 23)
2 List any eight applications of DBMS. (Apr-May 19)
What are the four main characteristics that differentiate the database approach from the file
3
processing approach? (Nov-Dec 19)
4 What is the difference between primary key and foreign key? (Nov-Dec 05)
5 What is a weak entity? Give Example. (NOV 2016, APR 2018)
6 Define a foreign key. Give example. (APR 2018)
7 Name the three levels of data abstraction in a DBMS? (Nov-Dec 21) (Nov-Dec 17)
8 What is data manipulation language? (Nov-Dec 21)
9 Outline referential integrity with an example. (Apr-May 23)
10 What is data definition language? Give example. (Apr-May 2018)
11 What is purpose of database management system? (Nov-Dec 14)
Is it possible for several attributes to have same domain? Illustrate your answer with suitable
12
example. (Nov-Dec 15)
13 Why key is essential? Write the different types of keys. (Nov-Dec 04)
14 Give brief description of DCL command. (Nov-Dec 14)
15 Define a primary key. Give example (Apr-May 09)
16 Name the categories of SQL commands. (Apr-May 12)
17 Why does SQL allow duplicate tuples or in a query result? (Nov-Dec 15)
Explain in relation algebra, the division operation (/) using projects, Cartesian product and minus
18
operations. Give a simple example. (Nov-Dec 19)
19 What is referential integrity? (Apr-May 04,08)
20 What is domain integrity? Give example (Nov-Dec 08)
What are different types of integrity constraints used in designing relational database? (Nov-Dec
21
07)
22 List the reason why null value might be introduced into the database. (Apr-May 06)
23 List the various operators used in relational algebra. (Apr-May 06)
24 What is meant by instance and schema of the database? (Apr-May 04, Dec 05)
25 Differentiate between Dynamic SQL and Static SQL. (Apr-May 15)
PART-B
1 Explain the three different groups of data models with suitable examples. (Apr-May 19)
2 Sketch the typical component modules of DBMS. Indicate and explain the interactions between
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
DATABASE MANAGEMENT SYSTEMS
Subject Name Subject Code CS3492
Department CSE Year/Sem II/IV
6 Outline the equi-join, left outer join, right outer join and full outer join operations in relational
algebra with an example. (Nov-Dec 21) (Apr-May 23)
7 Explain select, project and Cartesian product operations in relational algebra with an example?
(NOV 2016, APR 2018)
8 Consider the following relations:
EMPLOYEE(ENO, NAME, DATE_BORN, GENDER, DATE_JOINED, DESIGNATION,
BASIC_PAY, DEPARTMENT_NUMBER)
DEPARTMENT( DEPARTMENT_NUMBER, NAME)
Write SQL queries to perform the following:
(i) List the details of employees belonging to department number ‘CSE’.
(ii) List the employee number, employee name, department number, and department name of
all employees.
(iii) List the department number and number of employees in each department.
(iv) List the details of employees who earn less than the average basic pay of all the
employees. (Nov-Dec 21)
9 Consider the following schema:
Suppliers (sid: integer, sname: string, address: string)
Parts (pid: integer, pname: string, color: string)
Catalog (sid: integer, pid: integer, cost: real)
The key fields are underlined and the domain of each field is listed after the field name. Therefore
sid is the key for Suppliers, pid is the key for Parts and sid and pis together is the key for Catalog.
The Catalog relation lists the price charged for parts by suppliers.
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
DATABASE MANAGEMENT SYSTEMS
Subject Name Subject Code CS3492
Department CSE Year/Sem II/IV
PARTB
1. Discuss in detail about the enhanced ER-model?
13. Explain First normal form, second normal and Third normal form with suitable example?
(APR/MAY 2023)
14. Exemplify the multi-value dependency and the 4th normal form 4NF? ?(NOV?DEC 2019)
15. What is normalization? Explain in detail about all normal forms? ?(APR/MAY 2019)
UNIT-3 : TRANSACTIONS
PART- A
3 List the responsibilities of DBMS has whenever the transaction is submitted to the system for
execution?
Brief any two violations that may occur if a transaction executes a lower isolation level than
4
serializable? (NOV/DEC 2019)
5 Define serializability? (APR/MAY 2023)
6 State the difference between share lock and exclusive lock? ( APR/MAY 2018)
7 Name the properties that must be satisfied by a transaction? (APR/MAY 2019)
8 Outline the need for concurrency control? (APR/MAY 2019)
9 Define ACID properties? (NOV/DEC 2017)
10 What are serializable schedules? (NOV/DEC 2021)
11 Name the types of locks? (NOV/DEC 2022)
12 Draw the diagram that represents transition state. (NOV/DEC 2022)
13 What is shadow-paging?
14. Give the draw back of shadow-paging techniques? (NOV/DEC 2018)
15 Highlight the role of recovery management component? ( NOV/DEC 2018)
16. How the timestamps are implemented
17. What are the timestamps associated with each data item?
18 When is a transaction rolled back?
19 What are two pitfalls offlock-based protocols? (APRIL/MAY- 2011)
20 What is a recovery scheme?
21 What is serializability? Explain its types? (APRIL/MAY 2018)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
DATABASE MANAGEMENT SYSTEMS
Subject Name Subject Code CS3492
Department CSE Year/Sem II/IV
22. Name four conditions for deadlock (APR/MAY 2023& (NOV/DEC 2021))
23. Give an example of Two phase commit protocol. (NOV/DEC2015)
24. Expand ARIES.
25.
What are the three broad phases of ARIES?
PART –B
1 What is a transaction? Draw the state diagram corresponding to a transaction and present an outline
of the same. (NOV/DEC 2021)
2 Outline the properties that must be satisfied by a transaction. (NOV/DEC 2021)
3 Outline the isolation levels specified by the SQL standard with an example. (NOV/DEC 2021)
4 Outline the SQL statements used for transaction control. (NOV/DEC 2021)
5 What is transaction? List and explain ACID properties with an example? (APR/MAY 2023)
6 Outline the two phase locking protocol with an example? (APR/MAY 2023)
7 Consider the following schedules. The actions are listed in the order they are scheduled,
and prefixed with the transaction name.(AN) (Dec2015)
S1:T1:R(X),T2:R(X),T1:W(Y),T2:W(Y),T1:R(Y),T2:R(Y)
S2:T3:W(X),T1:R(X),T1:W(Y),T2:R(Z),T2:W(Z),T3:R(Z)
For each of the schedule, answer the following questions:
(i)what is the precedence graph for the schedule?
(ii)is the schedule conflict –serializable? if so, what are all the conflict equivalent serial
schedules?
(iii)is the schedule view-serializable? if so, what are all the view equivalent serial schedules?
8 Discuss the role of Two-phase locking for concurrency control? (NOV/Dec 2022)
9 Define Transaction? Explain the desirable properties of Transaction? (NOV/Dec 2022)
10 Narrate the actions that are considered for deadlock detection & deadlock prevention scheme?
(NOV/Dec 2022)
11 Explain the deferred and immediate-modification version of the log based Recovery scheme
12 With suitable example explain the concept of conflict serializability? (NOV/Dec 2022)
13 Explain various recovery techniques used during transaction in detail. (MAY2007)
14 Explain the two-phase commit and three-phase commit protocols
15 What is Recovery? Outline the steps in Algorithm for Recovery and Isolation Exploiting
Semantics(ARIES) with an example? (APR/MAY 2023)
UNIT IV
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
DATABASE MANAGEMENT SYSTEMS
Subject Name Subject Code CS3492
Department CSE Year/Sem II/IV
IMPLEMENTATION TECHNIQUES
PART A
PART-B
1 Describe different types of file organisation. Explain using a sketch of each of the, with their
advantages and disadvantages. (DEC-08)
2 What is an index record? Outline dense index and sparse index with an example. (Nov-Dec 21)
3 How the records are represented and organized in files. Explain with suitable example? (Dec 2018)
4 What is RAID? Briefly discuss about RAID? (May 2019, Nov 2019)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
DATABASE MANAGEMENT SYSTEMS
Subject Name Subject Code CS3492
Department CSE Year/Sem II/IV
PART-B
1 Outline the two basic types of fragmentation in a distributed database environment with an example.
(Nov-Dec 21)
2 With neat diagram, explain the system structure of distributed database. (Nov-Dec 22)
Explain about Distributed Databases and their characteristics, functions and advantages and
disadvantages. (May’2016)
3 Explain in detail various approaches used for soring a relation in distributed databases. (DEC 19)
4 What is a distributed transaction? Explain distributed query processing with an example. (Apr-May
23)
5 6) What is NoSQL? Outline the features of NoSQL databases. (Apr-May 23)