UGC NET Paper 2 (Computer Science)Hard
Consider. I. Strict 2PL ensures conflict serializability. II. Strict 2PL ensures cascadeless schedules. III. 2PL guarantees freedom from deadlock. Which are correct?
- A. I, II and III
- B. II and III only
- C. I and II only
- D. I only
Correct answer: C. I and II only
Two-phase locking can deadlock; strict 2PL holds exclusive locks until commit, so no dirty reads occur.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- A file has 100,000 fixed-size records stored 10 per block in sorted order. A binary search on the sorting key needs at most how many block…
- In the wait-die deadlock prevention scheme, if an older transaction requests a lock held by a younger one:
- A Class B network 172.16.0.0 is to be divided into 8 equal subnets. The subnet mask is:
- With 4-bit sequence numbers, the maximum window sizes of Go-Back-N and Selective Repeat are respectively:
- In a 10 Mbps Ethernet whose slot time is 51.2 microseconds, the minimum frame size is:
- A Hamming code must correct single-bit errors in 11 data bits. The minimum number of check bits is: