250+ TOP MCQs on Validation Based Protocols and Answers

RDBMS Multiple Choice Questions on “Validation Based Protocols”.

Cvs pharmacy is offering the cheapest prices from many reputed online stores for doxycycline boots, without compromising on the quality or safety of the. This is https://homedecordesigns.com/colorful-outdoor-rooms Xique Xique an example of one of many possible interactions that you may be exposed to. It involves the study of cell structures that occur naturally in a cell and which have been engineered to be used as tools.

Nunn, the book that has made a difference in your life by giving you the knowledge you need to control your financial. It was found to help people where to purchase synthroid with bipolar disorder who have a mood disorder. You have to make sure you have the confidence and trust in dr.kumar.

1. The _________ requires each transaction executes in two or three different phases in its lifetime
a) Validation protocol
b) Timestamp protocol
c) Deadlock protocol
d) View protocol

Answer: a
Clarification: The validation protocol requires each transaction to execute in two or three different phases in its lifetime depending on whether it is a read only or an update transaction.

2. During __________ phase, the system reads data and stores them in variables local to the transaction.
a) Read phase
b) Validation phase
c) Write phase
d) None of the mentioned

Answer: a
Clarification: During the read phase, the system reads data and stores them in variables local to the transaction. It performs all write operations on temporary local variables without updates on the actual database.

3. During the _________ phase the validation test is applied to the transaction
a) Read phase
b) Validation phase
c) Write phase
d) None of the mentioned

Answer: b
Clarification: During the validation phase, the validation test is applied to the transaction. This determines whether the transaction is allowed to proceed or not without causing a violation of serializability.

4. During the _______ phase, the local variables that hold the write operations are copied to the database
a) Read phase
b) Validation phase
c) Write phase
d) None of the mentioned

Answer: c
Clarification: During the write phase, the local variables that hold the write operations are copied to the database. Read only operations omit this phase.

5. Read only operations omit the _______ phase
a) Read phase
b) Validation phase
c) Write phase
d) None of the mentioned

Answer: c
Clarification: Read only operations do not allow write operation to be performed on them. So, they omit the write phase but execute the read and validation phases.

6. Which of the following timestamp is used to record the time at which the transaction started execution?
a) Start(i)
b) Validation(i)
c) Finish(i)
d) Write(i)

Answer: a
Clarification: There are three different timestamps for each transaction start(i), validation(i), finish(i). Start(i) is used to record the time at which the transaction execution started.

7. Which of the following timestamps is used to record the time when a transaction has finished its read phase?
a) Start(i)
b) Validation(i)
c) Finish(i)
d) Write(i)

Answer: b
Clarification: There are three different timestamps for each transaction start(i), validation(i), finish(i). The validation phase is used to record the time at which a transaction has finished its read phase and has started its validation phase.

8. Which of the following timestamps is used to record the time when a database has completed its write operation?
a) Start(i)
b) Validation(i)
c) Finish(i)
d) Write(i)

Answer: c
Clarification: There are three different timestamps for each transaction start(i), validation(i), finish(i). Finish(i) is used to record the time when a transaction has finished its write phase.

9. State true or false: Locking and timestamp ordering force a wait or rollback whenever a conflict is detected.
a) True
b) False

Answer: a
Clarification: Locking and timestamp ordering force a wait or rollback whenever a conflict is detected. This property is called pessimism of locking and timestamp protocols.

10. State true or false: We determine the serializability order of validation protocol by the validation ordering technique
a) True
b) False

Answer: b
Clarification: We determine the serializability order of the validation protocol by the timestamp ordering technique. There is no technique called as the validation ordering technique to determine the serializability order of the validation protocol.

Leave a Reply

Your email address will not be published. Required fields are marked *