DATABASE MANAGEMENT SYSTEMS Unit Wise Important Questions: PART - A (Short Answer Questions)
DATABASE MANAGEMENT SYSTEMS Unit Wise Important Questions: PART - A (Short Answer Questions)
.c
m
ru
fo
ld
or
Blooms
Course
Q. No Questions Taxonomy
tu
Outcome
Level
UNIT – I
.jn
1
3 State about PROJECT operation in Relational algebra? Knowledge 8
4 Define Aggregate Functions? Knowledge 10
5 Discuss the use of rename operation? Understand 8
6 Illustrate division operation? Apply 8
7 Discuss the basic form of SQL query? Understand 9
8 Define Null Values. Knowledge 10
9 Define tuple variable with its syntax? Knowledge 8
10 Define Dynamic SQL? Knowledge 10
11 Define Assertions? Knowledge 6
12 Discuss about trigger? Understand 10
13 Demonstrate how to add a NOT NULL column to a table? Apply 10
UNIT – III
1 Define redundancy? Knowledge 5
2 Define functional dependency? Why are some functional dependencies trivial? Knowledge 5
3 Discuss normalization? Understand 5
4 Illustrate functional dependency with example? Apply 5
om
5 Illustrate fully functional dependency with example? Apply 5
6 Demonstrate transitive dependency? Give an example? Apply 5
7 Discuss Domain-Key Normal Form? Understand 5
.c
8 Define Armstrong axioms for FD’s? Knowledge 5
9 Define First Normal Form? Knowledge 5
m
10 Define Second Normal Form? Knowledge 5
11 Define Third Normal Form? Knowledge 5
12 Define Fourth Normal Form? Knowledge 5
1
ru
UNIT – IV
Define a Transaction? List the properties of transaction Knowledge 7
fo
2 Discuss different phases of transaction? Understand 7
3 Discuss recoverable schedules? Understand 7
ld
2
PART – B (Long Answer Questions)
Blooms
Course
Q. No Questions Taxonomy
Outcome
Level
UNIT – I
1 Compare and Contrast file Systems with database systems? Apply 1
2 Define Data Abstraction and discuss levels of Abstraction? Knowledge 2
3 Discuss about different types of Data models? Understand 2
4 Describe the Structure of DBMS? Understand 2
5 Discuss additional features of the ER-Models. Understand 3
6 Discuss about the Concept Design with the ER Model? Understand 4
7 Write about views and updates on views? Knowledge 10
8 Explain different types of database users and write the functions of DBA? Understand 2
9 Explain about different types of integrity constraints? Understand 6
om
10 Discuss about the logical database Design? Understand 4
11 Distinguish strong entity set with weak entity set? Draw an ER diagram to Apply
3
illustrate weak entity set?
12 Differentiate relation schema and relational instance? Define the terms arity and Understand
2
.c
degree of s relation? What are domain constraints?
13 Illustrate outer joins with example? Apply 10
m
14 Describe logical connectives of SQL? Understand 10
15 Discuss about active databases? Understand 10
UNIT – II
1
2 Define Join? Explain different types of joins?
ru
Illustrate different set operations in Relational algebra with an example? Apply
Knowledge
8
10
fo
3 Discuss about Domain Relational calculus in detail? Understand 8
4 Define trigger and explain its three parts? Differentiate row level and statement Knowledge
10
ld
level triggers?
5 Illustrate Group by and Having clauses with examples? Apply 10
or
b. Write a nested query to find the names of sailors who have reserved both a
red and green boat? 10
tu
c. Write a nested query to find the names of sailors who have reserved all
boats?
.jn
c. Write a DRC query to find the names of sailors who have reserved boat 103?
UNIT – III
w
3
3 Illustrate Concurrent execution of transaction with examples? Apply 7
4 Discuss Serializability in detail? Understand 7
5 Discuss two phase locking protocol and strict two phase locking protocols? Understand 7
6 Describe Timestamp based locking protocols? Understand 7
7 Describe Validation-based locking protocols? Understand 7
8 Discuss in detail Multiple Granularity? Understand 7
9 Explain in detail Storage structure? Understand 7
10 Discuss Deferred database modification and Immediate database modification? Understand 7
11 Discuss how do you recover from Concurrent transactions? Understand 7
12 Explain Buffer Management? Understand 7
13 Explain different types of Advanced Recovery Techniques? Understand 7
14 Write in detail about Remote Backup systems? Apply 7
UNIT – V
1 Write in detail about Hash based Indexing and Tree based Indexing? Apply 11
2 Compare I/O costs for all File Organizations? Understand 11
3 Explain in detail about ISAM? Understand 11
om
4 Explain B+ trees? Discuss about this Dynamic Index Structure? Understand 11
5 Demonstrate searching a given element in B+ trees? Explain with example? Understand 11
6 Illustrate insertion of an element in B+ trees with example? Apply 11
.c
7 Illustrate deletion of an element in B+ trees with example? Apply 11
8 Write in detail about Static Hashing? Apply 11
m
9 Explain in detail about Extendible Hashing? Understand 11
10 Explain in detail about Linear Hashing? Understand 11
11 Compare and Contrast Extendible Hashing with Linear Hashing? Apply 11
ru
fo
PART – C (Problem Solving and Critical Thinking Questions)
ld
Blooms
Course
Q. No Questions Taxonomy
Outcome
Level
or
UNIT – I
1 Consider the following ER Diagram.
w
tu
Apply 3
.jn
w
to-many and R2 is many-to-many. R1 and R2 do not have any attributes of their Apply 3
own. Calculate the minimum number of tables required to represent this situation
in the relational model?
3 Analyze and find whether View exists if the table is dropped from the database? Analyze 10
4 We can convert any weak entity set to strong entity set by simply adding
Analyze 3
appropriate attributes. Analyze why, then, do we have weak entity sets?
UNIT – II
1 Consider the following relational schema
Employee (empno,name,office,age)
Books(isbn,title,authors,publisher)
Loan(empno, isbn,date)
Apply 10
Write the following queries in relational algebra.
a. Find the names of employees who have borrowed a book Published by
McGraw-Hill?
b. Find the names of employees who have borrowed all books Published by
4
McGraw-Hill?
c. Find the names of employees who have borrowed more than five
different books published by McGraw-Hill?
d. For each publisher, find the names of employees who have borrowed?
2 Given the Students relation as shown below
Apply 10
For (Student Name, Student Age) to be the key for this instance, analyze and find
value of X not be equal to?
3 Given the relations
employee(name,salary,deptno)
department (deptno, deptname, address) Apply 10
om
Solve which query cannot be expressed using the basic relational algebra
operations (U, -, x, , p)?
4 Write SQL Query to find second highest salary of Employee from Employee
table? Apply 10
.c
UNIT – III
m
1 Consider a relation scheme R = (A, B, C, D, E, H) on which the following
functional dependencies hold: {A–>B, BC–> D, E–>C, D–>A}. Write the Apply 5
2
candidate keys of R? ru
Consider the following relational schemes for a library database:
fo
Book (Title, Author, Catalog_no, Publisher, Year, Price)
Collection (Title, Author, Catalog_no)
ld
D. Solve and find whether the decomposition of R into R1 (A, B) and R2(C, D) Apply 5
belongs to which one or both (dependency preserving and loss less join)?
.jn
T1: read(P);
read(Q);
w
5
S1: r1(X);r3(Y);r3(X);r2(Y);r2(Z);
w3(Y);w2(Z);r1(Z);w1(X);w1(Z)
S2: r1(X); r3(Y); r2(Y); r3(X); r1(Z);
r2(Z); w3(Y); w1(X); w2(Z); w1(Z)
Analyze which one of the schedules is conflict-serializable?
4 Suppose that there is a database system that never fails. Analyze whether a
Apply 7
recovery manager required for this system?
UNIT - V
1 Consider a B+-tree in which the maximum number of keys in a node is 5.
Apply 11
Calculate the minimum number of keys in any non-root node?
2 In the index allocation scheme of blocks to a file, Calculate on what maximum
Apply 11
possible size of the file depends?
3 A clustering index is defined on the fields of which type? Analyze them. Apply 11
4 Calculate the minimum space utilization for a B+ tree index? Apply 11
5 Consider the B+ tree index of order d = 2 shown in Figure
om
.c
m
ru Apply 11
fo
ld
a. Show the tree that would result from inserting a data entry with key 9
or
possible redistribution
tu
.jn
w
w
w