Database Management System
Questions 201 to 210
| 
201. | 
The
  file organization which allows us to read records that would satisfy the join
  condition by using one block read is 
 | ||||||||||
| 
Which
  of the following is true with
  respect to the B+ tree index method? 
 | |||||||||||
| 
Which
  of the following lock prevents the use of any tables in the database from one
  transaction while another transaction is being processed? 
 | |||||||||||
| 
Which
  of the following is not an ACID
  property? 
 | |||||||||||
| 
What
  is the result of the following query? 
  SELECT FLOOR(3.6) FROM DUAL?  
 | |||||||||||
| 
Which
  of the following statement(s) is/are true
  for two-phase locking?  
I.     Lock
  acquisition is the second phase 
II.     Locks
  can be acquired at any time 
III.    Keys
  are acquired in the first phase 
IV.   Locks
  can only be acquired on primary keys 
 | |||||||||||
| 
The
  means that data used during the execution of a transaction cannot be used by
  a second transaction until the first one is completed is called  
 | |||||||||||
| 
What
  is the extent of the database resource that is included with each lock
  called? 
 | |||||||||||
| 
Which of
  the following facility is used by DBMS that periodically suspends all
  processing and synchronizes its files and journals? 
 | |||||||||||
| 
Which
  of the following is not true about
  B+ trees? 
 | 
Answers
| 
201. | 
Answer :  (c) 
Reason : Clustering file organization allows us to read records that would
  satisfy the join condition by using one block read.   | 
| 
Answer :  (a) 
Reason : B+ tree the records are stored in primary key order. | |
| 
Answer :  (a) 
Reason : Data base-level lock prevents the use of any tables in the
  database from one transaction while other transaction is being processed. | |
| 
Answer :  (b) 
Reason : concurrency is not considered as an ACID property. | |
| 
Answer :  (b) 
Reason : The floor function rounds of to the nearest value. | |
| 
Answer :  (e) 
Reason : Locks can be acquired at any time and their acquisition is the
  second phase, keys are aquired in the first phase, locks can only be acquired
  on primary keys. | |
| 
Answer :  (c) 
Reason : Isolation means that data used during the execution of a
  transaction can’t be used by a second transaction until the first one is
  completed. | |
| 
Answer :  (b) 
Reason : The  extent of the database
  resource that is included with each lock is called the level of Granularity. | |
| 
Answer :  (a) 
Reason : DBMS periodically suspends all processing and synchronizes its
  files and journals through the use of Check point facility. | |
| 
Answer :  (b) 
Reason : Performance of B+ tree degrades as the file grows. | 
 
 
computer science question
ReplyDeletecomputer science question for CN