Relational Design questions

Q21

GATE CS 2014 CS-2Relational DesignNAT1 mark
The maximum number of superkeys for the relation schema R(E,F,G,H) with E as the key is _____.
Show answer without attempting

Answer: 8

Q22

GATE CS 2014 CS-2Relational DesignNAT1 mark
Given an instance of the STUDENTS relation as shown below:
StudentIDStudentNameStudentEmailStudentAgeCPI
2345Shankarshankar@mathX9.4
1287Swatiswati@ee199.5
7853Shankarshankar@cse199.4
9876Swatiswati@mech189.3
8765Ganeshganesh@civil198.7
For (StudentName, StudentAge) to be a key for this instance, the value X should NOT be equal to _______________.
Show answer without attempting

Answer: 19

Q19

GATE CS 2014 CS-3Relational DesignMCQ1 mark−1/3 if wrong
In the context of modular software design, which one of the following combinations is desirable?
Show answer without attempting

Answer: B

Q22

GATE CS 2014 CS-3Relational DesignMCQ1 mark−1/3 if wrong
A prime attribute of a relation scheme RR is an attribute that appears
Show answer without attempting

Answer: B

Q21

GATE CS 2014 CS-1Relational DesignMCQ1 mark−1/3 if wrong
Consider the relation scheme R=(E,F,G,H,I,J,K,L,M,N)R = (E, F, G, H, I, J, K, L, M, N) and the set of functional dependencies {{E,F}→{G},{F}→{I,J},{E,H}→{K,L},{K}→{M},{L}→{N}}\{\{E, F\} \to \{G\}, \{F\} \to \{I, J\}, \{E, H\} \to \{K, L\}, \{K\} \to \{M\}, \{L\} \to \{N\}\} on RR. What is the key for RR?
Show answer without attempting

Answer: B

Q22

GATE CS 2014 CS-1Relational DesignMCQ1 mark−1/3 if wrong
Given the following statements:

S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL.

S2: Given the table R(a,b,c) where a and b together form the primary key, the following is a valid table definition.
CREATE TABLE S (
  a INTEGER,
  d INTEGER,
  e INTEGER,
  PRIMARY KEY (d),
  FOREIGN KEY (a) references R
)
Which one of the following statements is CORRECT?
Show answer without attempting

Answer: D

Q30

GATE CS 2014 CS-1Relational DesignMCQ2 marks−2/3 if wrong
Given the following two statements:

S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF.
S2: AB→C,D→E,E→CAB \to C, D \to E, E \to C is a minimal cover for the set of functional dependencies AB→C,D→E,AB→E,E→CAB \to C, D \to E, AB \to E, E \to C.

Which one of the following is CORRECT?
Show answer without attempting

Answer: A

0/70 correct0 marks

Related topics in Databases