Mid Sem Exam1
Mid Sem Exam1
i. How does DBMS provide data abstraction? Explain the concept of data independence.
ii. What is DBA? Mention the functionalities of DBA.
iii. Explain the importance of Null value in Relational Model.
iv. Which of the following is not outer join and why?
(a) Left outer join
(b) Right outer join
(c) Full outer join
(d) All of the mentioned
Q3. (c) Suppose (A,B) and (C,D) are two relation schemas. Let r1 and r2 be the
corresponding relation instances. B is a foreign key that refers to C in r2. If data in r1 and r2
satisfy referential integrity constraints, which of the following is ALWAYS TRUE?
Q3. (d) Consider a relational table with a single record for each registered student with the following
attributes.
1. Registration _Number: Unique registration number of each registered student
2. UID: Unique Identity number, unique at the national level for each citizen
3. Bank Account _Number: Unique account number at the bank. A student can have multiple accounts or
joint accounts. This attributes stores the primary account number
4. Name: Name of the Student
5. Hostel_ Room: Room number of the hostel
which of the following options is INCORRECT?
(a) Bank Account _Number is a candidate key
(b) Registration _Number can be a primary key
(c) UID is a candidate key if all students are from the same country
(d) If S is a superkey such that S ∩ UID is NULL then S U UID is also a superkey
OR
Q3. (a) Consider a relation scheme R = (A, B, C, D, E, H) on which the following functional dependencies
hold: {A–>B, BC–>D, E–>C, D–>A}. What are the candidate keys of R?
(A) AE, BE
(B) AE,BE ,DE
(C) AEH,BEH, BCH
(D) AEH,BEH,DEH
Q3. (b) The following functional dependencies are given:
AB->CD, AF->D, DE->F, C->G , F->E, G->A
Which one of the following options is false?
(a)CF+ = {ACDEFG} (b)BG+ = {ABCDG}
(c)AF = {ACDEFG}
+
(d)AB+ = {ABCDFG}
Q3. (c) Consider the relation X(P, Q, R, S, T, U) with the following set of functional dependencies
F={
{P, R} → {S, T}
{P, S, U} → {Q, R}
}
Which of the following is the trivial functional dependency in F+ is closure of F?
(a) {P, R} → {S, T}
(b) {P, R} → {R, T}
(c) {P, S} → {S}
(d) {P, S, U} → {Q}