Data Models Into Database Designs(Database ) Questions and Answers
Question 1. Which of the following column properties specifies whether or not cells in a column must contain a data value?
Null status
Data type
Default value
Data constraints
Explanation:-
Answer: Option A. -> Null status
Question 2. Which of the following data constraints would be used to specify that the value of cells in a column must be one of a specific set of possible values?
A domain constraint
A range constraint
An intrarelation constraint
An interrelation constraint
Explanation:-
Answer: Option A. -> A domain constraint
Question 3. A primary key should be defined as:
NULL.
NOT NULL.
Either of the above can be used.
None of the above are correct.
Explanation:-
Answer: Option B. -> NOT NULL.
Question 4. In a 1:N relationship, the foreign key is placed in:
either table without specifying parent and child tables.
the parent table.
the child table.
either the parent table or the child table.
Explanation:-
Answer: Option C. -> the child table.
Question 5. Which of the following column properties would be used to specify that cells in a column must contain a monetary value?
Null status
Data type
Default value
Data constraints
Explanation:-
Answer: Option B. -> Data type
Question 6. The identifier of an entity will become the ________ of the new table.
foreign key
main attribute
primary key
identity key
Explanation:-
Answer: Option C. -> primary key
Question 7. For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?
Two
Three
Four
Six
Explanation:-
Answer: Option D. -> Six
Question 8. Which of the following data constraints would be used to specify that the value of a cell in one column must be less than the value of a cell in another column in the same row of the same table?
A domain constraint
A range constraint
An intrarelation constraint
An interrelation constraint
Explanation:-
Answer: Option C. -> An intrarelation constraint
Question 9. A unique, DBMS-supplied identifier used as the primary key of a relation is called a(n):
primary key.
foreign key.
composite key.
surrogate key.
Explanation:-
Answer: Option D. -> surrogate key.
Question 10. Which is not true about surrogate keys?
They are short.
They are fixed.
They have meaning to the user.
They are numeric.
Explanation:-
Answer: Option C. -> They have meaning to the user.