DBMS BCS403 Impbymohsinali
DBMS BCS403 Impbymohsinali
Question Bank
3. Explain the difference between logical and physical data independence. What are
the advantages of using DBMS approach? Explain.
5. Define the following terms with example for each using ER notations: Entity, at-
tribute, composite attribute, multivalued attribute, participation role, cardinality
ratio.
2 Module 2
1. Discuss the update operations and dealing with constraint violations with suitable
examples.
2. Illustrate the relational algebra operators with examples for select and project op-
eration.
3. Discuss the characteristics of relations that make them different from ordinary table
and files.
6. Discuss the E.R to Relational mapping algorithm with example for each step.
8. Discuss equijoin and natural join with suitable example using relational algebra
notation.
9. Explain any two operations that change the state of relation in a database. Provide
1
suitable examples.
10. Discuss the aggregation functions and grouping in relational algebra with suitable
examples.
3 Module 3
1. Discuss the informal design guidelines for relation schema design.
3. Write the syntax for INSERT, UPDATE and DELETE statements in SQL and
explain with suitable examples.
4. Discuss insertion, deletion and modification anomalies. Why are they considered
bad? Illustrate with examples.
• Datatypes in SQL
7. What is Functional dependency? Explain the inference rules for functional depen-
dency with proof.
4 Module 4
1. What do understand by correlated Nested Queries in SQL? Explain with suitable
example.
4. In SQL, write the usage of GROUP BY and HAVING clauses with suitable exam-
ples.
5. Discuss the types of problems that may encounter with transactions that run con-
currently.
2
ple.
8. Demonstrate the System Log in database transaction. Explain cursor and its prop-
erties in embedded SQL with suitable example.
5 Module 5
1. What is the two phase locking protocol? How does it Guarantee serializability.
3. What is NOSQL? Explain the CAP theorem. List and explain the four major
categories of NOSQL system.
• Insert
• Delete
• Read
7. Define Schedule? Illustrate with an example. What are document based NOSQL
systems?
10. What are Binary locks? Explain with Lock and unlock operations with algorithm.