1
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
Which of the following query transformations (i.e. replacing the l.h.s. expression by the r.h.s. expression) is incorrect? R1 and R2 are relations, C1, C2 are selection conditions and A1, A2 are attributes of R1?
A
$$\sigma_{C_1} \left(\sigma_{C_2}\left(R_1\right)\right) \to \sigma_{C_2} \left(\sigma_{C_1}\left(R_1\right)\right)$$
B
$$\sigma_{C_1} \left(\pi_{A_1}\left(R_1\right)\right) \to \pi_{A_1} \left(\sigma_{C_1}\left(R_1\right)\right)$$
C
$$\sigma_{C_1} \left(R_1 \cup R_2\right) \to \sigma_{C_1}\left(R_1\right) \cup \sigma_{C_1} \left(R_2\right)$$
D
$$\pi_{A_1} \left(\sigma_{C_1}\left(R_1\right)\right) \to \sigma_{C_1} \left(\pi_{A_1}\left(R_1\right)\right)$$
2
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3

There are five records in a database.

Name Age Occupation Category
Rama 27 CON A
Abdul 22 ENG A
Jennifer
28 DOC B
Maya 32 SER D
Dev 24 MUS C

There is an index file associated with this and it contains the values 1, 3, 2, 5 and 4. Which one of the fields is the index built from?

A
Age
B
Name
C
Occupation
D
Category
3
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
Consider the following determinant $$$\Delta = \left| {\matrix{ 1 & a & {bc} \cr 1 & a & {ca} \cr 1 & a & {ab} \cr } } \right|$$$

Which of the following is a factor of $$\Delta $$ ?

A
$$a + b$$
B
$$a - b$$
C
$$a + b + c$$
D
$$abc$$
4
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
The binary relation R = {(1, 1)}, (2, 1), (2, 2), (2, 3), (2, 4), (3, 1), (3, 2), (3, 3), (3, 4) } on the set A = { 1, 2, 3, 4} is
A
Reflexive, symmetric and transitive
B
Neither reflexive, nor irreflexive but transitive
C
Irreflexive, symmetric and transitive
D
Irreflexive and antisymmetric