Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Logical Database Design Questions
First normal form (1NF) and multivalued attributes If a relation has no multivalued attributes and contains only atomic values in each column, the relation is in which normal form?
Entity–Relationship (ER) to Relational mapping: When converting a many-to-many unary (recursive) relationship on a single entity into relations, how many separate relations do you typically end up with in the relational schema?
Relational database keys: Which option best defines a foreign key in the context of relational schema design and referential integrity?
Primary key fundamentals: In a properly designed relation, a primary key is best described as which of the following?
Relational model basics: In classical relational theory, a relation is most appropriately viewed as which of the following structures?
Properties of a well-formed relation (table) in the relational model: Which statement is true for every relation?
ER to Relational mapping for binary many-to-many relationships: When converting a binary many-to-many relationship into relations, how many relations will typically be present in the final schema (including participating entities)?
Entity integrity rule in the relational model: Which statement correctly expresses the entity integrity constraint for primary keys?
Relational model composition: Which option best characterizes the relational model at a high level?
Recognizing normal forms: If a relation has no multivalued attributes and also contains no partial dependencies (with respect to any candidate key), in which normal form is the relation?
Understanding transitive dependency: Which option best describes a transitive dependency within a relation?
ER-to-Relational Mapping — Regular (Strong) Entity When mapping a regular (strong) entity type from an entity–relationship model into the relational model, which statement correctly describes how many relations (tables) are created for that single entity?
ER-to-Relational Mapping — Ternary Relationship with an Associative Entity When mapping a ternary relationship that has been modeled with an associative (intersection) entity, which statement correctly describes the number of relations (tables) created?
ER-to-Relational Mapping — Supertypes and Subtypes When mapping a supertype/subtype hierarchy into relations, which statement correctly captures the key assignment across the hierarchy?
ER-to-Relational Mapping — Multivalued Attribute When converting a multivalued attribute of an entity into the relational model, which statement correctly describes the number of relations created for that entity and attribute?
Weak entities do not get mapped into a relation.
In a 1:M relationship, the primary key on the one side migrates to the many side to become the foreign key on the many side.
A primary key may be null.
The primary key of the new relation in a many-to-many relationship is a composite key comprised of the primary keys of each of the binary entities.
An enterprise key is a primary key whose value is unique for a given relation.
1
2