23cs1303 Database Management Systems Red
23cs1303 Database Management Systems Red
Bloom’s Level: BL1 - Remembering, BL2 - Understanding, BL3 - Applying, BL4 - Analyzing, BL5 – Evaluating, BL6 - Creating.
5. Compare the features of file system with database system. [BL4] [CO1] [2]
2. What is primary key and foreign key. Give example for each. [BL2] [CO3] [2]
3. What are aggregate Functions? List the aggregate functions used in [BL2] [CO2] [2]
SQL.
4. Write SQL query to get the department and department wise total (sum) [BL3] [CO2] [2]
salary, display it in ascending order according to salary.
5. Compare Dynamic SQL and Static SQL. [BL4] [CO2] [2]
4. Why 4NF in normal form is more desirable than BCNF? [BL4] [CO4] [2]
3. Define Strict And Rigorous Two Phase Locking Protocol [BL1] [CO3] [2]
4. Consider the following transaction T consisting of T1 and T2: Transfer of [BL3] [CO3] [2]
100 from account X to account Y.
Before:X:500 Y:200
Transaction T
T1 T2
Read (X) Read(Y)
S:=x-100 Y:=Y+100
Write(X) Write(Y)
After:X:400 Y:300
If the transaction fails after completion of T1 but before completion of T2.
(say, after write(X) but before write(Y)), then amount has been deducted
from X but not added to Y. Which ACID property must be used to avoid
inconsistency?
1. What are ordered indices? List the types. [BL2] [CO5] [2]
3. What are the advantages of B tree over B+ tree? [BL2] [CO5] [2]