Sei sulla pagina 1di 18

QUESTION 1

If the primary key of a table is clumsy because it has too many attributes and is replaced by a new, single
attribute key, ____.

a. it becomes the new primary key of its own tablein

b. it should replace the old primary key where it was used as a foreign key for one-to-many relationships

c. it should replace the old primary key where it was used as a foreign key for many-to-many
relationships

d. All of the above.

e. None of the above.

4 points
QUESTION 2

Denormalization can improve the ____.

a. performance of the database by reducing the number of join operations

b. integrity of the database by reducing the amount of redundant data

c. accuracy of the database by reducing the number of repeating groups

d. All of the above.

e. None of the above.

4 points
QUESTION 3

Taking application priorities into account in physical database design is important because ____.

a. a modification to a table that s designed to help the performance of one application may hinder the
performance of another application

b. application priorities determine the relative status and rank of the application owners in the
organization

c. the current priority of an application can affect database performance in the future

d. All of the above.

e. None of the above.

4 points
QUESTION 4

In terms of time, rotational delay in a disk device takes on average roughly _____.

a. no time

b. one quarter of a revolution

c. one half of a revolution

d. one revolution

e. two revolutions

4 points
QUESTION 5

Application data requirements that enter into the physical database design process include ____.

a. the number of applications that will share particular database tables

b. the frequency with which applications that utilize particular tables are run

c. whether or not particular applications require that tables be joined

d. All of the above.

e. None of the above.

4 points
QUESTION 6

In a magnetic disk device, the reason for storing data on a cylinder-wise basis is _____.

a. to avoid scratching the recording surfaces which would result in lost data

b. because more data can fit on a cylinder than on a recording surface

c. to minimize access arm movement in order to improve performance

d. because cylinders are the most stable of the disk device features

e. to be able to store the maximum amount of data on the disk device

4 points
QUESTION 7

All of the following are factors affecting application and database performance, except ____.

a. the length of attribute names

b. large data volumes

c. the number of data access operations

d. the need for joins

e. related data dispersed on the disk

4 points
QUESTION 8

In the clustering files physical database design technique, ____ are clustered near each other on a disk.

a. the records of a table

b. the records of a table with common values of a particular attribute

c. the columns of a table that are indexed

d. the columns of a table that are located next to each other

e. related records from different tables

4 points
QUESTION 9

Which of the following is true regarding indexed sequential files and B+-trees?

a. A B+-tree indexed file is an indexed sequential file.

b. A B+-tree indexed file can never be an indexed sequential file.

c. Only a file with a simple linear index can be an indexed sequential file.

d. All indexed files are indexed-sequential files.

e. An indexed sequential file requires a hashing algorithm.

4 points
QUESTION 10

In terms of performance, there is no point in indexing a table if ____.

a. several of its attributes are not used as search fields

b. the number of rows of the table is very large

c. the number of rows of the table is very small

d. the number of columns of the table is fairly large

e. the number of columns of the table is fairly small

4 points
QUESTION 11

The advantage of using the substituting foreign keys physical database design technique is that it is
designed to ____.

a. reduce the number of joins

b. reduce the number of indexes

c. reduce the number of attributes in large, clumsy keys

d. All of the above.

e. None of the above.

4 points
QUESTION 12

Which of the following is true regarding hashed files?

a. The hashing algorithm may direct more than one record to the same location.

b. The number of record storage locations allocated is typically much fewer than the maximum number
possible based on the range of values of the key field.

c. The same hashing algorithm is used for both record insertions and record retrievals.

d. All of the above.

e. None of the above.

4 points
QUESTION 13

Which of the following is a potential problem caused by adding too many indexes to a relational
database?

a. Too many indexes can slow the performance of the database when there is a large amount of direct
retrieval activity.

b. Updating the indexes when the data is updated can slow down queries executing at the same time.

c. Maintaining the security of the database can be adversely affected by the presence of a large number
of indexes.

d. All of the above.

e. None of the above.

4 points
QUESTION 14

In the adding new tables physical database design technique ____.

a. subsets of the most heavily accessed portions of existing tables can be copied and created as new
tables

b. entire tables can be copied and new tables created

c. data redundancy across tables is traded-off against improved performance

d. All of the above.

e. None of the above.

4 points
QUESTION 15

Consider Table A on the one side of a one-to-many relationship and Table B on the many side of the
relationship. In the storing derived data physical database design technique, the best place to store the
derived data from Table B is ____.

a. in a new column in Table A

b. in a new column in Table B

c. in a new record type in Table A

d. in a new record type in Table B

e. None of the above.

4 points
QUESTION 16

Attributes in object classes in a generalization/specialization relationship ____.

a. cannot be inherited from one class to another

b. can be inherited from the general class to the specialized classes

c. can be inherited from the specialized classes to the general class

d. can be inherited from one specialized class to another specialized class

e. can be inherited from one general class to another general class

4 points
QUESTION 17

The term for the relationship that recognizes that some kinds of entities can really be subdivided into
smaller, more specific groups is ____.

a. generalization/specialization

b. aggregation

c. binary one-to-many

d. binary many-to-many

e. polymorphism

4 points
QUESTION 18

In the object-oriented concept, abstract data types ____.

a. can include simple numeric and alphabetic data types

b. cannot exist they are strictly part of the relational concept

c. can have operations associated with them

d. are a disaster recovery feature

e. can only be implemented if the DBMS is of the object/relational type

4 points
QUESTION 19

All of the following are true about encapsulation, except ____.

a. it is designed to improve data integrity

b. it prevents application code outside of the encapsulated object from modifying the object s data

c. a message from an application program can trigger an encapsulated object

d. operations are stored in the database together with the data they operate on

e. objects can only be encapsulated if they are in an aggregation relationship

4 points
QUESTION 20

In a generalization/specialization relationship ____.

a. attributes can be inherited but operations cannot be inherited

b. operations can be inherited but attributes cannot be inherited

c. both attributes and operations can be inherited

d. neither attributes nor operations can be inherited

e. attributes can only be inherited if they are aggregated

4 points
QUESTION 21

The object classes in a generalization/specialization relationship are arranged in a ____.

a. row

b. string

c. hierarchy

d. closed loop

e. linked list

4 points
QUESTION 22

The objects that describe similar entities are known collectively as a(n) ____.

a. file

b. class

c. UML diagram

d. OODBMS

e. operation

4 points
QUESTION 23

An object/relational DBMS is essentially ____.

a. an environment in which separate relational and object-oriented DBMSs pass data to each other

b. a legacy DBMS

c. an advanced research concept that is not as yet commercially viable

d. an object-oriented DBMS with relational features

e. a relational DBMS with object-oriented features

4 points
QUESTION 24

An object ____.

a. is the same thing as an entity

b. is a method or operation that acts on stored data

c. includes an entity s attributes plus methods or operations which can operate on the attribute values

d. is a rectangular box in an entity-relationship diagram

e. is a descriptive characteristic of a person, thing, or event in the business environment

4 points
QUESTION 25

The modification or refinement of operations as they are inherited downwards in a


generalization/specialization relationship is called ____.

a. polygraphism

b. polygenesism

c. polytrophism

d. polychromism

e. polymorphism