GATE 2005 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2005

203 questions

MCQ 2031-mark 203

Questions 166–170 of 203

Q166SQL1 markMCQ−0.33 if wrong
The relation book (title, price) contains the titles and prices of different books. Assuming that no two books have the same price, what does the following SQL query list?
 select title
  from book as B
  where (select count(*)
     from book as T
     where T.price > B.price) < 5 

Q167Integrity Constraints1 markMCQ−0.33 if wrong
The following table has two attributes A and C where A is the primary key and C is the foreign key referencing A with on-delete cascade.
AC 24 34 43 52 72 95 64
The set of all tuples that must be additionally deleted to preserve referential integrity when the tuple (2,4) is deleted is:

Q168Normal Form1 markMCQ−0.33 if wrong
In a schema with attributes A, B, C, D and E following set of functional dependencies are given
A→BA \rightarrow B
A→CA \rightarrow C
CD→ECD \rightarrow E
B→DB \rightarrow D
E→AE \rightarrow A
Which of the following functional dependencies is NOT implied by the above set?

Q169Normal Form1 markMCQ−0.33 if wrong
A table has fields F1,F2,F3,F4,F5F_1, F_2, F_3, F_4, F_5 with the following functional dependencies
F1→F3,F2→F4,(F1.F2)→F5F_1 \to F_3, F_2\to F_4, (F_1 . F_2) \to F_5
In terms of Normalization, this table is in

Q170Normal Form1 markMCQ−0.33 if wrong
Which one of the following statements about normal forms is FALSE?