DBMS 5351
DBMS 5351
CO 1
lo learn the fundamentals of data models, conceptualize and depict a database system
using ER diagram.
CO 2 lo study the principles to be followed to create an effective relational database and
write
SQL queries to store/retrieve data tolfrom database systems.
CO3 To know the fundamental concepts of transaction processing, concurrency control
techniques and recovery procedure.
CO 4 To learn about the internal storage
structures using different file and indexing techniques and
the basics of query processingand optimization.
CO 5 To study the basics of
distributed databases, semi-structured and un-structured data
models.
2 2 L3
B
6
Let R=(P,Q,R,S,T,U) be arelation
schema with the
dependencies R-> U, T>P. TR > Sand P->Q.Find the key
for
R
2 2 L4
What are Armstrong axioms? List the
inference rules associated
with it.
2 L2
Part B (2 X 12 =24)
8 (A) (i) Acustomer wants a
database application to be
medium scale industry requirement. Suggest a developed for a
and back-end possible front-end
technologies open source and proprietary
for
environment.
(ii) Consider the 2 L1
following tables in Film Database:
ARTIST (Art id, Art Name, Art Gender)
PRODUCER (Prod id, Prod Name, Prod Phone)
FILMS (Film id, Film Title, Film Year,
Film Lang, Prod id)
CASTING (Art id, Film id, Part)
REVIEW (Film id, Stars)
WriteSQL statement for the
following.
Create the CASTING table without a key. (1)
Modify the structure of the CASTING table and
add a key
constraint with a constraint name CAST PK. (2)
10 2 L3
List all the female artist whose
name starts with R". (2)
Find the names of all the Films
whose producer is "KAMAL". (2)
Display all artists who acted in a film between
2000 and 2020.(3)
OR
(B) (i) Describe the three level schema
architecture of RDBMS and
highlight the significance of cach schema. 2 LI
(i) For the Films Database, write SQL queries for the
following.
Insert a record in the Films table. (1)
10 2 L3
Check if the film ycar is within 1960-2022 during insertion. (2)
" Display the maximum and minimum review star rating. (2)
Find all artist name who played comedy part. (2)
Update the stars of all films whose producer is KAMAL' to 5.(3)
9 (A) Consider a relational table STUDENT RESULT as follows.
Pre Marks Grade
RollNo SName DoB Course Course
No Name Requisite
The FDs associated with the table are RollNo CourseNo ->
Marks, {RollNo , CourseNo}-> Grade, Marks -> Grade, RollNo
-> {StudentName, DoB}, CourseNo -> {CourseName, Pre 2 L4
12
Requisite}
Normalize the relational Table to satisfy the 3 NF.
OR
A Relational table has attributes A1, A2, A3, A4, and AS, with the
B)
following functional dependencies:
12 2 L4
Al->A3, A2->A4,(A1,A2)->A5.
In terms of nggmalization, state whether this table is in INF NEot
2 CO4 L3
Q. No Questions Marks CO BL
10. (0) Create B-Tree of order 5 from the following list of data items:
(Ö) Insert the key values 6, 16,26, 36, 46 onaB+ tree with order =3. 6 CO5 L5
Roll No, 22 s|32
ANNAUNIVERSITY (UNIVERSITY DEPARTMENTS)
EXAMINATIONS, DEC 202
RE/B. Tech/ B. Arch (Full Time) : END SEMESTER
ROLLEROF INFORMATION TECHNOLOGY
Semester 3
AU
CHENNAI
IT5351 &Database Management Systems
6 00
02 5
(Regulation 2019)
Max. Marks: 100
Time: 3hrs
CO 1
KOIa
Model an application's data requirements using conceptual
schemas based on conceptual model.
modeling and design database
algebra/ SQL.
CO 2 Formulate solutionstoa broad range of query problems using relationalknowledge to the
CO 3 Demonstrate an understanding of normalization theory and apply such
normalization of a database.
CO 4 Run transactions and estimate the procedures for controlling the consequences of
concurrent data access.
CO 5 Explain basic database storage structures, access techniques, and query processing.
Describe distributed, semi-structured and unstructured database systems.
BL- Bloom's Taxonomy Levels
Creating)
(L1 -Remembering, L2-Understanding, L3- Applying, L4 - Analysing, L5 - Evaluating, L6 -
Relational
(0)Explain ARIES crash recovery aigorithm used in 6 CO4 L3
Database Management System.
steps involved in the
14 (a) () |What is query processing? Explain the 6 CO5 L2
execution of a SQL query in a relational database system.
(ü) Consider a B+-tree node which can hold up to 4 pointers.
7 COS L5
B+ Tree.
Insert 31, 33,35, 37, 39, 32, 34. 36; 38, 100 in to the
OR
14 (b) ()What is cost estimation in a query processing of a relational 6 CO5 L2
database system? Explain.
(0)Create a Binary Tree of order 5 for the following data tems.
7 CO5
A, G, F, B, K, D, H,.M, J, E, S, I,R, X, G, L, N, T, U, P
company which are located in a different
15 (a) ) Consider an Insurance Highlight the features of a Distributed 6
parts of the country. CO5 2
Database System in this Context. customer. can
Consider an order prOcessing system where a ID, order ID
consists of a customer
place an order. Each order unit price.
with date and also one or more items with quantity andprocessing
7 CO5 L5
Create a XML file with three records to fulfill this order
system.
OR
are located indifferent parts of
15 (b) () |For an Insurance company which fragmentations in the 6 CO5
the country, list the possible types of
L2
NOILIO AMA
SNOIS
Register no:
3. What is a weak entity? In the context of travel insurance, identify the strong and
CO2 L1 2
weak entities and justify the relationships
PART - B
6. A park provides services such as walking tracks, badminton, volleyball, tennis
courts, open gym, yoga, and martial arts (karate, silambam). For effective
utilization of these services, the management and administrator want to build a
Fitness Information System. All the registered users can select the service(s)
they are interested in and the time slots (1 hour). The coaches associated with CO2 L3 7
each service can train selected number of users. A user can avail one or more
services with different time slots. A maintenance and training fee will be collected
by the administrators based on the games. Draw an ER diagram for realizing this
Information System and to realize the relational schema with key constraints.
Q.
Question CO BL Marks
No.
Consider CoachList(CoachID, coachName, ExpertiseGameID, emailID,
ManagerID, Experience) as a relational schema. Some of the senior coaches
will be the managers for the other coaches. The senior most coach manages
himself. Write SQL for the following.
1. List the names of coaches which starts with 'S' or 'R'. (1)
2. List all the coaches who have more than 10 years’ experience and has
7. CO2 L3 8
expertise in Hockey. (1)
3. List the total number of coaches game wise and the average experience
for each game. (2)
4. List the coachName with the Manager name. (2)
5. List the unique games for which the average experience of the coach is
more than 5 years. (2)
CO – Course Outcomes.
BL – Bloom’s Taxonomy Levels (L1 – Remembering, L2 – Understanding, L3 – Applying, L4 – Analysing, L5 – Evaluating, L6 – Creating)
Roll No.
ANNA UNIVERSITY (UNIVERSITY DEPARTMENTS)
B.E. / B. Tech / B. Arch (Full Time) - END SEMESTER EXAMINATIONS, NOV/DEC 2021
NFORMATION TECHNOLOGY
I
Semester 3
1T5351 & Database Management Systems
(Regulation 2019)
Time: 3hrs [t/ax.Marks: 100
co1 tVlodel an application's data requirements using conceptual modeling and design database
schemas based on conceptual model.
co2 Formulate solutions to a broad range of query problems using relational algebra / SQL
co3 Demonstrate an understanding of normalization theory and apply such knowledge to the
normalization of a database.
co4 Run transactions and estimate the procedures for controlling the consequences of
concurrent data access.
co5 Explain basic database storage structures, access techniques, and query processing
Describe d istri buted, sem i-structured and unstructured d atabase systems.
BL - Bloom's Taxonomy Levels
(Ll - Remembering, L2 - Understanding, L3 - Applying, L4 - Analysing, L5 - Evaluating, L6 - Creating)
Q. No Questions Marks co BL
1 Consider a restaurant table booking database system. ldentify the
schema level implementation details for this database system. 2 co1 L3
2 A department can have several faculty members and faculty
members can work in many departments. Realize these as
relational database schemas with necessary constraints. 2 co1 L3
3 Define lossless and lossy decomposition with an example 2 co3 L3
4 A Project Manager may manage many Programmers, but a
Programmer is managed by only one Project lt/lanager. Represent
this relationship in ER diagram with cardinality. Note that one of 2 co1 L4
the Programmer becomes a Proiect [t/lanager.
5 List the different levels of lock granularity used in concurrency
control. 2 co4 L2
b List the different algorithms used for deadlock avoidance in DBMS
and highlight their features, 2 co4 L2
7 For balance of redundancy, disk drive usage and performance,
suggest a suitable RAID technology. 2 cos L3
8 Discuss the role of hash function in static hashing with an
example. 2 cos L3
9 Justify the need for replication in distributed databases 2 co5 L2
10 Write a XML schema for the following structure.
Q. No Questions Marks co BL
11 (a) (i) Consider the following relational schema: -
(1)List the customer name, email and expenditure limit from the
customer_Details table in the ascending order of the customer
name. 2
(2)List the cheapest products lD, Name and Price from the
product_Details table. 2
(3) List the Staff name, JoinDate and their Supervisor name from
the Stafflist_Details Table. 2
(4) List out the names and emails of Customers and Visitors for
whom the new product details need to be emailed. 2 co2 L6
OR
11 (b) (i) Consider AnimalType(AnimalTypelD, AnimalType) and
Animal(Animall D, AnimalTypel D, AnimalName, Age)
B}*{C}, { B}--{
{A, E, F}, {A, D}---{G, H }, {G }-{ I },
and{H}-{J}
Determine the key for the relation R and the total number of I co3 L4
candidate
(ii) Differentiate 3NF and BCNF with an exam 4 co3 L2
OR
12 (b) (i) Consider the relation table STAFF TA.
Staff lD Staff Name Work Place Staff Department
s001 55 [t/ani Trichy D06
s001 98 Kathir Salem D04
s001 98 Kathir Salem D08
s001 05 Balu lt/ladurai D11
s001 05 Balu Madurai D01
ldentify the anomalies if any and the potential problems
associated with it. co3 L4
8
(i i) Suggest the means of overcoming the anomalies if exists in the
STAFF_DATA relational schema. 5 co3 L4
Q. No Questions Marks co BL
16. (i) Co nsi der a n o nl tne Lea rn ing Web site for the h igh school
ch ildren Th e a uth orized chi td ren can regi,ster for SU bject rel ated
I