Data modeling: ER diagrams, relational model, relational algebra and calculus, constraints and Codd rules. - Question Bank
1. Codd's Rule 11 (Integrity Rule) ensures that integrity constraints must be stored in the relational catalog and enforced by the DBMS.
2. Which Codd rule is related to the ability to update views?
3. Codd's Rule 10 (Logical Data Independence) ensures that:
4. What does Codd's Rule 9 (Physical Data Independence) guarantee?
5. Codd's Rule 7 (High-level Insert, Update and Delete) states that the system must support:
6. Which Codd rule ensures that users can perform all data manipulation and definition operations through the relational model's high-level language?
7. Codd's Rule 4 requires that the database description (catalog) must be stored:
8. According to Codd's Rule 3, null values should be supported to represent:
9. Codd's Rule 2 (Guaranteed Access Rule) states that every scalar value in the database must be addressable:
10. Which Codd rule states that the database must be logically representable using only the relational model, not as a network or hierarchy?
11. A CHECK constraint allows you to specify:
12. The PRIMARY KEY constraint enforces which two constraints by default?
13. A UNIQUE constraint ensures that:
14. A NOT NULL constraint ensures that:
15. What is the purpose of constraints in a relational database?
16. The fundamental difference between relational algebra and relational calculus is that algebra is __________ while calculus is _________.
17. In domain relational calculus, a query is expressed as:
18. Which type of relational calculus uses domain variables?
19. In tuple relational calculus, a query is expressed as:
20. Which type of relational calculus uses tuple variables?
21. Relational calculus is a procedural query language.
22. The difference operation (A − B) in relational algebra returns tuples that are:
23. Which relational algebra operation combines tuples from two relations that have the same attribute names and compatible domains, and where the tuples are identical in the common attributes?
24. The Join operation (⋈) in relational algebra typically combines tuples from two relations based on:
25. The Cartesian Product operation (A × B) between two relations A and B results in:
26. Which relational algebra operation selects columns from a relation?
27. Which relational algebra operation selects rows from a relation based on a condition?
28. A foreign key is an attribute or set of attributes in one relation that refers to:
29. The primary key is:
30. A candidate key is a superkey that:
31. A superkey is a set of attributes that:
32. The number of tuples in a relation is known as its:
33. The number of attributes in a relation is known as its:
34. The set of permissible values for an attribute is called its:
35. What is a column in a relation called in the relational model?
36. In the relational model, a row in a relation is called a:
37. Which of the following best describes the relational model?
38. The relationship between a weak entity type and its owner strong entity type is called:
39. In an ER diagram, a weak entity type is typically represented by a:
40. A weak entity type is an entity type that:
41. What does a double oval represent in an ER diagram?
42. An attribute whose value can be computed from other attributes is known as:
43. Which of the following is a type of attribute that can be broken down into smaller sub-parts?
44. What is the primary purpose of an ER diagram?
45. In the context of ER diagrams, what does an oval shape usually represent?
46. What does a line connecting an entity type and a relationship type signify in an ER diagram?
47. Which symbol in an ER diagram is used to represent a relationship between entity types?
48. In an Entity-Relationship (ER) diagram, what does a rectangle typically represent?