Documente Academic
Documente Profesional
Documente Cultură
Ans)
Q2) Comment on Primary key can be a Super Key but not vice-versa.
Ans)
Q3) What is a functionally complete set in Relational Algebra? Express Intersection,
Division and Join operation in terms of other operators.
Ans)
Q4) Consider the two tables T1 and T2.
P
10
15
25
Q
a
b
a
R
5
8
6
A
10
25
10
B
b
c
b
C
6
3
5
T2 where T1.P=T2.A
T2 where T1.Q=T2.B
T2 where T1.P=T2.A
d) T1
T2 where T1.Q=T2.B
e) T1 T2
f) T1
T2 where T1.P=T2.A AND T1.R=T2.C
Ans)
Q5) Discuss insertion,deletion and modification anomalies. Why are they
considered bad? Illustrate with examples.
Ans)
A
10
10
11
12
13
14
B
b1
b2
b4
b3
b1
b3
C
c1
c2
c1
c4
c1
c4
TUPLE#
#1
#2
#3
#4
#5
#6
b) Does the above relation have a potential candidate key? If it does,what is it?
If not, why not?
Ans)
Q7) Does ordering of tuples and attributes matter in a relation?
Ans)
Q8) Can an attribute of a relation migrate to any participating entity in the relation?
Ans)
Q9) Define
a)
b)
c)
d)
e)
Primary Key
Foreign Key
Candidate Key
Partial Key
Surrogate Key
Q10) How come traditional file system does not support program data
independence?
Ans)
Q11) What is the role of the following users?
a) Database Administrator
b) Nave User
c) Sophisticated End User
Q12) Explain Controlled Redundancy of DBMS.
Ans)
Q13) Write the difference between
a)
b)
c)
d)
Unary
Derived Attribute
Multivalued Attribute
Weak entity