MCQOPTIONS
Saved Bookmarks
This section includes 1033 Mcqs, each offering curated multiple-choice questions to sharpen your Engineering knowledge and support exam preparation. Choose a topic below to get started.
| 1001. |
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 | |
| 1002. |
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. | |
| 1003. |
Normalization requires programmers to write more complex SQL. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1004. |
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 | |
| 1005. |
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. | |
| 1006. |
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 | |
| 1007. |
We use the SQL construct COUNT(*) to count the number of rows in a table. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1008. |
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. | |
| 1009. |
Each index consumes extra storage space and also requires overhead maintenance time whenever indexed data change value. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1010. |
The phrase "SALE.CNumber must exist in CUSTOMER.CNumber" is a referential integrity constraint. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1011. |
Indexes can usually be created for both primary and secondary keys. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1012. |
The HAVING clause acts like a WHERE clause, but it identifies groups that meet a criterion, rather than rows. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1013. |
SQL is a data sublanguage. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1014. |
The qualifier DISTINCT must be used in an SQL statement when we want to eliminate duplicate rows. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1015. |
The result of every SQL query is a table. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1016. |
COUNT(field_name) tallies only those rows that contain a value; it ignores all null values. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1017. |
SUM, AVG, MIN, and MAX can only be used with numeric columns. |
| A. | True |
| B. | False |
| Answer» C. | |
| 1018. |
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. | |
| 1019. |
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 | |
| 1020. |
When building a database from an existing set of tables, we still need to consider normalization principles. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1021. |
We have normalized a table into BCNF if all candidate keys are determinants. |
| A. | True |
| B. | False |
| Answer» C. | |
| 1022. |
The condition in a WHERE clause can refer to only one value. |
| A. | True |
| B. | False |
| Answer» C. | |
| 1023. |
We use the SQL construct COLUMNS(*) to determine the number and type of columns in a table. |
| A. | True |
| B. | False |
| Answer» C. | |
| 1024. |
The ADD command is used to enter one row of data or to add multiple rows as a result of a query. |
| A. | True |
| B. | False |
| Answer» C. | |
| 1025. |
SQL provides the AS keyword, which can be used to assign meaningful column names to the results of queries using the SQL built-in functions. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1026. |
The SELECT command, with its various clauses, allows users to query the data contained in the tables and ask many different questions or ad hoc queries. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 1027. |
A SELECT statement within another SELECT statement and enclosed in square brackets ([...]) is called a subquery. |
| A. | True |
| B. | False |
| Answer» C. | |
| 1028. |
The SQL keyword(s) ________ is used with wildcards. |
| A. | LIKE only |
| B. | IN only |
| C. | NOT IN only |
| D. | IN and NOT IN |
| Answer» B. IN only | |
| 1029. |
A subquery in an SQL SELECT statement is enclosed in: |
| A. | braces -- {...}. |
| B. | CAPITAL LETTERS. |
| C. | parenthesis -- (...) . |
| D. | brackets -- [...]. |
| Answer» D. brackets -- [...]. | |
| 1030. |
To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be included. |
| A. | ONLY |
| B. | UNIQUE |
| C. | DISTINCT |
| D. | SINGLE |
| Answer» D. SINGLE | |
| 1031. |
SQL query and modification commands make up a(n) ________ . |
| A. | DDL |
| B. | DML |
| C. | HTML |
| D. | XML |
| Answer» C. HTML | |
| 1032. |
Multivalued dependencies should ________ be eliminated. |
| A. | always |
| B. | commonly |
| C. | seldom |
| D. | never |
| Answer» B. commonly | |
| 1033. |
Multivalued dependencies create harmless anomalies that should be noted, but do not always need to be eliminated. |
| A. | True |
| B. | False |
| Answer» C. | |