We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
DBMS DPP PART - 3 BY-SUNIL YADAV SIR 1
DBMS DPP PART - 3
1. Whish one of the following Data_of_Birth Age
statements is NOT correct about Age Eligibility the B+ tree data structure used for Name Roll_number creating an index of a relational Roll_number Name database table? Course_number Course_name (a) Each leaf node has a pointer to Course_number Instructor the next leaf node (Roll_nuber, Course_number) (b) Non-leaf nodes have pointers to Grade data records The relation (Roll_number, Name, (c) B+ Tree is height-balanced tree Date_of_birth, Age) is: (d) Key values in each node are kept (a) In second normal form but not in in sorted order third normal form 2. Relation R is decomposed using a (b) In third normal form but not in set of functional depencies, F, and BCNF relation S is decomposed using (c) in BCNF another set of functional (d) In none of the above dependencies, G. One 5. Which one of the following decomposition is definitely BCNF, statements is FALSE? the other is definitely 3NF, but it (a) Any relation with two attributes is is not known which is which. To in BCNF make a quaranteed identification, (b) A relation in which every key has which one of the following tests only one attribute is in 2NF should be used on the (c) A prime attribute can be decompositions? (Assume that the transitively dependent on a key in closures of F and G are available). a 3NF relation (a) Dependency-preservation (d) A prime attribute can be (b) Lossless-join transitively dependent on a key in (c) BCNF definition a BCNF relation (d) 3NF definition 6. Which one of the following 3. The relation scheme Student statements about normal forms is Performance (name, courseNo, FALSE? rollNo, grade) has the following functional dependencies: (a) BCNF is stricter than 3NF Name, courseNo grade (b) Lossless, dependency-preserving rollNo, courseNo grade decomposition into 3NF is always name roll No possible rollNo name (c) Lossless, dependency-preserving The highest normal form of this decomposition into BCNF is relation scheme is always possible (a) 2NF (d) Any relation with two attributes is (b) 3NF in BCNF (c) BCNF 7. Suppose R1(A, B) and R2(C, D) are (d) 4NF two relation schemas. Let r1 and r2 4. Consider the following functional be the corresponding relation dependencies in a database: instances. B is foreign key that refers to C in R2. If data in r1 and r2
satisfy referential integrity 12. There are 5 records in a database
constraints, which of the following is ALWAYS TRUE? (a) ( ) ( ) (b) ( ) ( ) (c) ( ) ( ) (d) ( ) ( ) 8. A clustering index is defined on the fields which are of type (a) non-key and ordering There is an index file associated (b) non-key and non-ordering with this and it contain the values (c) key and ordering 1, 3, 2, 5 and 4. Which one the (d) key and non-ordering fields is the index built form? 9. Relation R has eight attributes (a) Age (b) Name ABCDEFGH Fields of R contain (c) Occupation (d) Category only atomic values. 13. Which normal form is considered F = {CH G, A BC, B CFG, E A, adequate for normal relational F EG}, is a set of functional database design? dependencies (FDs) so that F+ is (a) 2NF (b) 5NF exactly the set of FDs that host for (c) 4NF (d) 3NF R. The relation R is 14. For a database relation R(a, b, c, d), (a) in 1NF, but not in 2NF. where the domains a, b, c, d (b) in 2NF, but not in 3NF. include only atomic values, only (c) in 3NF, but not in BCNF the following functional (d) in BCNF dependencies and those that can 10. An index is clustered, if be inferred from them hold (a) It is on a set fields that form a a c candidate key. b d (b) It is on a set of fields that include (a) In first normal form but not in the primary key. second normal form (c) The data records of the file are (b) In second normal form but not in organized in the same order as third normal form the data entries of the index. (c) In third normal form (d) The data records of the file are (d) None of the above organized not in the same order 15. In a relational data model; which as the data entries of the index. one of the following statements is 11. Which of the following is TRUE? TRUE? (a) Every relation in 3NF is also in (a) A relation with only two attributes BCNF is always in BCNF. (b) A relation R is in 3NF if every not- (b) if all attributes of a relation are prime attribute of R is fully prime attributes, then the functionally dependent on every relation is in BCNF. key R (c) Every relation has at least one (c) Every relation in BCNF is also in nonprime attribute 3NF (d) BCNF decomposition preserve (d) No relation can be in both BCNF functional dependencies. and 3NF
index? (a) Primary index (b) Clusters index (c) Secondary index (d) secondary non-key index 17. Let R (A, B, C, D) be a relational schema with the following functional dependencies: A B, B C, C D and D B. (a) Gives a lossless join, and is dependency preserving (b) Gives a lossless join, but is not dependency preserving (c) Does not give a lossless join, but is dependency preserving (d) Does not give a lossless join and is not dependency preserving 18. Let R (A, B, C, D, E, P, G) be a relational scheme in which the following functional dependencies are known to hold: AB CD, DE P, C E, P C and B G. The relational schema R is (a) In BCNF (b) In 3NF, but not in BCNF (c) In 2NF, but not in 3NF (d) Not in 2NF 19. A table has fields F1, F2, F3, F4, F5 with the following functional dependencies F1 F3, F2 F4, (F1.F2) F5 In terms of Normalization, this table is in (a) 1 NF (b) 2 NF (c) 3 NF (d) None 20. What does the data dictionary identify? (a) Field names (b) Field Formats (c) Field Types (d) All of these