RDBMS Questions and Answers – Transaction Isolation

This set of RDBMS Multiple Choice Questions & Answers (MCQs) focuses on “Transaction Isolation”.

1. A transaction that performs only one operation is called as a _________
a) Partial schedule
b) Complete schedule
c) Dependent schedule
d) Independent schedule
View Answer

Answer: a
Explanation: A transaction that performs only one operation is called as a partial schedule because we don’t include commit or rollback operations on them.

2. The phenomenon in which one failure leads to a series of transaction rollbacks is called as ________
a) Cascading rollback
b) Cascadeless rollback
c) Cascade cause
d) None of the mentioned
View Answer

Answer: a
Explanation: The phenomenon in which one failure leads to a series of transaction rollbacks is called as cascading rollback. B=It is named so because one failure causes the rollback of several other transactions serially.

3. State true or false: Every cascadeless schedule is also recoverable
a) True
b) False
View Answer

Answer: a
Explanation: Every cascadeless schedule is also recoverable because in a cascadeless schedule, the commit operations occur in the same sequence as that of write and read operations of two transactions respectively.
advertisement
advertisement

4. A ___________ is one where, for each pair of transactions Ti and Tj such that Tj reads a data item previously written by Ti , the commit operation of Ti appears before the commit operation of Tj
a) Partial schedule
b) Dependent schedule
c) Recoverable schedule
d) None of the mentioned
View Answer

Answer: c
Explanation: A Recoverable schedule is one where, for each pair of transactions Ti and Tj such that Tj reads a data item previously written by Ti , the commit operation of Ti appears before the commit operation of Tj.

5. State true or false: Transactions can only run serially
a) True
b) False
View Answer

Answer: b
Explanation: Transactions are safer run serially but can also be run concurrently.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Which of the following are the advantages of transaction concurrency?
a) Increased throughput
b) Increased utilization
c) Reduces average response time
d) All of the mentioned
View Answer

Answer: d
Explanation: Concurrency in transactions allow increased throughput, utilization. They also reduce average response time.

7. The average time for a transaction to be completed after it has been submitted is called as __________
a) Minimum response time
b) Average response time
c) Average reaction time
d) Minimum reaction time
View Answer

Answer: b
Explanation: The average time for a transaction to be completed after it has been submitted is called as Average response time. This gets decreased when concurrency is used in transactions.
advertisement

8. If a schedule is equivalent to a serial schedule, it is called as a _________
a) Serializable schedule
b) Equivalent schedule
c) Committed schedule
d) None of the mentioned
View Answer

Answer: a
Explanation: If a schedule is equivalent to a serial schedule, it is called as a Serializable schedule.

9. Which of the following is not a type of a schedule?
a) Partial schedule
b) Dependent schedule
c) Recoverable schedule
d) None of the mentioned
View Answer

Answer: d
Explanation: All of the mentioned schedules i.e. partial schedule, dependent schedule, recoverable schedule are different types of schedules.
advertisement

Sanfoundry Global Education & Learning Series – RDBMS.

To practice all areas of RDBMS, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.