Explore topic-wise MCQs in Database.

This section includes 38 Mcqs, each offering curated multiple-choice questions to sharpen your Database knowledge and support exam preparation. Choose a topic below to get started.

1.

When the parent entity is required and the parent has a surrogate key, update actions can be ignored.

A. 1
B.
Answer» B.
2.

Intersection tables are ID-dependent on both their parent tables.

A. 1
B.
Answer» B.
3.

When transforming an entity-relationship model into a relational database design, each entity is represented as a table.

A. 1
B.
Answer» B.
4.

Surrogate keys have much meaning for users.

A. 1
B.
Answer» C.
5.

Cascading updates refers to child rows being automatically deleted when a parent row is deleted.

A. 1
B.
Answer» C.
6.

An intersection table is required to represent M:N relationships.

A. 1
B.
Answer» B.
7.

When the parent entity is required, a new parent row can always be inserted.

A. 1
B.
Answer» B.
8.

For every relationship, there are six possible referential integrity actions.

A. 1
B.
Answer» B.
9.

All primary keys are required.

A. 1
B.
Answer» B.
10.

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.

A. 1
B.
Answer» B.
11.

For every relationship, there are six possible sets of minimum cardinalities.

A. 1
B.
Answer» C.
12.

An ideal primary key is short, numeric and seldom changing.

A. 1
B.
Answer» B.
13.

When the parent entity is required, cascading updates and cascading deletions should be allowed or the associated actions on the parent should be prohibited.

A. 1
B.
Answer» B.
14.

The terms alternate key and candidate key mean the same thing.

A. 1
B.
Answer» B.
15.

A unique, DBMS-supplied identifier used as the primary key of a relation is called a(n):

A. primary key.
B. foreign key.
C. composite key.
D. surrogate key.
Answer» E.
16.

Which of the following column properties would be used to specify that cells in a column must contain a monetary value that is less than another monetary value in the same row?

A. Null status
B. Data type
C. Default value
D. Data constraints
Answer» E.
17.

In a 1:1 relationship, the foreign key is placed in:

A. either table without specifying parent and child tables.
B. the parent table.
C. the child table.
D. either the parent table or the child table.
Answer» B. the parent table.
18.

Which of the following columns is(are) are required in a table?

A. A foreign key
B. An alternate key
C. A primary key
D. A surrogate key.
Answer» D. A surrogate key.
19.

(STREET ADDRESS, CITY, STATE, ZIP) is an ideal primary key.

A. 1
B.
C. 1
D.
Answer» C. 1
20.

If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.

A. the primary key
B. any alternate key
C. a surrogate key
D. a foreign key
Answer» B. any alternate key
21.

Which of the following column properties would be used to specify that cells in a column must be immediately filled with a monetary value of $10,000?

A. Null status
B. Data type
C. Default value
D. Data constraints
Answer» D. Data constraints
22.

A foreign key is:

A. a column containing the primary key of another table.
B. used to define data types.
C. used to define null status.
D. all of the above are above correct.
Answer» B. used to define data types.
23.

The DBMS allows surrogate keys to be changed.

A. 1
B.
C. 1
D.
Answer» C. 1
24.

In 1:N relationships, which entity becomes the parent entity is arbitrary.

A. 1
B.
Answer» C.
25.

For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?

A. Two
B. Three
C. Four
D. Six
Answer» E.
26.

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. A domain constraint
B. A range constraint
C. An intrarelation constraint
D. An interrelation constraint
Answer» D. An interrelation constraint
27.

Each entity is represented as a(n):

A. tuple.
B. table.
C. attribute.
D. file.
Answer» C. attribute.
28.

Which is not true about surrogate keys?

A. They are short.
B. They are fixed.
C. They have meaning to the user.
D. They are numeric.
Answer» D. They are numeric.
29.

When the parent entity is required, a new child row can always be inserted.

A. 1
B.
C. 1
D.
Answer» C. 1
30.

In a 1:1 relationship, the primary key placement is arbitrary.

A. 1
B.
Answer» B.
31.

For every relationship, how many possible sets of minimum cardinalities are there?

A. Two
B. Three
C. Four
D. Six
Answer» D. Six
32.

The identifier of an entity will become the ________ of the new table.

A. foreign key
B. main attribute
C. primary key
D. identity key
Answer» D. identity key
33.

In a 1:N relationship, the foreign key is placed in:

A. either table without specifying parent and child tables.
B. the parent table.
C. the child table.
D. either the parent table or the child table.
Answer» D. either the parent table or the child table.
34.

A foreign key is used to implement relationships between tables.

A. 1
B.
C. 1
D.
Answer» B.
35.

Which of the following situation requires the use of ID-dependent entities?

A. Association relationships only
B. Multivalued attributes only
C. Archetype/instance relationships only
D. All of the above use ID dependent entities
Answer» E.
36.

Which of the following column properties specifies whether or not cells in a column must contain a data value?

A. Null status
B. Data type
C. Default value
D. Data constraints
Answer» B. Data type
37.

A primary key should be defined as:

A. NULL.
B. NOT NULL.
C. Either of the above can be used.
D. None of the above are correct.
Answer» C. Either of the above can be used.
38.

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. A domain constraint
B. A range constraint
C. An intrarelation constraint
D. An interrelation constraint
Answer» B. A range constraint