Question 47Asked in UGC NET Computer Science, December 2014 (Paper II & III, Selected Questions)

Which of the following is correct? I. Two phase locking is an optimistic protocol

Which of the following is correct? I. Two phase locking is an optimistic protocol II. Two phase locking is pessimistic protocol III. Time stamping is an optimistic protocol IV. Time stamping is pessimistic protocol
  1. AI and III
  2. BII and IV
  3. CI and IV
  4. DII and III
Show answerHide answer

Correct answer: (D) II and III

Explanation

Two phase locking is a pessimistic protocol (it assumes conflicts will happen) because it applies locks. Time stamping is an optimistic protocol because it uses no locking and handles conflicts later. So II and III are correct.

From UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions)

This is question 47 of UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.