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

2024 Jan. ITT206-F

This document is an examination paper for the Fourth Semester B.Tech Degree in Database Management Systems at APJ Abdul Kalam Technological University, scheduled for January 2024. It consists of two parts: Part A with ten short answer questions and Part B with detailed questions from various modules, covering topics such as ER diagrams, relational algebra, triggers, normalization, and transaction management. The exam assesses students' understanding of core database concepts and their practical applications.

Uploaded by

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

2024 Jan. ITT206-F

This document is an examination paper for the Fourth Semester B.Tech Degree in Database Management Systems at APJ Abdul Kalam Technological University, scheduled for January 2024. It consists of two parts: Part A with ten short answer questions and Part B with detailed questions from various modules, covering topics such as ER diagrams, relational algebra, triggers, normalization, and transaction management. The exam assesses students' understanding of core database concepts and their practical applications.

Uploaded by

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

Reg No.

:_______________ Name:__________________________
0200ITT206122301
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Fourth Semester B.Tech Degree (S, FE) Examination January 2024 (2019 Scheme)

Course Code: ITT206


Course Name: Database Management Systems
Max. Marks: 100 Duration: 3 Hours
PART A
(Answer all questions; each question carries 3 marks) Marks
1 What are the core components of a Database Management System, and how do 3
they interact within a database system?
2 List out any three disadvantages of the File System. 3
3 What is meant by a recursive relationship type? Give an example of recursive 3
relationship types.
4 Define NULL value. State a few reasons for the occurrence of NULL values in a 3
relation.
5 Describe the main benefits of using stored procedures in a database system. 3
6 How can views enhance security in a database system? 3
7 Suppose that we decompose the schema R = (A, B, C, D, E) into (A, B, C) and (C, 3
D, E). Show that this decomposition is not lossless-join decomposition if the
following set F of functional dependencies hold:
A → BC
CD → E
B→D
E→A
8 Define Canonical cover, Fc. What is the advantage of using a canonical cover? 3
9 Explain the ACID properties of database transaction. Why are these properties 3
essential in ensuring reliable and consistent database operations?
10 Compare and contrast SQL databases with NoSQL databases. 3
PART B
(Answer one full question from each module, each question carries 14 marks)
Module -1
11 a) A hospital management system needs to track patients, doctors, and medical 8
records. Each patient can have multiple medical records, each associated with a

Page 1 of 4
0200ITT206122301

specific doctor. Every doctor has a unique ID, name, and specialty. Patients are
identified uniquely by their ID and name. Medical records capture details such as
the date of visit, diagnosis, prescribed medications, and tests conducted. Design an
ER Diagram that captures these entities and their relationships
b) Discuss the challenges associated with translating an ER diagram into an actual 6
database schema
12 a) Students can enroll in multiple courses. Each course possesses a unique code, a 8
title, and is instructed by a specific instructor. Instructors are uniquely identified
by an ID and have a name; they can conduct multiple courses. Students, on the
other hand, have unique identifiers by their IDs and names. Design an ER Diagram
that captures the relationships and entities present in this university registration
context.
b) Explain the 3-Schema architecture of the database system with the help of a neat 6
diagram.
Module -2
13 a) Consider the following relational database schema consisting of four relational 8
schemas:
student(sid, sname, major, year)
course(cid, cname, credits, instructor)
enrollment(sid, cid, semester, grade)
Answer the following questions using relational algebra queries:
i) Retrieve the names of students who are enrolled in at least one course during the
current semester.
ii) Identify the names of students who have not enrolled in any courses for the
current academic year.
iii) Find the names of instructors teaching courses that have more than 50 enrolled
students in the spring semester.
iv) List the details of courses that are offered in both the spring and fall semesters
of the academic year.
b) Define the main operations in relational algebra: select, project, union, set 6
difference, and join. How do these operations help in retrieving and manipulating
data in a relational database?
14 a) Consider the E-R diagram in the Figure below, which models an online bookstore. 8

Page 2 of 4
0200ITT206122301

(i). List the entity sets and their primary keys.


(ii). Suppose the bookstore adds Blu-ray discs and downloadable videos to its
collection. The item may be present in one or both formats, with differing prices.
Extend the E-R diagram to model this addition, ignoring the effect on shopping
baskets.

b) Using a practical example, illustrate how the relational algebra operation "join" 6
combines two relations based on a common attribute. Highlight the types of joins,
such as inner join, outer join, and their significance.
Module -3
15 a) Consider an e-commerce platform's database that maintains an Inventory table to 8
track product stock levels. You are tasked with ensuring that whenever the stock
count of any product in the Inventory table drops below 20 units, an automated
alert is sent to the system administrator. Design a trigger named
NotifyAdminLowStock for a database system. This trigger should be activated
whenever the stock count of any product in the Inventory table drops below 20
units. Once triggered, the system should send an alert notification to the system
administrator, notifying them of the low stock situation. Provide the SQL code for
creating this trigger and ensure to explain each component of your code to
demonstrate its functionality.
b) Explain how database triggers can be used to enforce data integrity rules. 6

Page 3 of 4
0200ITT206122301

16 a) Consider the following University Management database schema 8


Student (StudentID, Name, Age, Department)
Professor (ProfessorID, Name, Department, Salary)
Course (CourseID, CourseName, Department, Credits)
Enrollment (StudentID, CourseID, Grade)
Teaching (ProfessorID, CourseID)
Give SQL queries for the following
(i) Retrieve the names and departments of students who are older than the average
age of all students.
(ii) Design an SQL query to provide a count of courses offered in each department
of the university.
(iii) Develop an SQL statement to increase the salary of all professors by 15%.
(iv) Construct an SQL query that lists all courses where the average grade is below
70
b) Describe the typical types of exceptions encountered in database operations. 6
Module -4
17 a) Find out the highest Normal form for the given relation schema R(A, B, C, D, E, 8
F). Given the functional dependencies as {ABC, C DE, E F, F A}
b) Define the Boyce-Codd Normal Form (BCNF) and discuss its significance in 6
ensuring data integrity and eliminating anomalies.
18 a) Determine if the FD sets 8
F = {A → C, AC → D, E → AD} and
G = {A → CD, E → AHE} are functionally equivalent.
b) Outline Armstrong's Axioms related to functional dependencies. For each axiom, 6
explain its significance in understanding and working with FDs in the database
context.
Module -5
19 a) Explain the deferred update technique of recovery. What are the advantages and 8
disadvantages of this technique?
b) Draw a state diagram and discuss the typical states that a transaction goes through 6
during execution.
20 a) Define Two-Phase Locking (2PL)? Describe its phases and explain how it ensures 8
serializability in database transactions.
b) Illustrate deadlock and starvation in database transactions. 6
*****

Page 4 of 4

You might also like