Computer Science EngineeringHard
Basic two-phase locking guarantees
- A. freedom from deadlock
- B. cascadeless schedules
- C. conflict serializability
- D. freedom from starvation
Correct answer: C. conflict serializability
2PL ensures serializability but can deadlock, and only strict 2PL avoids cascading aborts.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- TCP slow start begins with cwnd = 1 MSS and doubles each RTT with no losses. What is cwnd after 4 RTTs?
- The OSPF routing protocol computes routes using
- A 10 Mbps link has a one-way propagation delay of 10 ms. How many bits are in flight on the link when it is fully used in one direction?
- To correct up to 2 bit errors in a received codeword, the code must have a minimum Hamming distance of at least
- A counting semaphore is initialized to 10. After 6 wait (P) operations and 4 signal (V) operations have completed, its value is
- A cache has a 1 ns hit time, a 5% miss rate and a 100 ns miss penalty. The average memory access time is