PREVIOUS YEAR QUESTION PAPER

CS6106 – DATABASE MANAGEMENT SYSTEMS

Anna University

Regulation 2019 Semester 4 2024

Question Paper Details

University Anna University
Degree B.E. Computer Science and Engineering
Department Computer Science and Engineering
Regulation Regulation 2019
Semester 4
Subject Code CS6106
Subject Name DATABASE MANAGEMENT SYSTEMS
Exam Session May June 2024
Duration 3 Hours
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

21Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
0Choice candidates

Part-wise extracted questions

Part A9
Part B12

Question type candidates

Other Or Unclassified10
Definition4
Short Description3
Explanation2
Diagram1
Design1

Section marks — arithmetic candidates

Part A20 marks
Part B64 marks
Part C16 marks

Recorded Bloom level candidates

BL L24
BL L41
BL L51
BL L61

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B8864
C2816

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B115.2 min
Part C28.8 min

Question navigator

Extracted questions

Part A — 1

What is physical data independence? Why is it important in database 2 ak L4 systems?

Definition

Source quality review required

Part A — 2

List out the constraints on Generalizations in ER model. Z Al 12

Short Description

Source quality review required

Part A — 3

What are the integrity constraints used in designing a relational 2 2 [கர database? ; € 4 Compare embedded SQL versus dynamic SQL. 2 2 14

Definition

Source quality review required

Part A — 5

List out the ACID properties. v4 4 {lal

Short Description

Source quality review required

Part A — 6

Give the distinction between serial schedule and serializable 2 4 14 schedule.

Other Or Unclassified

Source quality review required

Part A — 7

What are the factors to be considered to determine which transaction 2 4 [1 to roll back to break the deadlock?

Definition

Source quality review required

Part A — 8

What are the main heuristics that are applied during query 2 6 13 optimization?

Definition

Source quality review required

Part A — 9

When it is preferable to use a dense index rather than a sparse 2 4 L4 index?

Other Or Unclassified

Source quality review required

Part A — 10

List the guidelines for database tuning. 2 & La

Short Description

Source quality review required

Part B — 11

Illustrate the system structure of database and explain its 8 1 [6 components.

Diagram

Source quality review required

Part B — 12

Construct an E-R diagram for keeping track of the exploits of India 8 1 [6 men's national cricket team. You should store the matches played, the scores in each match, the players in each match, and individual player statistics for each match.

Design

Source quality review required

Part B — 13

Consider the following relations: 2 13 Suppliers(sid:integer,sname:string,address:string, pbhoneNo:integer) Parts(pid:integer,pname:string,color:string ) Catalog(sid:integer, pid:integer, cost:real) The Catalog relation lists the prices charged for parts by Suppliers. Write the following queries in relational algebra. (i) Find the names of suppliers who supply only some red part. 2 (ii) Find the sids of suppliers who supply some yellow part or are at 2 221 Packer Street. (iii) Find the 5105 of suppliers who supply every part. 2 (iv) Find the sids of suppliers who supply some red but not green 2 part.

Other Or Unclassified

Source quality review required

Part B — 14

(i) Consider a relation schema R = (A, B, C, D, E) with the set of 4 3 L6 functional dependencies F = {A -> BC, CD -> E, B -> D, E->A}. If we decompose the relation R into R1 (A, B, C) and R2 (A, D, E) then show this decomposition is a lossless decomposition. (ii) Why 3NF is desirable than BCNF with a suitable example. 4 L4

Other Or Unclassified

Source quality review required

Part B — 15

Consider the schema given in Question No.13 and answer the 2 L6 following queries in SQL: (i) Find the pids of parts supplied by at least two different suppliers. 2 (ii) Find the pids of the most expensive parts supplied by the supplier 2 named Sham. (iii) Find the sids who supplies least number of parts. 2 (iv) Find the average number of parts supplied by every supplier. 2

Other Or Unclassified

Source quality review required

Part B — 16

(i) Explain the states of a transaction it undergoes during execution. 4 4 L2 (ii) Consider the schedule of a set of transactions T;, T2, Ts, T4. Is the 4 16 given below schedule is conflict serializable? Explain your answer. (மி A ie ர்‌, read(X) read(Y) read(Z) ம read(V) read(W) read(W) read(Y) write(Y) read(U) read(Y) write(Y) read(Z) write(Z) read(U) write(U) write(Y) write(Z)

Other Or Unclassified

Source quality review required

Part B — 17

Consider the following two transactions: 8 4 L5 T1: ~~ read(A); 72: read(B); read(A); if B=10 then A:=A+40; write(A) Add lock and unlock instructions to the transactions T1 and T2, so that they observe the two-phase locking protocol. Can the execution of these transactions result in deadlock? Explain your answer.

Other Or Unclassified

Source quality review required

Part B — 18

(i) Explain the deferred update recovery? Why does this method not 4 4 L2 require the UNDO - type log entries? (ii) Consider the following log corresponding to a particular schedule 4 LS at the point of a system crash for four transactions 11, 12, T3, 14 and T5. Suppose that we use the immediate update protocol with checkpoints. Illustrate the recovery process from the system crash. Specify which transactions are ROLLEDBACK, which operations in the log are REDONE and which (if any) are UNDONE, and whether any cascading ROLLBACK takes place. <T1, Start> <T1, D, 20, 20> <T1, Commit > <Checkpoint {T1}> <T2, Start> <T2, B, 12, 30> <T2, Commit> SED: <T4, Start> rN <T4, F, 25, 35> = tunes, NEI <T3, Start> AN ஐ 2/2] 2, 0, 30, 50> bY ரி <T4, A, 30, 20> வரவி <T3, Commit> i <T5, Start> <T5, G,10,70> <T4, E, 15, 25> System Crash <—

Other Or Unclassified

Source quality review required

Part B — 19

Explain the cost estimation for select operations with suitable 8 6 L2 examples.

Explanation

Source quality review required

Part B — 20

(i) Illustrate the steps involved in query processing. 4 6 (lat (ii) Let relations r1(A, B, C) and r2(C, D, E) have the following 4 LS properties: r1 has 10,000 tuples, r2 has 5,000 tuples, 25 tuples of r1 fit on one block, and 50 tuples of r2 fit on one block. The relation r1 is to be used as build input. Partition it into five partitions, each of size 20 blocks. This partitioning can be done in one pass. Similarly, partition of the relation r2 into five partitions, each of size 80 blocks. This is also done in one pass. Estimate the number of block accesses required using hash join strategy for [114 We

Other Or Unclassified

Source quality review required

Part B — 21

Assume that the extendable hashing on a file is used for storing the 8 ட 13 following search-key values: 2,3,5,7,10,14,17,20,27,35. Show that the extendable hash structure for this file, if the hash function is h(x) = x mod 5 and buckets can hold two records.

Other Or Unclassified

Source quality review required

Part B — 22

Describe the architecture of a typical data warehouse and the design 8 5 L2 issues in building the data ware house.

Explanation

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.