DBMS_2012
DBMS_2012
DBMS_2012
(a) What is the difference between stored and derived attributes? Explain with an example.
(b) Differentiate between physical data independence and logical data independence.
(c) What is the difference between a candidate key and the primary key for a given relation?
(d) What are the restrictions on the ALTER TABLE command?
(e) What are explicit cursors?
(f) What recovery techniques used to recovery the database?
(g) What is a transaction? What are its properties?
(h) Explain the two major advantages of distributed databases?
(i) Discuss the applications of object oriented databases.
(j) Consider the following relation
A B C
10 b1 c1
10 b2 c2
11 b4 c1
12 b3 c4
13 b1 c1
14 b3 c4
Which of the following functional dependencies may hold in the above relation: A B,
B C, C B.
UNIT-I
Q3 (a) Why would you choose a database system instead of simply storing data in operating system
files? When would it make sense not to use a database system? (5)
(b) Differentiate between specialization and generalization. (5)
P.T.O
[-2-]
UNIT-II
Q4 Consider the following schema:
Suppliers(sid: integer, sname: string, address: string)
Parts(pid: integer, pname: string, color: string)
Catalog(sid: integer, pid: integer, cost: real)
Q5 (a) What do you mean by relational algebra? Explain all the operations of relational algebra. (5)
UNIT-III
Q6 (a) Discuss the Oracle Memory Structure. (5)
(b) Discuss Exception handling in PL/SQL. (5)
UNIT-IV
Q8 Suppose you are given a relation R with four attributes ABCD. For each of the following sets
of FDs, assuming those are the only dependencies that hold for R, do the following:
(a) Identify the candidate key(s) for R. (b) Identify the best normal form that R satisfies
(1NF, 2NF, 3NF, or BCNF) . (c) If R is not in BCNF, decompose it into a set of BCNF
relations that preserve the dependencies. (10)
1. C D, C A, B C
2. B C, D A
3. ABC D, D A
4. A B, BC D, A C
5. AB C, AB D, C A, D B
**********