Data Base Management Systems March 2021
Data Base Management Systems March 2021
Data Base Management Systems March 2021
3. a) Give the diagrammatic representation of the recursive relationship and also explain the [7M]
importance of role names in representing a recursive relationship by taking a real time
example.
b) With a suitable example, explain the division and set operator of Relational algebra. [7M]
5. a) Given a Relation R=(A,B,C) and Functional Dependencies are F={ {A,B}→{C}, [10M]
{C}→{A} }. Determine all Candidate keys of R and the highest normal form of R with
proper explanation.
b) Explain the Loss less join property of schema decomposition. [4M]
6. a) Discuss the variants of Two-phase locking protocol by taking suitable examples. [10M]
b) Write the merits and demerits of deferred database modification and immediate database [4M]
modification techniques.
7. a) How records are represented and organized in a file? Explain with suitable example. [7M]
b) Write the significant differences between B-Trees and B+ Trees for creating dynamic [7M]
indexes in DBMS.
*****
||''|''||''||''''''|
Code No: R1631054 R16 SET - 2
III B. Tech I Semester Regular/Supplementary Examinations, March - 2021
DATA BASE MANAGEMENT SYSTEMS
(Common to Computer Science and Engineering, Information Technology)
Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)
2. Answer ALL the question in Part-A
3. Answer any FOUR Questions from Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PART –A (14 Marks)
1. a) List any six popular Database Management System softwares. [2M]
b) What do you mean by weak entity set? Give example. [2M]
c) How null values are treated by aggregate function? [2M]
d) When schema decomposition is said to be dependency-preserving? [3M]
e) What is the objective of concurrency control mechanism in DBMS? [3M]
f) What is hash based indexing in DBMS? [2M]
PART –B (56 Marks)
2. a) Explain in detail about the key components of the DBMS system structure. [7M]
b) Describe any four significant applications of DBMS in real time environment. [7M]
3. a) Explain the types of integrity constraints in DBMS with a suitable example. [7M]
b) What are the types of Relational calculus? Explain with sample queries. [7M]
5. a) Explain the two properties of schema decomposition with suitable examples. [7M]
b) State and explain BCNF with an example. [7M]
6. a) Explain the Lost update problem in DBMS with a suitable example. [7M]
b) Explain the Timestamp based concurrency control mechanism. [7M]
7. a) What is a B+Tree? Describe the properties of B+trees. Explain the structure of [7M]
internal and external nodes in B+tree.
b) How the records are organized in Heap and Sequential files? Explain. [7M]
*****
||''|''||''||''''''|
Code No: R1631054 R16 SET - 3
III B. Tech I Semester Regular/Supplementary Examinations, March - 2021
DATA BASE MANAGEMENT SYSTEMS
(Common to Computer Science and Engineering, Information Technology)
Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)
2. Answer ALL the question in Part-A
3. Answer any FOUR Questions from Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PART –A (14 Marks)
1. a) What is the role of Database Designers? [2M]
b) Can a foreign key value in a database be NULL? Justify your answer. [2M]
c) Why we need Triggers in a database? [2M]
d) Define Multi valued dependency. [3M]
e) Write about wound wait technique for prevention of deadlock. [3M]
f) Is primary index a dense index or sparse index? Justify your answer. [2M]
PART –B (56 Marks)
2. a) With a neat sketch explain the functioning of client server architecture and elaborate [7M]
the importance of DBMS in it.
b) Discuss various levels of data abstraction in a DBMS. [7M]
4. a) Explain the necessity of NULL values in SQL with an example and also explain how [5M]
these NULL values are treated by aggregate functions?
b) Consider the following relational schema: [9M]
Trans-Mstr (TID: Integer,ACCNO: Integer,DATE:Date,
DR-CR:varchar,AMT:number(8,2),CURBAL:number(8,2))
Write a database trigger on the TRANS-MSTR that checks the following:
i) The account number for which the transaction is being performed is a valid
account number.
ii) In case of a withdrawal the amount does not exceed the current balance for that
account number.
1 of 2
||''|''||''||''''''|
Code No: R1631054 R16 SET - 3
6. a) What are ACID properties? Illustrate them through examples and also explain [7M]
commit and Rollback.
b) Why database management recovery is needed? Explain various data structures that [7M]
are required for database management recovery by log-based schemes.
*****
2 of 2
||''|''||''||''''''|
Code No: R1631054 R16 SET - 4
III B. Tech I Semester Regular/Supplementary Examinations, March - 2021
DATA BASE MANAGEMENT SYSTEMS
(Common to Computer Science and Engineering, Information Technology)
Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)
2. Answer ALL the question in Part-A
3. Answer any FOUR Questions from Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PART –A (14 Marks)
1. a) What is meant by Data independence and why it is important? [2M]
b) How do you write a query in tuple relational calculus? [2M]
c) What is the Having clause in SQL query? [2M]
d) Why decomposition is required in DBMS? [3M]
e) How the checkpoints are used for the recovery of database? [3M]
f) Is secondary index a dense index or sparse index? Justify your answer. [2M]
3. a) Explain in detail about the strong entity set and weak entity set in ER diagrams. [7M]
b) Consider the following Relational schemas, [7M]
Sailors( sid: Integer, sname: String, age: Integer, rating: Integer)
Boats(bid: Integer, bname: String, bcolor: String)
Reserves(sid: Integer, bid: Integer, date: Date)
i) Write a query to find the names of sailors who have not reserved red color boat.
ii) Write a query to find all sids of sailors who are having rating of 10 and
reserved boat number 104.
1 of 2
||''|''||''||''''''|
Code No: R1631054 R16 SET - 4
6. a) Discuss various anomalies that arise due to interleaved execution of transactions with [7M]
suitable examples for each.
b) How does a checkpoint mechanism help in database recovery? Explain through an [7M]
example.
*****
2 of 2
||''|''||''||''''''|