Given STUDENT(Rollno, Name, Courseno) and COURSE(Courseno, Coursename, Capacity) with 5 and 3 records, R = STUDENT × COURSE is computed. Match List I with List II. List I: A. Degree of table R, B. Cardinality of table R, C. Foreign key of relation STUDENT, D. Foreign key of relation COURSE. List II: I. 15, II. NIL, III. 6, IV. Courseno.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. A ‐III , B ‐I , C ‐IV , D ‐ II
Explanation
Degree = 3 + 3 = 6 attributes; cardinality = 5 × 3 = 15 tuples; STUDENT.Courseno references COURSE; COURSE has no foreign key.
More Database Management Systems questions
- A B tree indexes a database file with search key 10 bytes, block 1024 bytes, record pointer 9 bytes and block pointer 8 bytes. If K is the…
- Given R(x, y, z, w) with F = {x → y, z → w}, where all attributes are atomic: A. R is in First Normal Form. B. R is in Second Normal Form.…
- A company is consuming parts in the manufacturing of other products. Each of the part is either manufactured within the company or purchase…
- A transaction may be in one of the following states during its execution life cycle in concurrent execution environment. A. FAILED B. TERMI…
- Which of the following is used to create a database schema?
- The data node and name node in HADOOP are