155
93.9k

150+ Advanced Database Management Systems (ADBMS) Solved MCQs

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 3
101.

Which of the following is the operation that is used if we are interested in only certain attributes or columns of a table?

A. SELECT
B. PROJECT
C. UNION
D. JOIN
Answer» B. PROJECT
102.

Which of the following is not a procedural language?

A. Relational Algebra
B. SQL
C. Relational calculus
D. None of the above
Answer» C. Relational calculus
103.

Who developed QBE?

A. C.J. Date
B. E.F. Codd
C. M.M. Zloof
D. None of the above
Answer» C. M.M. Zloof
104.

What is the expansion of QBE?

A. Query by Example
B. Query by Experiment
C. Question before evaluation
D. None of the above
Answer» A. Query by Example
105.

Who developed Structured English Query Language?

A. E.F. Codd
B. D. Chamberlain
C. Chris Date
D. None of the above
Answer» B. D. Chamberlain
106.

Which of the following is the first commercial RDBMS?

A. DB2
B. INGRESS
C. ORACLE
D. None of the above
Answer» D. None of the above
107.

Which of the following is IBM’s first RDBMS?

A. DB2
B. IMS
C. SQL/DS
D. None of the above
Answer» C. SQL/DS
108.

The ____ is used as a temporary storage area for ORDER BY or GROUP BY operations, as well as for index-creation functions.

A. sort cache
B. SQL cache
C. data cache
D. optimizer mode
Answer» A. sort cache
109.

The DBMS processes queries in three phases; the first is ____.

A. parsing
B. analyzing
C. execution
D. fetching
Answer» A. parsing
110.

Generally, what will provide the best database client performance in terms of CPU speed?

A. single processor
B. multiple processors
C. the slowest processor
D. the fastest processor
Answer» D. the fastest processor
111.

Working with data in the data cache is many times faster than working with data in the data files because ____.

A. there is no network access involved
B. the DBMS doesn't have to wait for the hard disk to retrieve the data
C. the DBMS can optimize queries against the cache
D. the data cache contains only a few records from each table
Answer» B. the DBMS doesn't have to wait for the hard disk to retrieve the data
112.

When creating a database, in order to optimize performance, put high-usage tables in their own ____.

A. data caches
B. data spaces
C. table caches
D. table spaces
Answer» D. table spaces
113.

Database statistics are stored in the system catalog in specially designated ____.

A. indexes
B. rows
C. table spaces
D. Tables
Answer» D. Tables
114.

To optimize queries, use simple columns or literals as operands in a conditional expression and avoid the use of conditional expressions with ____ whenever possible.

A. the WHERE clause
B. functions
C. the GROUP BY clause
D. Indexes
Answer» B. functions
115.

The architecture of a DBMS is represented by the ____ and structures used to manage a database.

A. tables
B. queries
C. processes
D. Logs
Answer» C. processes
116.

The ____ is a shared, reserved memory area that stores the most recently accessed data blocks in RAM.

A. table space
B. extends
C. data cache
D. SQL cache
Answer» C. data cache
117.

Index ____ is a measure of how likely an index will be used in query processing.

A. statistics
B. connectivity
C. sparsity
D. selectivity
Answer» D. selectivity
118.

A(n) ____ is a logical grouping of several data files that store data with similar characteristics.

A. table space
B. extends
C. data cache
D. SQL cache
Answer» A. table space
119.

The majority of current database performance problems are related to ____.

A. not having enough memory on the database server
B. poorly written SQL code
C. improper use of table space
D. old statistics
Answer» B. poorly written SQL code
120.

Which type of entity represents a logical generalization whose actual occurrence is represented by a second, associated entity?

A. Supertype entity
B. Subtype entity
C. Archetype entity
D. Instance entity
Answer» C. Archetype entity
121.

Which of the following is the preferred way to recover a database after a transaction in progress terminates abnormally?

A. Rollback
B. Rollforward
C. Switch to duplicate database
D. Reprocess transactions
Answer» A. Rollback
122.

Concurrency control is important for which of the following reasons?

A. To ensure data integrity when updates occur to the database in a multiuser environment
B. To ensure data integrity when updates occur to the database in a single-user environment
C. To ensure data integrity while reading data occurs to the database in a multiuser environment
D. To ensure data integrity while reading data occurs to the database in a single-user environment
Answer» A. To ensure data integrity when updates occur to the database in a multiuser environment
123.

The transaction log includes which of the following?

A. The before-image of a record
B. The after-image of a record
C. The before and after-image of a record
D. The essential data of the record
Answer» D. The essential data of the record
124.

Which of the following is not true of SQL views?

A. Oracle views cannot use the ORDER BY clause in view definitions.
B. Oracle views are created using the standard SQL-92 CREATE VIEW command.
C. Oracle views can by queri
Answer» A. Oracle views cannot use the ORDER BY clause in view definitions.
125.

Which of the following is NOT an Oracle-supported trigger?

A. BEFORE
B. DURING
C. AFTER
D. INSTEAD OF
Answer» B. DURING
126.

What is the type of Oracle backup in which all uncommitted changes have been removed from the datafiles?

A. Full backup
B. Consistent backup
C. Inconsistent backup
D. Differential backup
Answer» B. Consistent backup
127.

Which of the following is true concerning a procedure?

A. You do not create them with SQL.
B. They do not need to have a unique name.
C. They include procedural and SQL statements.
D. They are the same thing as a function.
Answer» C. They include procedural and SQL statements.
128.

A CASE SQL statement is which of the following?

A. A way to establish an IF-THEN-ELSE in SQL.
B. A way to establish a loop in SQL.
C. A way to establish a data definition in SQL.
D. All of the above.
Answer» A. A way to establish an IF-THEN-ELSE in SQL.
129.

Which of the following statements is true concerning routines and triggers?

A. Both consist of procedural code.
B. Both have to be called to operate.
C. Both run automatically.
D. Both are stored in the database.
Answer» A. Both consist of procedural code.
Chapter: Unit 4
130.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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);
150.

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.

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.