Operating system mcqs atomic transactions

[FOR economically strong students] BUY EBOOK @ACUPOFCOFEE with ANSWER KEY AT THE END OF EVERY PAGE. THIS IS USEFULL FOR OFFLINE STUDY. <<CLICK HERE>>

[FOR economically backward students] CHECK EXPLANATIONS and answer key OF ALL QUESTIONS GIVEN IN PDF ON OUR WEBSITE <<CLICK HERE>>

DOWNLOAD FREE PDF BOOK (USEFUL FOR TEACHERS/INSTRUCTORS/COACHING INSTITUTES)

Operating system mcqs atomic transactions

Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? I) 2-phase locking II) Timestamp ordering
A
I only
B
II only
C
Both I and II
D
Neither I nor II
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The state of the data accessed by an aborted transaction must be restored to what it was just before the transaction started executing. This restoration is known as ..... of transaction.
A
safety
B
protection
C
roll - back
D
revert - back
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A terminated transaction that has completed its execution successfully is ..... otherwise it is .....
A
committed, destroyed
B
aborted, destroyed
C
committed, aborted
D
none of the mentioned
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A collection of instructions that performs a single logical function is called .....
A
transaction
B
operation
C
function
D
all of the mentioned
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The shrinking phase is a phase in which?
A
A transaction may obtain locks, but does not release any
B
A transaction may obtain locks, and releases a few or all of them
C
A transaction may release locks, but does not obtain any new locks
D
A transaction may release locks, and does obtain new locks
There are 5 questions to complete.

OVER 10 CRORE MCQ in EBOOK <<CLICK HERE>>