DBMS Unit Wise Important Questions
DBMS Unit Wise Important Questions
SYSTEMS
TECHNOLOGY, ALIGARH
1
Faculty: VIKRAM SHARMA
[email protected]
VISION INSTITUTE OF SUBJECT: DATABASE MANAGEMENT
SYSTEMS
TECHNOLOGY, ALIGARH
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? Knowle ge 2
3 Discuss about different types of Data models? Un erstand 2
4 Describe the Structure of DBMS? Un erstand 2
5 Discuss additional features of the ER-Models. Un erstand 3
6 Discuss about the Concept Design with the ER Model? Un erstand 4
7 Write about views and updates on views? Know e ge 10
8 Explain different types of database users and write the functions of DBA? Un e stand 2
9 Explain about different types of integrity constraints? Un e stand 6
10 Discuss about the logical database Design? Unde stand 4
Distinguish strong entity set with weak entity set? Draw an ER diag am to
11 App y 3
illustrate weak entity set?
Differentiate relation schema and relational instance? Define the te ms a ity and
12 Unde stand 2
degree of s relation? What are domain constraints?
13 Illustrate outer joins with example? Apply 10
14 Describe logical connectives of SQL? Understand 10
15 Discuss about active databases? Understand 10
UNIT – II
1 Illustrate different set operations in Relational algebra with an example? Apply 8
2 Define Join? Explain different types of joins? Knowledge 10
3 Discuss about Domain Relational calculus in detail? Understand 8
Define trigger and explain its three parts? Differentiate row level and statement
4 Knowledge 10
level triggers?
5 Illustrate Group by and Having clauses with examples? Apply 10
6 Discuss about Complex integrity constraints in SQL? Understand 6
7 Discuss different types of aggregate operators with examples in SQL? Understand 10
a. Define a nested query?
b. Write a nested query to find the names of sailors who have reserved both a
8 red and green boat? Knowledge
c. Write a nested query to find the names of sailors who have reserved all 10
boats?
a. Discuss correlated nested queries?
9 b. Write a query to find the names of sailors who have reserved a red boat? Understand 10
c. Write a query to find the names of sailors who have not reserved a red boat?
a. Explain Relational calculus?
10 b. Write a RC query to find the names of sailors who have reserved boat 103? Understand 10
c. Write a DRC query to find the names of sailors who have reserved boat 103?
UNIT – III
1 Illustrate redundancy and the problems that it can cause? Apply 5
Define decomposition and how does it address redundancy? Discuss the problem
2 Knowledge 5
s that may be caused by the use of decompositions?
3 Define functional dependencies.How are primary keys related to FD’s? Knowledge 5
4 Define normalization? Explain 1NF, 2NF, 3NF Normal forms? Knowledge 5
5 Compare and contrast BCNF with 3NF? Apply 5
6 Describe properties of decompositions? Understand 5
7 Explain about Schema refinement in Database design? Understand 5
8 Illustrate Multivalued dependencies and Fourth normal form with example? Apply 5
9 Discuss about Join dependencies and Fifth normal form? Understand 5
10 Illustrate Inclusion dependencies with example? Apply 5
UNIT – IV
1 Explain ACID properties and Illustrate them through examples? Understand 7
2 Discuss How do you implement Atomicity and Durability? Understand 7
3
Faculty: VIKRAM SHARMA
[email protected]
VISION INSTITUTE OF SUBJECT: DATABASE MANAGEMENT
SYSTEMS
TECHNOLOGY, ALIGARH
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? Un erstand 7
11 Discuss how do you recover from Concurrent transactions? Un erstand 7
12 Explain Buffer Management? Un erstand 7
13 Explain different types of Advanced Recovery Techniques? Un erstand 7
14 Write in detail about Remote Backup systems? App y 7
UNIT – V
1 Write in detail about Hash based Indexing and Tree based Indexing? App y 11
2 Compare I/O costs for all File Organizations? Un e stand 11
3 Explain in detail about ISAM? Unde stand 11
4 Explain B+ trees? Discuss about this Dynamic Index Structure? Unde stand 11
5 Demonstrate searching a given element in B+ trees? Explain with example? Unde stand 11
6 Illustrate insertion of an element in B+ trees with example? Apply 11
7 Illustrate deletion of an element in B+ trees with example? Apply 11
8 Write in detail about Static Hashing? Apply 11
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
Apply 3
Discuss how many minimum numbers of tables are needed to represent M, N, P,
R1, R2?
Let E1 and E2 be two entities in an E/R diagram with simple single-valued
attributes. R1 and R2 are two relationships between E1 and E2, where R1 is one-
2 to-many and R2 is many-to-many. R1 and R2 do not have any attributes of their
own. Calculate the minimum number of tables required to represent this Apply 3
situation in the relational model?
3 Analyze and find whether View exists if the table is dropped from the database? Analyze 10
We can convert any weak entity set to strong entity set by simply adding
4 Analyze 3
appropriate attributes. Analyze why, then, do we have weak entity sets?
UNIT – II
Consider the following relational schema Employee (empno,name,office,age)
Books(isbn,title,authors,publisher)
Loan(empno, isbn,date)
1 Write the following queries in relational algebra.
a. Find the names of employees who have borrowed a book Published by
Apply 10
McGraw-Hill?
b. Find the names of employees who have borrowed all books Published by
Apply 10
For (Student Name, Student Age) to be the key for this instance, analyze and find
value of X not be equal to?
Given the relations
employee(name,salary,deptno)
3 department (deptno, deptname, address)
Solve which query cannot be expressed using the basic relati nal a geb a operations App y 10
(U, -, x, , p)?
4Write SQL Query to find second highest salary of Empl yee f m Empl yee table? Apply 10
UNIT – III
Consider a relation scheme R = (A, B, C, D, E, H) n which the f ll wing
1 functional dependencies hold: {A–>B, BC–> D, E–>C, D–>A}. Write the Apply 5
candidate keys of R?
Consider the following relational schemes for a library database:
Book (Title, Author, Catalog _no, Publisher, Year, Price) Collection (Title,
Author, Catalog no)
the following are functional dependencies:
2
a. Title Author --> Catalog_ no
b. Catalog no --> Title Author Publisher Year
Apply 5
c. Publisher Title Year --> Price
Assume {Author, Title} is the key for both schemes. Apply the
appropriate normal form for Book and Cancellation?
Consider a schema R (A, B, C, D) and functional dependencies A -> B and C ->
3 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)?
4 Show that: if α → β and α → γ then α → βγ Apply 5
UNIT - IV
Consider the following transactions with data items P and Q initialized to zero: 1:
read(P);
read(Q);
If P=0 then Q:=Q+1; write(Q);
1 T2: read(Q);
read(P);
If Q=0 then P:=P+1; write(P);
Apply 7
Solve and find any non-serial interleaving of T1 and T2 for concurrent execution
leads to a serializable schedule or non serializable schedule. Explain?
UNIT - V
Consider a B+-tree in which the maximum number of keys in a node is 5.
1 Apply 11
Calculate the minimum number of keys in any non-root node?
In the index allocation scheme of blocks to a file, Calculate n what maximum
2 App y 11
possible size of the file depends?
3 A clustering index is defined on the fields of which type? Analyze them. App y 11
4 Calculate the minimum space utilization for a B+ tree index? App y 11
Consider the B+ tree index of order d = 2 shown in Figure
Apply 11
a. Show the tree that would result from inserting a data entry with key 9
into this tree.
b. Show the B+ tree that would result from deleting the data entry with
key 8 from the original tree, assuming that the left sibling is checked for
possible redistribution
6
Faculty: VIKRAM SHARMA
[email protected]