0% found this document useful (0 votes)
36 views

BDBMS Question Bank

Uploaded by

Vandana Bharti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

BDBMS Question Bank

Uploaded by

Vandana Bharti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Question Bank BOE-307 BDBMS

Unit I: Introduction to Database System


Q1. Differentiate between a Database System and a File System.
Q2. Define the concept of Data Independence. Why is it important in database
systems?
Q3. Define Data Model, Schema, and Instances with suitable examples.
Q4. Describe the Overall Database Structure with a neat diagram.
Q5. Discuss the advantages of a Database System over a File System.
Q6. Differentiate between Logical Schema and Physical Schema with examples.

Unit II: Entity Relationship Model & Relational Data Model


Q1. What are Mapping Constraints in an ER model? Explain with examples.
Q2. Define Generalization and Aggregation in an ER diagram with suitable examples.
Q3. Explain the concept of Entity Integrity and Referential Integrity with examples.
Q4. Differentiate between SELECT and PROJECT operations in Relational Algebra
with examples.
Q5. Given the following relations:
Student(ssn, name, major)
Registered(ssn, code)
Course(code, title)
Write the relational algebra expression to find the names of students who are
registered in a course titled "Database Systems."
If the relations contain the following data:
Student:
ssn name major
101 Alice CSE
102 Bob IT
Registered:
ssn code
101 CS101
102 CS102
Course:
code title
CS101 Database Systems
CS102 Algorithms
Find the names of students registered in "Database Systems."
Q6. Given the following relations:
Employee(eid, ename, salary, did)
Department(did, dname)
1. Write a relational algebra expression to find the names of employees working
in the "Sales" department.
2. Write a relational algebra query to find the names of employees earning more
than the average salary in their department.
Unit III: Database Implementation using SQL
Q1. What are the Aggregate Functions in SQL? Explain with examples.
Q2. Explain the differences between INNER JOIN and OUTER JOIN with examples.
Q3. What is the purpose of the GROUP BY clause in SQL?
Q4. Differentiate between DELETE and TRUNCATE in SQL.
Q5.What is the purpose of the DISTINCT keyword in SQL?

Q6. Given the following Employee table:

emp_id name salary department


1 Alice 60000 HR
2 Bob 75000 IT
3 Charlie 50000 IT
4 Dave 80000 HR

1. Write an SQL query to calculate the total salary paid in each department.
2. Write another query to find the department with the highest total salary.

Unit IV: Database Design and Normalization


Q1. Define Functional Dependencies and provide an example.

Q2. Explain the concept of Lossless Join Decomposition.


Q3. Discuss Multi-valued Dependencies and Fourth Normal Form with examples.
Q4. What is the significance of BCNF in database normalization?
Q5.A relation R(A, B, C, D) has the following Functional Dependencies:
A→B
B→C
A→D
Find the closure of attribute A+.
Determine if the relation is in 3NF. Justify your answer.
Q6. Given the following set of functional dependencies:
F={A→BC,B→D,A→B,AB→C}
Find the minimal cover for F.

Unit V: Transaction Processing and Concurrency Control


Q1. Define ACID properties of a transaction with examples.
Q2. Explain Two-Phase Locking Protocol with a suitable example.
Q3. What is a Timestamping Protocol? How does it ensure concurrency control?
Q4. Describe the states of a transaction with a state diagram.

Q5. What is the difference between Conflict Serializability and View Serializability?
Q6. Consider the following schedule of transactions:

Transaction Operation Data Item


T1 R X
T2 R X
T1 W X
T2 W X

1. Is the above schedule conflict-serializable? If yes, provide a serial order.


2. Draw the precedence graph for the schedule.

You might also like