Você está na página 1de 21

Test Bank

Chapter Nine (Database Systems)

Multiple Choice Questions

1. Which of the following accesses a database in terms of a database


model?

A. Application software
B. Database management system
C. Actual database

ANSWER:

2. Which of the following describes only the portion of a database av


ailable to a particular user?

A. Database model
B. Schema
C. Subschema
D. DBMS

ANSWER:

3. Which of the following relational operations combine data from mo


re than one relation?

A. SELECT
B. PROJECT
C. JOIN

ANSWER:

4. Which of the following relational operations extracts entire column


s from a relation?

A. SELECT
B. PROJECT
C. JOIN

ANSWER:

5. Which of the following relational operations extracts entire rows fr


om a relation?

A. SELECT
B. PROJECT
C. JOIN

ANSWER:

6. Which of the following relational operations is performed by the S


QL statement below?

select A, B, C

from X

A. SELECT
B. PROJECT
C. JOIN

ANSWER:

7. Given the relation X below

X:
A
B
C

2
5
7

3
3
3

4
3
2

2
8

what value will be extracted by the following query?

TEMP

SELECT from X where B > C

RESULT

PROJECT A from TEMP

A.

B.

C.

D.

ANSWER:

8. Given the relation X below

X:
A
B
C

2
5
7

3
3
3

4
4
2

5
2
8

what value will be retrieved by the following query?

TEMP

SELECT from X where B = C

RESULT

PROJECT B from TEMP

A.

B.

C.

D.

ANSWER:

9. Given the relation below

X:
A
B
C

2
5
7

3
6

4
4
2

5
2
2

what values will be retrieved by the following SQL statement?

select A, B

from X

where X.B = X.C

A. 2, 5

B. 3, 6

C. 2, 2

D. 5, 2

ANSWER:

10. Given the two relations X and Y below

X:
A
B

Y:
C

7
s

t
3

2
z

r
2

what value would be retrieved by executing the following SQL statem


ent?

select Y.C

from X, Y

where X.A < Y.D

A. s

B. z

C. t

D. r

ANSWER:

11. Which of the following is not a potential problem caused by multip


le transactions manipulating a
database at the same time?

A. Lost update problem


B. Clustering
C. Deadlock
D. Incorrect summary problem

ANSWER:

12. Which of the following features within a DBMS is not provided to


maintain database integrity?

A. Concurrent transaction processing


B. Log

C. Locking protocol

D. Commit points

ANSWER:

13. Which of the following data mining techniques would be applied w


hen trying to identify traits that
characterize the citizens of a democracy who fail to vote?

A. Class description
B. Class discrimination

C. Cluster analysis

D. Association analysis

ANSWER:

14. Which of the following data mining techniques would be applied w


hen trying to identify traits that
predict whether a citizen in a democracy will or will not vote?

A. Class description
B. Class discrimination

C. Cluster analysis

D. Association analysis

ANSWER:

15. Which of the following data mining techniques would be applied w


hen trying to identify any
underlying heterogeneity within housing patterns in a community?

A. Class description
B. Class discrimination

C. Cluster analysis

D. Association analysis

ANSWER:

16. Which of the following data mining techniques would be applied w


hen trying to identify common
properties between different groups of shoppers?

A. Class description
B. Class discrimination

C. Cluster analysis

D. Association analysis

ANSWER:

17. Which of the following file structures is most efficient in cases in w


hich the file is always
processed in its entirety a predetermined order?

A. Sequential

B. Indexed

C. Hash

ANSWER:

18. Which of the following file structures is commonly used for the st
orage of text files?

A. Sequential

B. Indexed

C. Hash

ANSWER:

19. Which of the following file structures is associated with the proble
m of clustering?

A. Sequential

B. Indexed

C. Hash

ANSWER:

20. Which of the following file structures requires a small auxiliary s


torage system that must be
updated as entries in the file are inserted or deleted.

A. Sequential

B. Indexed

C. Hash

ANSWER: