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?
Entity–Relationship (ER) to relational mapping: Do weak entities get mapped into their own relation (table), or do they not get mapped at all?
In a one-to-many (1:M) relationship, does the primary key from the “one” side migrate to the “many” side as a foreign key on the “many” side?
Keys and nullability: May a primary key attribute (or any component of a composite primary key) be null in a properly designed relational table?
Mapping many-to-many relationships: Is the primary key of the new junction (associative) relation typically a composite key formed from the primary keys of the two participating entities?
Terminology clarity: Is an “enterprise key” simply a primary key that is unique within a single relation, or is it intended to be globally unique across the enterprise?
1
2