What is physical data independence? Why is it important in database 2 ak L4 systems?
DefinitionSource quality review required
Anna University
| 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 |
Access the previous year question paper for your examination preparation.
View / Download PDFBrowse other previous year question papers for this subject.
View All Subject Question PapersAutomatically extracted historical question data. Academic accuracy and examination rules require verification.
| Part | Required answers | Marks per answer | Section total |
|---|---|---|---|
| A | 10 | 2 | 20 |
| B | 8 | 8 | 64 |
| C | 2 | 8 | 16 |
Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.
What is physical data independence? Why is it important in database 2 ak L4 systems?
DefinitionSource quality review required
List out the constraints on Generalizations in ER model. Z Al 12
Short DescriptionSource quality review required
What are the integrity constraints used in designing a relational 2 2 [கர database? ; € 4 Compare embedded SQL versus dynamic SQL. 2 2 14
DefinitionSource quality review required
List out the ACID properties. v4 4 {lal
Short DescriptionSource quality review required
Give the distinction between serial schedule and serializable 2 4 14 schedule.
Other Or UnclassifiedSource quality review required
What are the factors to be considered to determine which transaction 2 4 [1 to roll back to break the deadlock?
DefinitionSource quality review required
What are the main heuristics that are applied during query 2 6 13 optimization?
DefinitionSource quality review required
When it is preferable to use a dense index rather than a sparse 2 4 L4 index?
Other Or UnclassifiedSource quality review required
List the guidelines for database tuning. 2 & La
Short DescriptionSource quality review required
Illustrate the system structure of database and explain its 8 1 [6 components.
DiagramSource quality review required
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.
DesignSource quality review required
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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
Explain the cost estimation for select operations with suitable 8 6 L2 examples.
ExplanationSource quality review required
(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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
Describe the architecture of a typical data warehouse and the design 8 5 L2 issues in building the data ware house.
ExplanationSource quality review required
Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.