Relation R has 4 tuples and 3 attributes, and S has 5 tuples and 2 attributes, with no attribute names in common. How large is the Cartesian product R x S?
Correct answer D. 20 tuples, 5 attributes
Subject / 421 questions
Page 7 of Programming multiple-choice questions with answers. Tap an option to check yourself.
Page 7 of 22
Correct answer D. 20 tuples, 5 attributes
Correct answer A. Natural join
Correct answer B. {A, B, C}
Correct answer C. AD
Correct answer C. 2NF
Correct answer B. 2NF
Correct answer A. R is in 3NF but not in BCNF
Correct answer B. First normal form
Correct answer A. Deletion anomaly
Correct answer B. R1(A, B) and R2(B, C)
Correct answer A. A lossless, dependency-preserving decomposition into 3NF always exists
Correct answer B. ALTER
Correct answer D. TRUNCATE TABLE t;
Correct answer C. REVOKE SELECT ON Emp FROM ali;
Correct answer B. Grant SELECT on Emp to other users
Correct answer D. ROLLBACK
Correct answer A. WHERE filters individual rows before groups and aggregates exist
Correct answer C. '___k'
Correct answer A. FULL OUTER JOIN
Correct answer D. It refers to a column of the outer query, so it is evaluated for each outer row