Database Management Systems
Questions 351 to 360
Which of the following are the
indices based on the uniform distribution of values across a range of
buckets?
(a)
Hash indices (b)
Ordered indices
(c)
Primary indices (d)
Dense indices
(e)
Sparse indices.
|
|
Which of the following statements is/are false with regard to indices?
(a) Sparse index appears for only some of the
search key values
(b) Primary indices are also called clustering
indices
(c) Secondary indices can be sparse
(d) Multilevel indices are created if the
search time to find an entry is very low
(e) Both (c) and (d) false.
|
|
Which of the following gives the
state of the transaction after the final statement has been executed?
(a)
Active (b)
Partially committed
(c)
Failed (d)
Aborted (e)
Committed.
|
|
The syntax of the users query is verified by the
(a)
Parser (b)
The database manager
(c)
Query optimizer (d)
Database administrator
(e)
Programmer.
|
|
Which of the following are
introduced to reduce the overheads caused by the log-based recovery?
(a)
Checkpoints (b) Indices (c) Deadlocks (d) Locks (e) Keys.
|
|
Which of the following protocols ensures conflict
serializability and safety from deadlocks?
(a)
Two-phase locking protocol (b)
Time-stamp ordering protocol
(c)
Graph based protocol (d)
Both (a) and (b) above
(e)
Both (b) and (c) above.
|
|
Which of the following is the block that is not permitted to be written back to
the disk?
(a)
Dead code (b) Read only (c) Pinned (d) Zapped (e)
Restricted.
|
|
If transaction Ti gets an explicit lock on the
file Fc in exclusive mode, then it has an
__________ on all the records belonging to that file.
(a)
Explicit lock in exclusive mode (b)
Implicit lock in shared mode
(c)
Explicit lock in shared mode. (d)
Implicit lock in exclusive mode.
(e)
Implicit lock in implicit mode.
|
|
The schemes Wait-die and wound-wait are used for?
(a)
Deadlock prevention (b)
Deadlock detection
(c)
Deadlock recovery (d) Deadlock creation
(e)
Deadlock obstruction.
|
|
Which of the following is a stored procedure that Oracle
automatically fires under appropriate conditions?
(a)
Assertion (b)
Constraint (c)
Function
(d)
Recursive function (e)
Trigger.
|
Answers
Answer : (a)
Reason
: The indices based on the uniform
distribution of values across a range of buckets are called hash indices.
|
|
Answer : (e)
Reason : Secondary
indices can only be dense; multilevel
indices are created if the search time to find an entry is very high. So both
c and d are false.
|
|
Answer : (b)
Reason
: The state of the transaction after
the final statement has been executed is partially active.
|
|
Answer : (a)
Reason
: The syntax of the users query is
verified by the Parser.
|
|
Answer : (a)
Reason
: Checkpoints are introduced to reduce
overheads caused by the log-based recovery.
|
|
Answer : (b)
Reason : Time-stamp
ordering protocol ensures conflict serializability and safety from deadlocks.
|
|
Answer : (c)
Reason : A block
that is not permitted to be written back to the disk is called pinned.
|
|
Answer : (d)
Reason : If
transaction Ti gets an explicit lock on the file Fc in
exclusive mode, then it has an implicit lock in exclusive mode on all the
records belonging to that file.
|
|
Answer : (a)
Reason : Wait-die
and wound-wait schemes are the schemes form deadlock prevention.
|
|
Answer : (e)
Reason : Triggers
are the procedures in Oracle fired implicitly under appropriate conditions.
|
A wise man can learn more from a foolish question than a fool can learn from a wise answer. See the link below for more info.
ReplyDelete#question
www.ufgop.org
Did you know that you can make money by locking selected pages of your blog / website?
ReplyDeleteSimply join CPALead and embed their Content Locking tool.