23CB1301-DBMS question pattern(26.11.24) (2) (2)
23CB1301-DBMS question pattern(26.11.24) (2) (2)
2 Marks:For each unit five questions should be of lower order (LO) cognitive type and five Questions should be of
Intermediate order (IO) cognitive type.
13 /15 /16 Marks:For each Unit four questions should be of lower order (LO) cognitive type i.e. remembrance type
questions, five should be of intermediate order (IO) cognitive type i.e. understanding type questions and One Question
should be on Higher Order (HO)Application / Design / Analysis / Evaluation / Creativity / Case study questions.
* HO Order is not applicable if the Question Pattern does not have Part C. In Such cases consider HO as IO.
** If the Mark for Part B &C is less than the maximum mark of the Question, Sub Divisions shall be added.
Course Outcome: (List the Course Outcomes of the Course)
CO1: Understand the basic concepts of database systems.
CO2: Apply SQL and MySQL Queries using open source and commercial database and relational database design.
CO3: Apply the query processing techniques for the optimization. .
CO4:Utilize various indexing and hashing techniques of database and security mechanisms for authentication
and recovery.
CO5: Understand the basic issues of transaction processing and concurrency control. CO6 Interpret various
Bloom’s Level: BL1 - Remembering, BL2 - Understanding, BL3 - Applying, BL4 - Analyzing, BL5– Evaluating,BL6 - Creating.
2. Outline the concept of data independence in a database management [BL2] [CO1] [2]
system.
3. Describe the purpose of data abstraction in database systems. [BL2] [CO1] [2]
5. Apply the following requirement into a DDL and DML operation: [BL3] [CO2] [2]
Create a table for storing student information and insert one record into
it.
6. [BL2] [CO2] [2]
Explain the purpose of integrity constraints in a relational database.
7. Given an ER diagram with entities Student and Course, draw a [BL3] [CO2] [2]
possible relationship between them and explain how it can be
implemented in a relational database.
8. Differentiate between the relational model and the object-oriented [BL2] [CO2] [2]
model in terms of structure and usage.
9. Design a simple relational schema for a library database, including at [BL3] [CO2] [2]
least two tables with primary and foreign keys.
10. Using an object-oriented data model, illustrate how a class Car can [BL3] [CO1] [2]
have attributes like make, model, and year, and demonstrate how
inheritance could be used for subclasses like ElectricCar and
HybridCar.
PART B ( 13 /15/16 Marks)
1. Design a hierarchical database structure for an organization with [BL3] [CO1] [13]
departments, employees, and projects. Explain how you would
represent the relationships and retrieve data from this structure.
2. Explain the differences between hierarchical and network database BL2 [CO1] [13]
models with the help of examples.
3. Create a relational schema for a university database containing tables BL3 [CO1] [13]
for Students, Courses, and Enrollments. Define the primary and
foreign keys and explain how queries can be used to retrieve data
about a student’s courses.
4. Describe the concept of data abstraction and its three levels in database BL2 [CO1] [13]
system architecture. Provide examples for each level.
5. Using the DDL and DML commands to create a table for storing book BL3 [CO2] [13]
details (BookID, Title, Author, and Price), insert two records, and
retrieve all books priced above $50.
6. Analyze how integrity constraints (e.g., primary key, foreign key, and BL4 [CO2] [13]
check constraints) ensure data consistency and accuracy in a relational
database. Provide examples where lack of such constraints could lead
to data anomalies.
7. Explain the key components of the Entity-Relationship (ER) model BL2 [CO2] [13]
with suitable examples.
8. Design an ER diagram for a hospital database system that manages BL3 [CO2] [13]
patients, doctors, and appointments. Show how the ER model can be
converted into a relational schema, ensuring the use of primary and
foreign keys.
9. Discuss the differences between the relational data model and the BL2 [CO1] [13]
network data model. Include examples to illustrate how data is
organized and accessed in each model.
10. Develop a database schema using an object-oriented data model for an BL6 [CO3] [15]
online e-commerce system. Include at least three classes (e.g., Product,
1. What is relational algebra? Name any two operations in relational [BL1] [CO1] [2]
algebra.
2. Define tuple relational calculus. [BL1] [CO2] [2]
3. What is SQL3? Mention one key feature that differentiates it from [BL1] [CO3] [2]
earlier versions of SQL.
4. Explain the difference between DDL and DML with examples of their [BL2] [CO2] [2]
operations.
5. Describe the concept of domain relational calculus and how it differs [BL2] [CO2] [2]
from tuple relational calculus.
6. Write a SQL query to create a table Employees in MySQL with fields [BL3] [CO3] [2]
EmpID, Name, Designation, and Salary. Insert three records into this
table and display all employees earning more than $5000.
7. Analyze the differences between open-source DBMS (e.g., MySQL) [BL4] [CO2] [2]
and commercial DBMS (e.g., Oracle, DB2). Consider aspects like
licensing, scalability, features, and cost in your analysis. Provide
examples of scenarios where each type would be most suitable.
8. Identify the process of database backup and recovery in MySQL and [BL3] [CO3] [2]
Oracle. Illustrate with an example of how you would back up and
restore a database in each.
9. Compare the data scalability features of MySQL and Oracle. Which [BL4] [CO2] [2]
would you recommend for a high-traffic e-commerce platform, and
why?
10. Analyze the licensing models of open-source DBMS like MySQL and [BL4] [CO3] [2]
commercial DBMS like Oracle. How do these affect the total cost of
ownership for an organization.
PART B ( 13 /15/16 Marks)
1. Define relational algebra and describe its fundamental operations with [BL1] [CO1] [13]
examples.
2. Explain the differences between tuple relational calculus and domain [BL2] [CO2] [13]
relational calculus with suitable examples.
3. Describe the role of DDL and DML in database management. Provide [BL2] [CO3] [13]
examples of at least three DDL commands and three DML commands.
4. Discuss the advancements in SQL3 over earlier versions of SQL, [BL2] [CO3] [13]
highlighting its key features and capabilities. Provide examples to
illustrate your points.
5. Using relational algebra, construct queries for the following scenarios [BL3] [CO3] [13]
in a database containing tables Students (StudentID, Name, Age) and
Courses (CourseID, CourseName, StudentID):
a. Retrieve the names of students enrolled in a specific course.
b. Find the list of all students who are above 20 years old.
c. Display all courses along with the names of students enrolled in
them.
3. Explain the concept of lossless design in database normalization. Why [BL2] [CO3] [2]
is it important?
4. [BL2] [CO2] [2]
Differentiate between the first normal form (1NF) and second normal
form (2NF) with examples.
5. What is a B-tree in database indexing? [BL1] [CO3] [2]
6. Choose the relational algebra expression to retrieve names of students [BL3] [CO4] [2]
enrolled in a specific course from a database with Students(StudentID,
Name) and Enrollments(StudentID, CourseID).
7. Analyze the performance of hash-based join and sort-merge join [BL4] [CO3] [2]
strategies. Under what conditions is each strategy more efficient?
Justify your answer with examples.
8. Select two equivalent relational algebra expressions, demonstrate how [BL3] [CO4] [2]
to simplify one into the other using algebraic rules.
9. Build an example showing how the nested-loop join strategy is applied [BL3] [CO2] [2]
to join two tables. Explain the step-by-step process.
10. Using a SQL query and its corresponding relational algebra expression [BL3] [CO3] [2]
to fetch employees earning more than $5000 from a table
Employees(EmpID, Name, Salary).
PART B ( 13 /15/16 Marks)
1. Define Armstrong's axioms and explain each axiom with an example. [BL1] [CO1] [13]
How are these axioms used to infer functional dependencies?
2. Explain the concept of functional dependency and its significance in [BL2] [CO2] [13]
relational database design. Provide examples of trivial and non-trivial
functional dependencies.
3. Describe the process of normalizing a relational schema to third [BL2] [CO3] [13]
normal form (3NF). Use a suitable example to show the steps involved
and the resulting schema.
4. Discuss the importance of dependency preservation and lossless [BL2] [CO4] [13]
decomposition in relational database design. Explain with examples
how these properties are ensured during schema design.
5. Given a relational schema with the following attributes and functional [BL3] [CO3] [13]
dependencies:
R(A, B, C, D) with FD = {A → B, B → C, A → D},
a. Decompose the schema into BCNF.
b. Verify if the decomposition is dependency-preserving and lossless.
6. Given a database schema with the following relations: [BL3] [CO3] [13]
Employees(EmpID, Name, DeptID) and Departments(DeptID,
DeptName),
a. Write the relational algebra expression to fetch employee names
along with their department names.
b. Convert the expression into an equivalent SQL query and explain
the steps to evaluate it using a join strategy.
1. What are the ACID properties of a transaction? List them. [BL1] [CO3] [2]
2. Explain the concept of serializability in scheduling transactions. Why [BL2] CO3 [2]
is it important for database consistency?
3. Describe the difference between locking-based and timestamp-based [BL2] CO3 [2]
concurrency control mechanisms.
4. Define concurrency control in the context of transaction processing. [BL1] CO3 [2]
Why is it needed?
5. Apply the role of isolation in the ACID properties, and how does it [BL2] CO4 [2]
ensure transaction correctness? Provide an example.
6. Given a scenario where two transactions are running concurrently in a [BL3] CO4 [2]
database using MVCC, how would you apply MVCC rules to determine
which version of a data item a read operation should access?
7. Construct the steps involved in optimistic concurrency control (OCC) [BL3] CO4 [2]
to manage concurrent transactions. Provide an example where it
prevents conflicts.
8. Using MVCC, explain how a database system ensures consistent data [BL3] CO4 [2]
views for read-only transactions. Provide a practical example.
9. Analyze the advantages and limitations of multi-version concurrency [BL4] CO4 [2]
control (MVCC) compared to optimistic concurrency control (OCC).
1. What is authentication in the context of database security? Provide an [BL1] [CO5] [2]
example of an authentication mechanism.