231CSC401T -DBMS CAT 1 QB
231CSC401T -DBMS CAT 1 QB
Regulations R 2023
Show SQL query to find loan number and name of all customers who
11. CO1 K3
have loan at branch “XYZ”.
CO’s Bloom’s
Q.No Questions
Level
Part – B
Illustrate the key challenges in traditional file processing systems, CO1
1. K4
and how do database systems resolve these challenges?
CO1
Summarize the different types of data models used in database man- CO1
6. agement systems, and analyze how do they help in organizing and K5
structuring data?
Analyze the fundamental operations of relational algebra and provide CO1
comprehensive explanations with suitable examples for each
7 operation. Explore how these operations manipulate relations and K4
contribute to the querying and manipulation of data in relational
database systems.
CO1
Analyze the role of different integrity constraints (e.g., PRIMARY KEY,
8 FOREIGN KEY, UNIQUE, CHECK) in ensuring data integrity in a rela- K4
tional database. How do these constraints help enforce business rules and
maintain data quality?
CO’s Bloom’s
Q.No Questions
Level
Part c
Create the following table.
Degree(degcode, name, subject)
Candidate(seatno, degcode, semester, month, year, result)
1. Marks(seatno, degcode, semester, month, year, papcode, marks) CO1 K6
Degcode-degree code, Name-name of the degree (MSc, MCOM)
Subject-subject of the course. E.g. Phy, Papcode- Paper code E.g.
Solve the following queries using SQL:
(i) Write a SELECT statement to display all the degree codes which
are there in the candidate table but not present in degree table in the
order of degcode.
(ii) Write a SELECT statement to display the name of all the
candidates who have got less than 40 marks in exactly 2 subjects.
(iii) Write a SELECT statement to display the name, subject and
number of candidates for all degrees in which there are less than 5
candidates.
(iv) Write a SELECT statement to display the names of all the
candidates who have got highest total marks in MSc.,(Maths)
Consider the following relational database
Employee(person_name,street,city)
Works(person_name,company_name,salary)
Manages(person_name,manager_name)
Write SQL statements for following queries
1. Find the names and cities of residence of all employees who
work for First Bank Corporation.
2. 2. Find names, street, cities of residence of all employees and who CO1 K6
earn more than 10,000 per annum.
3. Find the names of all employees who live in same city as the
company for which they work.
4. Find the names of all employees who do not work for First
Bank Corporation.
5. Find the names of all employees who earn more than every
employee of State Bank Corporation.
CO’s Bloom’s
Q.No Questions
Level
Part – B
Analyze the different concurrency control schemes and evaluate their
1. CO3 K4
effectiveness in ensuring database consistency.
Critically examine the Two-Phase Locking (2PL) technique in
2. concurrency control and assess its role in maintaining transaction CO3 K4
isolation.
Evaluate the ACID properties of a transaction and analyze how they
3. CO3 K5
ensure reliable and consistent database operations.
Summarize the concept of Serializability in database transactions and
4. analyze its importance in maintaining correctness in concurrent execu- CO3 K5
tion.
CO’s Bloom’s
Q.No Questions
Level
Part C
For the given schedule find the conflict serializable by checking the
precedence graph and by swapping procedure. If it not serializable
then check the view serializable and conclude whether the schedule is
1. recoverable or not. CO3
T1 T2 T3 T4
R(A)
W(A)
W(B)
R(B)
W(A)
W(A) K6
W( C )
R(C)
W(A)
R(D)
W(D)
R(D)
R(C)
W(C)
For the given schedule find the conflict serializable by checking the
precedence graph and by swapping procedure. If it not serializable
then check the view serializable and conclude whether the schedule is
recoverable or not.
2 CO3 K6