148
87.7k
Chapter:

20+ Unit 4 Solved MCQs

in Advanced Database Management Systems (ADBMS)

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Master of Computer Applications (MCA) .

Chapters

Chapter: Unit 4
1.

A distributed database has which of the following advantages over a centralized database?

A. Software cost
B. Software complexity
C. Slow Response
D. Modular growth
Answer» D. Modular growth
2.

An autonomous homogenous environment is which of the following?

A. The same DBMS is at each node and each DBMS works independently.
B. The same DBMS is at each node and a central DBMS coordinates database access.
C. A different DBMS is at each node and each DBMS works independently.
D. A different DBMS is at each node and a central DBMS coordinates database access.
Answer» A. The same DBMS is at each node and each DBMS works independently.
3.

A transaction manager is which of the following?

A. Maintains a log of transactions
B. Maintains before and after database images
C. Maintains appropriate concurrency control
D. All of the above
Answer» D. All of the above
4.

Location transparency allows for which of the following?

A. Users to treat the data as if it is at one location
B. Programmers to treat the data as if it is at one location
C. Managers to treat the data as if it is at one location
D. All of the above.
Answer» D. All of the above.
5.

A heterogeneous distributed database is which of the following?

A. The same DBMS is used at each location and data are not distributed across all nodes.
B. The same DBMS is used at each location and data are distributed across all nodes.
C. A different DBMS is used at each location and data are not distributed across all nodes.
D. A different DBMS is used at each location and data are distributed across all nodes.
Answer» D. A different DBMS is used at each location and data are distributed across all nodes.
6.

Some of the columns of a relation are at different sites is which of the following?

A. Data Replication
B. Horizontal Partitioning
C. Vertical Partitioning
D. Horizontal and Vertical Partitioning
Answer» C. Vertical Partitioning
7.

Which of the following is true concerning a global transaction?

A. The required data are at one local site and the distributed DBMS routes requests as necessary.
B. The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
C. The required data are at one local site and the distributed DBMS passes the request to only the local DBMS.
D. The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS
Answer» B. The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
8.

A homogenous distributed database is which of the following?

A. The same DBMS is used at each location and data are not distributed across all nodes.
B. The same DBMS is used at each location and data are distributed across all nodes.
C. A different DBMS is used at each location and data are not distributed across all nodes.
D. A different DBMS is used at each location and data are distributed across all nodes.
Answer» B. The same DBMS is used at each location and data are distributed across all nodes.
9.

Replication should be used when which of the following exist?

A. When transmission speeds and capacity in a network prohibit frequent refreshing of large tables.
B. When using many nodes with different operating systems and DBMSs and database designs.
C. The application's data can be somewhat out-of-date.
D. All of the above.
Answer» C. The application's data can be somewhat out-of-date.
10.

Storing a separate copy of the database at multiple locations is which of the following?

A. Data Replication
B. Horizontal Partitioning
C. Vertical Partitioning
D. Horizontal and Vertical Partitioning
Answer» A. Data Replication
11.

A distributed database is which of the following?

A. A single logical database that is spread to multiple locations and is interconnected by a network
B. A loose collection of file that is spread to multiple locations and is interconnected by a network
C. A single logical database that is limited to one location.
D. A loose collection of file that is limited to one location.
Answer» A. A single logical database that is spread to multiple locations and is interconnected by a network
12.

A semijoin is which of the following?

A. Only the joining attributes are sent from one site to another and then all of the rows are returned.
B. All of the attributes are sent from one site to another and then only the required rows are returned.
C. Only the joining attributes are sent from one site to another and then only the required rows are return
Answer» C. Only the joining attributes are sent from one site to another and then only the required rows are return
13.

Which of the following is a disadvantage of replication?

A. Reduced network traffic
B. If the database fails at one site, a copy can be located at another site.
C. Each site must have the same storage capacity.
D. Each transaction may proceed without coordination across the network.
Answer» C. Each site must have the same storage capacity.
14.

A distributed database can use which of the following strategies?

A. Totally centralized at one location and accessed by many sites
B. Partially or totally replicated across sites
C. Partitioned into segments at different sites
D. All of the above
Answer» D. All of the above
15.

Which of the following is not one of the stages in the evolution of distributed DBMS?

A. Unit of work
B. Remote unit of work
C. Distributed unit of Work
D. Distributed request
Answer» A. Unit of work
16.

A distributed database has which of the following advantages over a centralized database?

A. Software cost
B. Software complexity
C. Slow Response
D. Modular growth
Answer» D. Modular growth
17.

Which of the following is true concerning a global transaction?

A. The required data are at one local site and the distributed DBMS routes requests as necessary.
B. The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
C. The required data are at one local site and the distributed DBMS passes the request to only the local DBMS.
D. The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS.
Answer» B. The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
18.

A transaction manager is which of the following?

A. Maintains a log of transactions
B. Maintains before and after database images
C. Maintains appropriate concurrency control
D. All of the above.
Answer» D. All of the above.
19.

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» B. The inconsistent values problem
20.

What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

A. ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
B. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
C. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade> 0);
D. None of the above is correct.
Answer» C. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade> 0);
21.

The NOT EXISTS keyword will be true if:

A. any row in the subquery meets the condition.
B. all rows in the subquery fail the condition.
C. both of these two conditions are met.
D. neither of these two conditions is met.
Answer» B. all rows in the subquery fail the condition.
22.

Changing cardinalities in a database is:

A. a common database design task.
B. a rare database design task, but does occur.
C. a database design task that never occurs.
D. is impossible to do, so a new database must be constructed and the data moved into it.
Answer» A. a common database design task.
23.

Which one of the following sorts rows in SQL?

A. SORT BY
B. ALIGN BY
C. ORDER BY
D. GROUP BY
Answer» C. ORDER BY
24.

The SQL keyword(s) ________ is used with wildcards.

A. LIKE only
B. IN only
C. NOT IN only
D. IN and NOT IN
Answer» A. LIKE only
25.

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» A. the primary key
26.

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

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

In creating a procedure, you may get a message if you have compile errors. Which of the following is true?

A. The line numbers reported match the line numbers you see in your text editor.
B. SQL*Plus will automatically show the errors to you.
C. To see the errors, enter SHOW ERRORS in SQL*Plus.
D. If there are no syntax errors, you will receive the message "NO ERRORS."
Answer» C. To see the errors, enter SHOW ERRORS in SQL*Plus.
28.

Which of the following is not true about indexes?

A. Indexes are created to enforce uniqueness on columns.
B. Indexes are created to enable fast retrieval by column values.
C. Columns that are frequently used with equal conditions in WHERE clauses are good candidates for indexes.
D. Indexes are created with the ALTER TABLE command.
Answer» D. Indexes are created with the ALTER TABLE command.

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.