Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Data Models into Database Designs Questions
The DBMS allows surrogate keys to be changed.
For every relationship, there are six possible referential integrity actions.
In 1:N relationships, which entity becomes the parent entity is arbitrary.
A foreign key is used to implement relationships between tables.
All primary keys are required.
When the parent entity is required, a new parent row can always be inserted.
When the parent entity is required, cascading updates and cascading deletions should be allowed or the associated actions on the parent should be prohibited.
An intersection table is required to represent M:N relationships.
In a 1:1 relationship, the primary key placement is arbitrary.
For every relationship, there are six possible sets of minimum cardinalities.
Cascading updates refers to child rows being automatically deleted when a parent row is deleted.
Surrogate keys have much meaning for users.
When the parent entity is required, a new child row can always be inserted.
When transforming an entity-relationship model into a relational database design, each entity is represented as a table.
When the parent entity is required and the parent has a surrogate key, update actions can be ignored.
An ideal primary key is short, numeric and seldom changing.
Intersection tables are ID-dependent on both their parent tables.
The terms alternate key and candidate key mean the same thing.
When the child entity is required, we are restricted from creating a new parent row without also creating a corresponding child row at the same time.
(STREET ADDRESS, CITY, STATE, ZIP) is an ideal primary key.
1
2