ANNA UNIVERSITY · REGULATION 2021
Important Questions
CS 3492 — DATABASE MANAGEMENT SYSTEMS
Fourth Semester · Computer Science and Engineering
Prepared from 4 previous year question papers (Nov/Dec 2024, Apr/May 2024, Nov/Dec 2023, Apr/May 2023). Every question was compared with the others of its unit; the ones asked more than once come first. "Most asked topics" shows in how many different exams a syllabus topic had a question.
UNIT 1Relational Databases
Most asked topics: Data Models (2/4) · Relational Algebra (2/4) · Embedded SQL (2/4) · Database System Architecture (1/4) · Relational Model (1/4) · Advanced SQL features (1/4)
Part A · 2 marks
- 1.What is a data model? List the types of data model used.(2)
Asked in Nov/Dec 2024
- 2.List the aggregate functions supported by SQL.(2)
Asked in Nov/Dec 2024
- 3.Differentiate File processing system and Database processing system.(2)
Asked in Apr/May 2024
- 4.List some relational algebra operations.(2)
Asked in Apr/May 2024
- 5.Relate the terms database, database management system.(2)
Asked in Nov/Dec 2023
- 6.What is the difference between logical data independence and physical data independence?(2)
Asked in Nov/Dec 2023
Part B · 13 marks
- 1.Discuss in detail, the functions of DBMS.(13)
Asked in Nov/Dec 2024
- 2.Explain the various functions of advanced SQL features and embedded SQL with examples.(13)
Asked in Nov/Dec 2024
- 3.What is datamodel? List its different types. Explain with suitable example.(13)
Asked in Apr/May 2024
- 4.Discuss about domain integrity. Give an example.(13)
Asked in Apr/May 2024
UNIT 2Database Design
Most asked topics: E-R Diagrams (2/4) · Second (2/4) · Entity-Relationship model (1/4) · Functional Dependencies (1/4) · First (1/4) · Third Normal Forms (1/4)
Part A · 2 marks
- 1.Define functional dependency.(2)
Asked 2 times: Nov/Dec 2023, Apr/May 2023
- 2.Define single valued and multi valued attributes.(2)
Asked in Nov/Dec 2024
- 3.What is BCNF?(2)
Asked in Nov/Dec 2024
- 4.Define Entity, Relationship and attributes in ER model.(2)
Asked in Apr/May 2024
- 5.Why BCNF is preferred over 3NF?(2)
Asked in Apr/May 2024
- 6.Transform the following ER diagram into a relational schema diagram. [Figure: ER diagram with entity Book (attributes ISBN (underlined), Title, Edition) connected through identifying relationship (double diamond) 'belongs' to weak entity (double rectangle) Chapter (attributes Number (underlined), Title); crow's-foot marks: one-and-only-one at Book, zero-or-many at Chapter](2)
Asked in Nov/Dec 2023
Part B · 13 marks
- 1.Construct an ER diagram for Election Commission for online voting system as per the information in the system: Voters' details, candidates and the political party they belong or independent type, vote casted, winner of any particular election-area.(13)
Asked in Nov/Dec 2024
- 2.Illustrate how to preserve Functional Dependencies during decomposition.(13)
Asked in Nov/Dec 2024
- 3.What is normalizations? List its benefits and explain briefly about 3NF, 4NF and BCNF with suitable example.(13)
Asked in Apr/May 2024
- 4.(i) Illustrate functional dependency with an example. (ii) Discuss about dependency preservation.(13)
Asked in Apr/May 2024
UNIT 3Transactions
Most asked topics: Serializability (3/4) · ACID Properties (2/4) · Two Phase Locking (2/4) · Multiple Granularity locking (2/4) · Schedules (1/4) · Need for Concurrency (1/4)
Part A · 2 marks
- 1.State the need for concurrency control.(2)
Asked in Nov/Dec 2024
- 2.Give an example for deadlock situation.(2)
Asked in Nov/Dec 2024
- 3.List the properties of transactions.(2)
Asked in Apr/May 2024
- 4.How will you handle deadlock during two transactions in database?(2)
Asked in Apr/May 2024
- 5.State ACID Properties.(2)
Asked in Nov/Dec 2023
- 6.What is the maximum number of superkeys for the relation schema R(E, F, G, H) with E as the key attribute? Write all such possible superkeys.(2)
Asked in Nov/Dec 2023
Part B · 13 marks
- 1.Describe multiple granularity locking with an example.(13)
Asked 2 times: Nov/Dec 2024, Apr/May 2024
- 2.Write briefly about the states and desirable properties on transactions in a database.(13)
Asked in Nov/Dec 2024
- 3.Demonstrate conflict serializability and view serializability.(13)
Asked in Apr/May 2024
- 4.Explain the concepts of serial, non-serial and conflict-serializable schedules with examples.(13)
Asked in Nov/Dec 2023
UNIT 4Implementation Techniques
Most asked topics: Static Hashing (3/4) · Indexing and Hashing (2/4) · Dynamic Hashing (2/4) · File Organization (1/4)
Part A · 2 marks
- 1.What are the advantages of B+ tree indexing?(2)
Asked in Nov/Dec 2024
- 2.Mention the use of query optimization.(2)
Asked in Nov/Dec 2024
- 3.What is hash based indexing?(2)
Asked in Apr/May 2024
- 4.List three components of Query processor.(2)
Asked in Apr/May 2024
- 5.Define B+ trees.(2)
Asked in Nov/Dec 2023
- 6.Write the problems of executing two concurrent transactions.(2)
Asked in Nov/Dec 2023
Part B · 13 marks
- 1.By considering relevant example, show insertion and deletion operations on a B-Tree.(13)
Asked in Nov/Dec 2024
- 2.Compare static and dynamic hashing techniques.(13)
Asked in Nov/Dec 2024
- 3.Explain B+ trees. Discuss about this Dynamic Index Structure.(13)
Asked in Apr/May 2024
- 4.Compare I/O costs for all File Organizations.(13)
Asked in Apr/May 2024
UNIT 5Advanced Topics
Most asked topics: Access control based on privileges (4/4) · Role Based access control (4/4) · Data Storage (1/4) · Transaction Processing (1/4) · Query processing and optimization (1/4) · CAP Theorem (1/4)
Part A · 2 marks
- 1.Write the approaches for storing the relation in distributed data storage?(2)
Asked in Nov/Dec 2024
- 2.What is statistical database security?(2)
Asked in Nov/Dec 2024
- 3.Define Distributed Database.(2)
Asked in Apr/May 2024
- 4.What are the challenges faced when using an encrypted system?(2)
Asked in Apr/May 2024
- 5.State CAP Theorem.(2)
Asked in Nov/Dec 2023
- 6.List the different types of SQL injection attacks?(2)
Asked in Nov/Dec 2023
Part B · 13 marks
- 1.Explain the purpose of role based access control in a database.(13)
Asked 3 times: Nov/Dec 2024, Nov/Dec 2023, Apr/May 2023
- 2.Discuss in brief about different NOSQL databases.(13)
Asked in Nov/Dec 2024
- 3.Explain distributed database architecture in detail.(13)
Asked in Apr/May 2024
- 4.Explain in detail about key value stores and role based access control in advanced database management systems.(13)
Asked in Apr/May 2024
PART CAny unit
Part C · 15 marks
- 1.Consider the following relational schema Employee (empno,name,office,age) Books(isbn,title,authors,publisher) Loan(empno, isbn,date) Write the following queries in relational algebra. (i) Find the names of employees who have borrowed a book Published by McGraw-Hill. (ii) Find the names of employees who have borrowed all books Published by McGraw-Hill. (iii) Find the names of employees who have borrowed more than five different books published by McGraw-Hill. …(3+4+4+4)
Asked in Nov/Dec 2024
- 2.Consider a relation with schema R(A,B,C,D) and FDs {AB -> C, C -> D, D -> A}. (i) What are some of the nontrivial FDs that can be inferred from the given FDs? (ii) What are all candidate keys of R? (iii) Indicate all BCNF violations for R. (iv) Decompose the relations into collections of relations that are in BCNF.(3+4+4+4)
Asked in Nov/Dec 2024
- 3.Consider the following relational schemes for a library database: Book (Title, Author, Catalog_no, Publisher, Year, Price) Collection (Title, Author, Catalog_no) the following are functional dependencies: (i) Title Author -> Catalog_no (ii) Catalog_no -> Title Author Publisher Year (iii) Publisher Title Year -> Price (iv) Assume {Author Title} is the key for both schemes. Apply the appropriate normal form for Book and Cancellation?(15)
Asked in Apr/May 2024
- 4.Consider a B+-tree in which the maximum number of keys in a node is 5. Calculate the minimum number of keys in any non-root node.(15)
Asked in Apr/May 2024
- 5.Construct an E-R diagram for university database with the following information: Professors have an SSN (Social Security Number), a name, an age, a rank, and a research speciality. Projects have a project number, a sponsor name, a starting date, an ending date and a budget. Graduate students have an SSN, a name, an age, and a degree program. Example: M.S or Ph.D. Each project is managed by one professor. Each project is worked by one or more professors, Professors can manage and/or work on multiple projects. …(15)
Asked in Nov/Dec 2023
- 6.Consider the below schedule for three transactions. R indicates a read of a page, W indicates a write of a page, and COM indicates a commit. [Table: schedule in time order (columns left to right): T1: R(A); T3: R(A); T3: R(C); T2: R(A); T2: W(A); T2: COM; T1: R(C); T1: W(B); T1: COM; T3: W(B); T3: COM] (i) Draw the arrows for the dependency graph for this schedule. (ii) Is the schedule conflict serializable? Explain Conflict Serializable. …(15)
Asked in Nov/Dec 2023