April / May 2025
Database Management Systems
Anna University
2 question papers available. Select an examination session to view its question paper.
Database Management Systems
Database Management Systems
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
Define the term logical and physical data independence. 2 01 L1
0 eligible source papersWhat do you mean by Referential Integrity constraint? Give an example. 2 Co2 | (2
0 eligible source papersDifferentiate Partial and Full functional dependency. 2 CO3 | (2
0 eligible source papersConsider the relational schema Purchase and FDs as mentioned below. Discuss the different types of anomalies that are likely to arise. Purchase(ItemID, ItemName, CustomerID, Price) ItemID + ItemName 2 CO3 L3 ItemID, CustomerID > Price
0 eligible source papersList the ACID properties and write down its significance in a 2 04 | L2 transaction.
0 eligible source papersWhat is lock granularity? List the different types of possible locks that occur in concurrent transactions. 2 Co4 | (1
0 eligible source papersHow a dense index differs from a sparse index in databases? Give an example. 2 CO5| (2
0 eligible source papersWhy Query optimization techniques are required for databases? 2 605 | L2 Provide suitable answers.
0 eligible source papersBrief the usage of XSL and DOM in a XML database. 2 Co6 | (1
0 eligible source papersWrite down the significance of CAP theorem in NoSQL databases. 2 06 | 12
0 eligible source papers(a) (i) | Explain the architecture of a database management system with a 8 CO1 L2 neat sketch by detailing each component in the architecture. (ii) | Consider a relational schema given below and Write queries in 5 CO2 L3 Relational Algebra to retrieve the required information: STUDENT (SID, Sname, marks, CGPA, gender, branch) BRANCH_DETAILS (Branch, Location, strength) 1. Display the name of the branches that have more than 100 students. 2. List the girls’ students’ names and location whose branch is IT. 3. Display the tota! .marks.of the: students: whose branch strength is greater than 100. 4. List all students whose location belongs to 'Chennai’.
0 eligible source papers(b) | Consider the following relational database. Write suitable SQL to 13 CO1 L3 express each of the following queries: CO2 Person (Person_ID, Person_Name, City, Salary, Dept_ID) Manager(Manager_ID, Name, Dept_Name) Department(Dept_ID, Dept_Name, Location) Works_for(Person_ID, Manager_ID, Dept_ID) i) Create tables with primary key and foreign key constraints. (2) ii) Display the name of the person who are working for the same department. (2) iii) Find the names of the employees who are working under the same manager. (2) iv) Count the total number of employee location wise. (1) v) Create a view to display the name of the employee whose salary is greater than the average salary of the employees working in the same department. (3) vi) Create a Trigger to increase the salary of the employee by 10% if the employee changes his location from Delhi to Bombay. (3)
0 eligible source papers(a) (i) | Consider the following relation schema, CD (Company, Date, 8 03 | L3 CatalogNum, Composer, Track, Group, Artist, Title, Instrument, Duration) together with the following functional dependencies: {Artist} > {Instrument, Group} {Composer, Title, Company} > {CatalogNum, Track, Duration} {CatalogNum} > {Company, Date} {CatalogNum, Title} > {Composer} Use Armstrong's axioms to prove formally that this set of functional dependencies implies that {CatalogNum, Title} > {Track}. Justify each step of your proof with reason. (ii) | Assume a bank has various types of customers who can hold 5 CO3 ES. different types of bank accounts. Account can be SavinasBank BookDetails(BookID,Book Name, Author Name, Publisher Name, ISSN), Customer_ID, 9 Customer_email, | Transaction details(BookID, Customer ID, Borrow Date). ID, Name, Age, Account details, Money transacted. Customer can KN either deposit the money in the account or get a loan. Realize the ட ஜெப் வ) above scenario into relational schema. ட் காம். |S 1200 = Xe = ef i Consider the following Movie Renting relational table: ஆ SH Member Address Movie Rented | Gender SS Name John 4" street ABC, Male CDE John தர் Avenue EFG Male 8 CO3 | L3 Mary 12" Street HLG, Female VGH Janes 10" Street CDE Male Mary 11" Street FXV Female XYZ Anitha 17 Avenue BCD Female Normalize the above relational schema until it satisfies 3NF. (ii) | Write short notes on Multivalued dependencies andits Normalform| 5 | CO3| L3 in detail with a suitable example.
0 eligible source papers(a) (i) | Explain about the importance of Crash Recovery algorithm in 8 04 L2 databases. With a suitable example, explain any one recovery algorithm to redo/undo the transactions modified in database. (ii) | How deadlocks can be detected and recovered? Illustrate it with 5 04 L3 an appropriate example.
0 eligible source papers(b) (i) | Explain about the Two Phase Locking protocol used to enforce 8 CO4| L2 concurrency control in transactions in detail. (ii) | Check whether the following schedules are conflict serializable or § 04 L3 not: $1: R(A) R(B) W(A) 52; R(A) R(B) W(B)
0 eligible source papers(a) (i) | Explain the cost estimation for executing a selection query (which uses binary search) based on a primary key with a suitable 8 CO5 L2 example. (ii) | Differentiate Static Hashing with Dynamic Hashing Strategies. 5 CO5 | (3 : OR |
0 eligible source papers(b) (i) | Explain the various levels of RAID used for file organization and 8 CO5 L2 highlight their features. . (ii) | Construct a B+ tree of order 4 containing the following elements. 5 cos ௩4 | 16,24,42,15,22,101,22,44,88,87,25,78,45
0 eligible source papers(a) (i) | Discuss the characteristics of NoSQL databases and their uses. 5 CO6 Ls Also, illustrate how is it different from SQL with the help of an example. (ii) | How a distributed database differs from a centralized database? 8 CO6 | L3 Explain the different types of transparencies and fragmentations supported by Distributed databases.
0 eligible source papers(b) (i) | List the different types of NoSQL Data stores with an example for 5 CO6 L3 each. Create a column oriented data store for a movie database. (ii) | Create a XML DTD for the following structure and store at least three records in a XML file. 8 CO6 L3
0 eligible source papersList any five applications of DBMS 2 1 2
0 eligible source papersWhat is the difference between a database schema and a database 2 1 2t state?
0 eligible source papersDiscuss about the informal measure of goodness for a relation schema? 2 2 1
0 eligible source papersWhat is functional dependency? Give example? 2 3 2
0 eligible source papersDescnbe the ACID Properties of a transaction? 2 4 1
0 eligible source papersDefine deadlock 2 4 1
0 eligible source papersWhat is the function of a buffer manager? 2 5 1
0 eligible source papersList the techniques applied for allocating file blocks on disk? 2 5 2
0 eligible source papersWrite the differences between key-value and document data models. 2 6 2
0 eligible source papersDescribe about various types of XML parsers? 2 6 2
0 eligible source papers(a) i) With the help of the block diagram, desci^ibe the basic architecture of a 8 1 2 database management system? ii) Discuss the main characteristics of the database approach and how it 5 differs from traditional file systems?
0 eligible source papers(b)11(b) i) List and explain various DML, DDL commands in SQL 5 2 2 ii) Answer the following queries using SQL for EMPLOYEE relations Emp (empno, ename, job, mgrno, hire_ date, sal, deptno) Dept (deptno, dname, location) 8 Project (pno, pname, pmgr, persons, budget, pstart, pend) 1. Create a view containing the name, job title and the annualsalary of employee working in department 10. 2. Retrieve all employees who are working in department 10 and who earn at least as much as any (i.e., at least one) employee working in department 20. 3. For each employee, retrieve the name, department number and the name of the department where he is working. 4. Write a procedure which is used to increase the salary of all employees who work in the department given by the procedures parameter
0 eligible source papers(a) i) Construct an E R diagram for hospital management system with a set of 8 3 2,3 patients and a set of doctors. Associate with each patient a log of the various tests and examinations conducted. ii) Discuss the two main types of constraints on specializations and 5 generalizations with suitable example?
0 eligible source papers(b) i) Consider tlie relation schenne R (A, B, C, D, E, F, G, H, 1, J) and the set 8 3 2,3 of functional dependencies as given below. {A, B}-^{C}, { B } ^ { E, F}, {A, D}->{G, H }, {G }-{ 1 }, and{H}-^{J} Determine the key for the relation R and the total number of candidate keys? 5 ii) Differentiate 3NF and BCNF with an example?
0 eligible source papers(a) What is Concurrency? Explain it in terms of locking mechanism and two- 1 3 4 2 phase Commit Protocol with neat diagram?
0 eligible source papers(b) Illustrate the conflict serializability and view serializability with an 1 3 4 2 example?
0 eligible source papers(a) 1) Describe the purpose of indexing? How this can be done by B+ tree? 8 5 2 Explain. ii) Explain the cost estimation for executing a selection query which uses 5 a binary search based on a primary .key?
0 eligible source papers(b) i) What are the main goals and characteristics of various levels of RAID 8 5 2 technology? ii) Discuss the techniques for allowing a hash file to expand and shrink 5 dynamically? What are the advantages and disadvantages of each?
0 eligible source papers(a) i) Explain distributed database architecture with a neat sketch? 8 6 2 ii) Discuss ,the different types of NoSQL databases and their uses in 5 appropriate scenario?
0 eligible source papers(b) i) Explain XML DTD and Schema with example? 8 6 2 ii) Explain the importance of CAP theorem? 5
0 eligible source papersi) Describe the three phases of the ARIES recovery method? ii) Write the log corresponding to a particular schedule at the point of a system crash for four transactions T1, 12, 13, and 14. Suppose that the systems use the immediate update protocol with check pointing. Describe 1 0 the recovery process from the system crash. Specify which transactions are rolled back, which operations in the log are redone and which (if any) are undone, and whether any cascading rollback takes place. I Istail.ji-ansaction, 7;] [reaci_.item, T,. A] [read,item, f,, D] Iwntc.jleir. 7",, D. 20. 251 Icommil, 1,1 [cheskpoipll |:itaft_.fransaction, T,] (read„it©m, 7,, B] IwntD jlem, T.,, B, 12, 18) Istart_,transaction. Tj.,] [read, .item, 7.,, D] [wril-2_ilen% T,,, O, 25, 15] [start_transactlon, 7.,] Ivvrita..ilctr, Ta. C. 30, 40) (i>!a<i ili'fV', T,.. A\ [wrilt3..ilem, 7,,, 30, 20) Icommit, 7',) ireadjtem, fj. O) (v/rita_.ii<jrr, 7";,. D, 15. 25] \ - » - Syytciri crash
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.