Deck 2: Database Management System DBMS: Part B
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/19
Play
Full screen (f)
Deck 2: Database Management System DBMS: Part B
1
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
A)SELECT
B)PROJECT
C)UNION
D)JOIN
PROJECT
2
Which of the following is not a procedural language?
A)Relational Algebra
B)SQL
C)Relational calculus
D)None of the above
A)Relational Algebra
B)SQL
C)Relational calculus
D)None of the above
Relational calculus
3
Who developed QBE?
A)C.J. Date
B)E.F. Codd
C)M.M. Zloof
D)None of the above
A)C.J. Date
B)E.F. Codd
C)M.M. Zloof
D)None of the above
M.M. Zloof
4
What is the expansion of QBE?
A)Query by Example
B)Query by Experiment
C)Question before evaluation
D)None of the above
A)Query by Example
B)Query by Experiment
C)Question before evaluation
D)None of the above
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
5
Who developed Structured English Query Language?
A)E.F. Codd
B)D. Chamberlain
C)Chris Date
D)None of the above
A)E.F. Codd
B)D. Chamberlain
C)Chris Date
D)None of the above
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following is IBM's first RDBMS?
A)DB2
B)IMS
C)SQL/DS
D)None of the above
A)DB2
B)IMS
C)SQL/DS
D)None of the above
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
7
The DBMS processes queries in three phases; the first is ____.
A)parsing
B)analyzing
C)execution
D)fetching
A)parsing
B)analyzing
C)execution
D)fetching
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
8
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
A)single processor
B)multiple processors
C)the slowest processor
D)the fastest processor
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
9
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
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
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
10
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
A)data caches
B)data spaces
C)table caches
D)table spaces
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
11
Database statistics are stored in the system catalog in specially designated ____.
A)indexes
B)rows
C)table spaces
D)Tables
A)indexes
B)rows
C)table spaces
D)Tables
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
12
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
A)the WHERE clause
B)functions
C)the GROUP BY clause
D)Indexes
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
13
The architecture of a DBMS is represented by the ____ and structures used to manage a database.
A)tables
B)queries
C)processes
D)Logs
A)tables
B)queries
C)processes
D)Logs
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
14
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
A)not having enough memory on the database server
B)poorly written SQL code
C)improper use of table space
D)old statistics
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
15
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
A)Supertype entity
B)Subtype entity
C)Archetype entity
D)Instance entity
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
16
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
A)Rollback
B)Rollforward
C)Switch to duplicate database
D)Reprocess transactions
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
17
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
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
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
18
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
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
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck
19
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
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
Unlock Deck
Unlock for access to all 19 flashcards in this deck.
Unlock Deck
k this deck