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.

We can eliminate modification anomalies with proper normalization that results in tables in BCNF.

A. 1
B.
Answer» B.
2.

Denormalized tables are in BCNF.

A. 1
B.
Answer» C.
3.

Normalization requires programmers to write more complex SQL.

A. 1
B.
Answer» B.
4.

In all cases, normalization into BCNF is desirable.

A. 1
B.
Answer» C.
5.

We use the SQL construct COUNT(*) to count the number of rows in a table.

A. 1
B.
Answer» B.
6.

When building a database from an existing set of tables, we may safely assume that there are no multivalued dependencies in the data we are given.

A. 1
B.
Answer» C.
7.

One common design problem when designing a database from existing data is the presence of missing values, called blank values, in received data.

A. 1
B.
Answer» C.
8.

Proper normalization eliminates duplicated data.

A. 1
B.
Answer» C.
9.

When you are given a set of tables and asked to create a database to store their data, the first step is to create the new database.

A. 1
B.
Answer» C.
10.

The phrase "SALE.CNumber must exist in CUSTOMER.CNumber" is a referential integrity constraint.

A. 1
B.
Answer» B.
11.

One common design problem when designing a database from existing data is the presence of inconsistent values in the received data.

A. 1
B.
Answer» B.
12.

Multivalued dependencies create harmless anomalies that should be noted, but do not always need to be eliminated.

A. 1
B.
Answer» C.
13.

Needing to assess the validity of assumed referential integrity constraints on foreign keys is a(n) ________ of normalization.

A. advantage
B. disadvantage
C. either an advantage or disadvantage
D. neither an advantage nor disadvantage
Answer» E.
14.

We use the SQL construct COLUMNS(*) to determine the number and type of columns in a table.

A. 1
B.
Answer» C.
15.

For a number of reasons, normalizations is not often an advantage for a(n) ________ database.

A. read-only
B. updateable
C. either a read-only or an updateable
D. None of the above is correct.
Answer» B. updateable
16.

When assessing the table structure of an acquired set of tables with data, counting the number of table rows is (part of) the:

A. first step.
B. second step.
C. third step.
D. fourth step.
Answer» B. second step.
17.

When building a database from an existing set of tables, we still need to consider normalization principles.

A. 1
B.
Answer» B.
18.

One common design problem when designing a database from existing data is the use of a general-purpose remarks column in the received data.

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

Each answer below shows example data from a table. Which answer is an example of the multivalue, multicolumn problem?

A. Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
C. Three rows have the values Brown, NULL, and Blue in the same column.
D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
Answer» B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
20.

Each answer below shows example data from a table. Which answer is an example of the inconsistent values problem?

A. Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
C. Three rows have the values Brown, NULL, and Blue in the same column.
D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
Answer» C. Three rows have the values Brown, NULL, and Blue in the same column.
21.

If a table has been normalized so that all determinants are candidate keys, then that table is in:

A. 1NF.
B. 2NF.
C. 3NF.
D. BCNF.
Answer» E.
22.

The design guidelines and priorities for read-only databases are different because read-only databases are never updated.

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

Creating a read-only database is a task that is ________ assigned to beginning database professionals.

A. always
B. commonly
C. seldom
D. never
Answer» C. seldom
24.

We have normalized a table into BCNF if all candidate keys are determinants.

A. 1
B.
Answer» C.
25.

Most of the time, modification anomalies are serious enough that tables should be normalized into:

A. 1NF.
B. 2NF.
C. 3NF.
D. BCNF.
Answer» E.
26.

One common design problem when designing a database from existing data is the use of a single cell in one column to store multiple values of an attribute.

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

When assessing the table structure of an acquired set of tables with data, determining primary keys is (part of) the:

A. first step.
B. second step.
C. third step.
D. fourth step.
Answer» C. third step.
28.

Most of the time, modification anomalies cause problems that are severe enough that a table should be normalized into BCNF.

A. 1
B.
Answer» B.
29.

Normalization ________ data duplication.

A. eliminates
B. reduces
C. increases
D. maximizes
Answer» B. reduces
30.

When assessing the table structure of an acquired set of tables with data, determining functional dependencies is (part of) the:

A. first step.
B. second step.
C. third step.
D. fourth step.
Answer» C. third step.
31.

When assessing the table structure of an acquired set of tables with data, determining foreign keys is (part of) the:

A. first step.
B. second step.
C. third step.
D. fourth step.
Answer» C. third step.
32.

When assessing the table structure of an acquired set of tables with data, accessing the validity of possible referential integrity constraints on foreign keys is (part of) the:

A. first step.
B. second step.
C. third step.
D. fourth step.
Answer» D. fourth step.
33.

Read-only databases are ________ updated.

A. always
B. commonly
C. seldom
D. never
Answer» E.
34.

Multivalued dependencies should ________ be eliminated.

A. always
B. commonly
C. seldom
D. never
Answer» B. commonly
35.

Each answer below shows example data from a table. Which answer is an example of the missing values problem?

A. Three columns have the values 534-2435, 534-7867, and 546-2356 in the same row.
B. Three rows have the values Brown Small Chair, Small Chair Brown, and Small Brown Chair in the same column.
C. Three rows have the values Brown, NULL, and Blue in the same column.
D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
Answer» D. One row has the value "He is interested in a Silver Porsche from the years 1978-1988" in a column.
36.

When building a database from an existing set of tables, we may safely assume that referential integrity constraints have been enforced on the data we are given.

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

Eliminating modification anomalies is a(n) ________ of normalization.

A. advantage
B. disadvantage
C. either an advantage or disadvantage
D. neither an advantage nor disadvantage
Answer» B. disadvantage
38.

Needing to using more complicated SQL in database applications is a(n) ________ of normalization.

A. advantage
B. disadvantage
C. either an advantage or disadvantage
D. neither an advantage nor disadvantage
Answer» C. either an advantage or disadvantage