Professional Documents
Culture Documents
31 40
31 40
For the relation R(ABCDEF) with the following set of Functional Dependency
{ A^ E, AC^ D, B^ CFGH, D^ C, F^ G ,E^ FH}
Then {AB}+
(A) {ABCEGH}
(B) {ABCDEFGH}
(C) {ABDEFGH}
(D) {ABCEFGH}
Correct Option: B Explanation:
{AB}+={ABCDEFGH}
Using trivial and non trivial functional dependencies,
A^ E, AC^
D, B^
CFGH,
Question : 32
(A) It returns rows for the combined queries after eliminating duplicates
(B) It returns rows for the combined queries along with duplicate values
(C) It returns rows for the combined queries ignoring the null values
(D) It returns rows for the combined queries along with Null Values
Correct Option: B Explanation:
The UNION ALL operator returns rows for the combined queries along with duplicate
values
Question : 33
read(/\)
read(y4)
write(j4)
write(/\)
(51) Physical Data Independence - the ability to modify the physical schema without changing the
logical schema.
(52) Add/Modify/Delete a new attribute, entity or relationship is possible without a rewrite of
existing application programs is an example of physical data independence.
(51) The deferred database modification scheme records all modifications to the log, but defers
all the writes to after partial commit
(52) The immediate database modification scheme allows database updates of an uncommitted
transaction to be made as the writes are issued
Which of the above is not True.
(A) Only S1
(B) Only S2
(C) Both S1 and S2
(D) None of the above
Correct Option: D
Explanation:
Both Statements are true.
(51) The deferred database modification scheme records all modifications to the log, but defers
all the writes to after partial commit
(52) The immediate database modification scheme allows database updates of an uncommitted
transaction to be made as the writes are issued
Question : 38
An index whose search key specifies an order different from the sequential order of the file, is
called
(A) Primary Index
(B) Clustering Index
(C) Non-Clustering Index
Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum
number of keys in any non-root node?
(A) 1
(B) 2
(C) 3
(D) 4
Correct Option: B
Since the maximum number of keys is 5, maximum number of children a node can have is 6. 6/2
= 3. Therefore, minimum number of keys that a node can 2