Data Models into Database Designs Questions

Practice Data Models into Database Designs MCQs with answers and explanations. Page 1 of 2.

Category
Database
Topic
Data Models into Database Designs
Page
1 / 2
Mode
Practice

Questions

Open any question to view the answer and explanation.

ER Modeling Constraints — Covering Requirement for Ternary Relationships Which integrity constraint requires that the associated binary relationship(s) enumerate all combinations that must appear in a related ternary relationship (i.e., the ternary must be covered by the binaries)?
Open
View answer
In relational database design, what do we call a unique, DBMS-supplied identifier that is used as the primary key of a relation (table)?
Open
View answer
In entity–relationship modeling, for any given relationship between two entities, how many possible sets of minimum cardinalities exist across the pair?
Open
View answer
Which data constraint specifies that values in a column must come from a defined, specific set (that is, only allowed values are permitted)?
Open
View answer
In relational databases, what is a foreign key best described as?
Open
View answer
When enforcing minimum cardinalities in a relationship between two entities, how many distinct types of actions must be considered overall?
Open
View answer
Which column property in a relational table specifies whether cells must contain a value (that is, whether blanks are allowed)?
Open
View answer
Which column property would you use to require that a monetary amount in one column be less than another monetary amount in the same row (for example, discount_amount < total_amount)?
Open
View answer
Which column(s) is/are strictly required in a properly designed relational table from a logical modeling perspective?
Open
View answer
Which of the following statements is not true about surrogate keys in relational database design?
Open
View answer
In relational databases, if a relationship has a CASCADE UPDATE constraint, then if which key in the parent table is modified, the same change will automatically be made to all corresponding foreign key values in the child table?
Open
View answer
In relational database design, which column property should you choose to ensure that every cell in a column stores a monetary value (for example, prices in ₹ or $), with an appropriate numeric precision and scale?
Open
View answer
You need to ensure, within a single row of the same table, that the value in one column is always less than the value in another column (for example, start_amount < end_amount). Which type of data constraint best enforces this rule?
Open
View answer
You want every new row to automatically start with a monetary value of $10,000 in a particular column unless the insert specifies another value. Which column property sets this initial monetary value?
Open
View answer
During logical-to-physical mapping, the unique identifier of an entity in an ER model becomes which key in the relational table that represents that entity?
Open
View answer
In transforming an ER model to a relational schema, each entity type is typically represented as which relational structure?
Open
View answer
In data modeling, which situations typically require using ID-dependent (identifying) entities whose primary keys include the parent’s key?
Open
View answer
From a relational integrity perspective, how should a primary key be declared to ensure every row is uniquely and reliably identifiable?
Open
View answer
For a one-to-one (1:1) relationship between two tables, where should the foreign key be placed to implement the relationship in the relational schema?
Open
View answer
For a one-to-many (1:N) relationship between Parent and Child tables, where is the foreign key placed to enforce the relationship?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.