Explore topic-wise MCQs in Database.

This section includes 32 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 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. True
B. False
Answer» C.
2.

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

A. True
B. False
Answer» C.
3.

Proper normalization eliminates duplicated data.%!

A. True
B. False
Answer» C.
4.

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

A. True
B. False
Answer» C.
5.

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

A. True
B. False
Answer» B. False
6.

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. True
B. False
Answer» C.
7.

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

A. True
B. False
Answer» B. False
8.

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

A. True
B. False
Answer» C.
9.

Normalization requires programmers to write more complex SQL.%!

A. True
B. False
Answer» B. False
10.

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

A. True
B. False
Answer» B. False
11.

Denormalized tables are in BCNF.%!

A. True
B. False
Answer» C.
12.

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

A. True
B. False
Answer» B. False
13.

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

A. True
B. False
Answer» C.
14.

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

A. True
B. False
Answer» B. False
15.

In all cases, normalization into BCNF is desirable.%!

A. True
B. False
Answer» C.
16.

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

A. True
B. False
Answer» B. False
17.

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. True
B. False
Answer» B. False
18.

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

A. True
B. False
Answer» B. False
19.

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. True
B. False
Answer» C.
20.

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. True
B. False
Answer» C.
21.

*/*_Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following problems??

A. The multivalue, multicolumn problem
B. The inconsistent values problem
C. The missing values problem
D. The general-purpose remarks column problem
Answer» C. The missing values problem
22.

*/*_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.
23.

*/*_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.
24.

*/*_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.
25.

_ 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.
26.

_ Normalization ________ data duplication.$?

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

_ 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.
28.

_ 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
29.

_Multivalued dependencies should ________ be eliminated.$?

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

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.
31.

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.
32.

Each answer below shows example data from a table. Which answer is an example of the general-purpose remarks column 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» E.