The undo and redo operations must be _________ to guarantee correct behaviour, even if a failure occurs during recovery process.

idempotent
easy
protected
all of the mentioned
idempotent  Idempotent โ€“ Multiple executions of an operation have the same result as does one execution.

Related posts

In the bounded buffer problem ____________
A. there is only one buffer
B. there are n buffers ( n being greater than one but finite)
C. there are infinite buffers
D. the buffer size is bounded
A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem.
A. one
B. two
C. three
D. four
In the bounded buffer problem, there are the empty and full semaphores that ____________
A. count the number of empty and full buffers
B. count the number of empty and full memory spaces
C. count the number of empty and full queues
D. none of the mentioned
The bounded buffer problem is also known as ____________
A. Readers โ€“ Writers problem
B. Dining โ€“ Philosophers problem
C. Producer โ€“ Consumer problem
D. None of the mentioned
If the semaphore value is negative ____________
A. its magnitude is the number of processes waiting on that semaphore
B. it is invalid
C. no operation can be further performed on it until the signal operation is performed on it
D. none of the mentioned
The monitor construct ensures that ____________
A. only one process can be active at a time within the monitor
B. n number of processes can be active at a time within the monitor (n being greater than 1)
C. the queue has only one process in it at a time
D. all of the mentioned
A locking protocol is one that ____________
A. governs how locks are acquired
B. governs how locks are released
C. governs how locks are acquired and released
D. none of the mentioned

Leave a Reply

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