The mapping of a Category (Union Type) involves creating a relation for the Category, including a surrogate key, the Categorys attributes, and:
Anonymous Quiz
10%
No Foreign Keys
50%
Foreign Keys from all participating entities
30%
A Foreign Key to only one participating entity
10%
Only the Primary Key of the Superclass
If a Specialization is Overlapping, which mapping option is generally preferred to handle multiple inheritance effectively?
Anonymous Quiz
36%
Option 2 (Subclasses Only)
55%
Option 3 (Superclass and Subclasses)
9%
Option 4 (Combination of relations)
0%
Option 1 (Single Relation)
When mapping a Derived Attribute, the attribute is usually:
Anonymous Quiz
30%
Ignored in the mapping process
20%
Treated as a Multi-valued attribute
10%
Mapped as a separate relation
40%
Included in the relation and marked as NOT NULL
To enforce the Total Participation constraint of E2 in a 1:N relationship R, the Foreign Key placed in the relation corresponding to E2 must be specified as:
Anonymous Quiz
11%
UNIQUE
56%
NOT NULL
11%
DEFAULT value
22%
CHECK constraint
When mapping a Total Specialization (Option 3: Superclass and Subclasses), the primary key of the Subclass relation is also a:
Anonymous Quiz
0%
Alternate Key
40%
Foreign Key
40%
Secondary Key
20%
Candidate Key
The Foreign Key in the relation corresponding to the Weak Entity must also be specified as:
Anonymous Quiz
27%
CHECK constraint
36%
NOT NULL
27%
UNIQUE
9%
DEFAULT value
When mapping a 1:1 Relationship, if both sides have Partial Participation, a separate relation might be the optimal choice to minimize:
Anonymous Quiz
0%
Update anomalies
38%
NULL values
25%
Key constraint violations
38%
Referential integrity violations
Mapping a generalization lattice (multiple inheritance) is most often handled using:
Anonymous Quiz
0%
Option 4
50%
Option 2 or 3
0%
Option 5
50%
Option 1 (Single Relation)
The key for a separate relation created from a Multivalued Attribute is the combination of the entitys Primary Key and the:
Anonymous Quiz
20%
Foreign Key
60%
Primary Key of the Superclass
10%
New Surrogate Key
10%
Attribute value itself
Section 8: أسئلة من الاختبار النصفي
#أساسيات_قواعد_البيانات
#databases_fundamentals
#علم_البيانات الدفـعـ(1)ــة
Loading the initial database contents on a secondary storage medium is a phase of:
Anonymous Quiz
9%
Defining a database
36%
Manipulating a database
9%
Sharing a database
45%
Constructing a database
A special null value is used to represent values that are:
Anonymous Quiz
0%
Equal to zero (0)
83%
Not applicable or unknown
8%
Always invalid input
8%
Temporarily deleted
Which of the following is NOT one of the three main types of Explicit schema-based constraints in the Relational Model?
Anonymous Quiz
36%
Entity integrity constraints
18%
Key constraints
36%
Domain constraints
9%
Referential integrity
All the following are types of recent database applications EXCEPT:
Anonymous Quiz
0%
Data Warehouse
0%
Mobile database
30%
Multimedia database
70%
Numeric and textual database
Which of the following describes properties used to describe an entity?
Anonymous Quiz
33%
Relationship
8%
Entity
58%
Attributes
0%
Tuple
Which term is the informal name for a Tuple in the Relational Model?
Anonymous Quiz
8%
Relation
33%
Key
33%
Row
25%
Attribute
In the E-R Diagram notation, an attribute that can be calculated from other stored attributes (like Age from Date of Birth) is represented as a:
Anonymous Quiz
8%
Single oval
42%
Dashed oval
25%
Double oval
25%
Oval with an underline
Which constraint specifies that every entity in the entity set must participate in the relationship at least once?
Anonymous Quiz
30%
Partial Participation
20%
Cardinality Ratio
40%
Referential Constraint
10%
Total Participation
The constraint that links two relations via a Foreign Key is:
Anonymous Quiz
20%
Entity Integrity Constraint
0%
Domain Constraint
20%
Key Constraint
60%
Referential Integrity Constraint
Which integrity constraint in the Relational Model prohibits the Primary Key from having a NULL value?
Anonymous Quiz
18%
Domain Constraint
27%
Referential Integrity Constraint
36%
Key Constraint
18%
Entity Integrity Constraint
The Key Attribute in an E-R Diagram should be underlined. (True/False)
Anonymous Quiz
40%
False
60%
True