The document consists of a series of questions and answers related to database management systems (DBMS), focusing on concepts such as foreign keys, superkeys, candidate keys, and relationships between entities. It includes multiple-choice questions that test knowledge on relational data models and their properties. The content is structured as a study guide or practice problem set for students learning about DBMS.
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
0 ratings0% found this document useful (0 votes)
5 views2 pages
Dbms DPP Part - 6 By-Sunil Yadav Sir
The document consists of a series of questions and answers related to database management systems (DBMS), focusing on concepts such as foreign keys, superkeys, candidate keys, and relationships between entities. It includes multiple-choice questions that test knowledge on relational data models and their properties. The content is structured as a study guide or practice problem set for students learning about DBMS.
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/ 2
DBMS DPP PART - 6 BY-SUNIL YADAV SIR 1
DBMS DPP PART - 6
1. Consider the following statement 6. Maximum number of superkeys for
S1 and S2 about the relational data the relation schema R(X, Y, Z, W) model: with X as the key is: S1 : A relation scheme can have at (a) 6 (b) 8 most one foreign key. (c) 9 (d) 12 S2 : A foreign key in a relation 7. Let x, y, z, a, b, c be the attributes schema R cannot be used to refer of an entity set E. If {x}, {x, y}, {a, to tuples of R. b}, {a, b, c}, [x, y, z} are superkeys Which one of the following choices then which of the following are the is correct? candidate keys? (a) S1 is false and S2 is true. (a) {x, y} and {a, b} (b) Both S1 and S2 are false (b) {x} and {a, b} (c) Both S1 and S2 are true (c) {x, y, z} and {a, b, c} (d) S1 is true and S2 is false (d) {z} and {c} 2. A super key for an entity consists 8. The primary key of any table is of selected from the: (a) One attribute only (a) Composite keys (b) At least two attributes (b) Foreign keys (c) At most two attributes (c) Candidate keys (d) One or more attributes (d) Alternate keys 3. A________ is the combination of one 9. Consider a relation R(A, B) and or more column values in a table primary key is A and B is a foreign make a row of data unique within the table key referencing to A. Which of the (a) Foreign key following row sequences can be (b) Natural key inserted into R. (c) Candidate key (a) (a1, a2) (a2, a3)(a3, a4)a4, a5) (d) Primary key (b) (a1, null) (a2, a1) (a3, a2) (a4, a5) 4. A_____ of a relation is a set of one (c) (a1, null) (a2, a1) (a4, a3) (a3, a2) or more attributes whose values (d) None of the above can be inserted are guaranteed to identify tuples in 10. The maximum number of the relation uniquely. superkeys for the relation schema (a) Foreign key R(E, f, G, R) with E as the key is (b) Super key (a) 8 (b) 7 (c) Scheme (c) 5 (d) 6 (d) Key 11. Let pk(R) denotes primary key of 5. Drop Table cannot be used to drop relation R A many-to-one a Table reference by ______ relationship that exists between constraint. two relationship that exists (i) Primary key (ii) Sub key between two relations R1 and R2 (iii) Super key (iv) Foreign key can be expressed as follow: (a) (i) (b) (i), (ii) and (iii) (a) pk(R2) pk(R1) (b) pk(R1) pk(R2) (c) (iv) (d) (i) and (ii) (c) pk(R2) R1 R2 (d) pk(R2) R1 R2
12. A recursive foreign key is a: 17. Which of the following can be a
(a) References a relation multivalued attribute? (b) References a table (a) Phone_number (c) References its own relation (b) Name (d) References a foreign key. (c) Date_of_birth 13. Which one of the options given (d) All of the mentioned below refers to the degree (or arity) 18. The total participation by entities of a relational database systems? is represented in E-R diagram as (a) Number of attributes of its (a) Dashed line relations schema (b) Double line (b) Number of tuples stored in the (c) Double rectangle relation. (d) Circle (c) Number of entries in the relation 19. Given the basic ER and relational (d) Number of distrinct domains of its models, which of the following is relation schema. INCORRECT? 14. Consider a relation R(A, B, C, D, E) (a) An attribute of an entity can have with the following three functional more than one value dependencies AB>C; BC>D; C>E; (b) An attribute of an entity can be The number of superkey in the composite relation R is? (c) In a row of a relational table, an (a) 5 (b) 2 attribute can have more than one (c) 16 (d) 8 value 15. The relationship between two (d) In a row of a relational table, an entity types A and B is 1:1 and the attribute can have exactly one relationship is optional at the A value or a NULL value end. Only 50% of B entitites are 20. What is a relationship called when related to an A entity. Now it is maintained between two consider mapping these entity entities? types into relations. (a) Unary (b) Binary (a) A and B should be kept separate (c) Ternary (d) Quaternary with the foreign key in the A relation (b) A and B should be kept separate with a foreign key in both A and B (c) A and B should be should be kept separate with the foreign key in the B relation (d) None of the above 16. The attribute AGE is calculated from DATE_OF_BIRTH. The attribute AGE is (a) Single valued (b) Multi valued (c) Composite (d) Derived