727 views
2 votes
2 votes
  Which of the following transaction(s) follow 2-phase locking protocol?
  1. lock1(a)read1(a)lock2(b)write2(b)lock1(c)unlock2(b)unclock1(c)lock2(c)unlock1(a)
  2. lock1(a)lock1(b)unlock1(a)lock2(a)write2(a)unlock2(a)unlock1(b)
  3. lock1(a)lock2(b)lock1(c)lock3(d)unlock2(b)lock3(b)unlock1(a)unlock3(d)unlock1(c)lock3(c)

1. Only 1

2. Only 2

3. Only 1 and 3

4. None of them

Please log in or register to answer this question.

Related questions

1 votes
1 votes
0 answers
3
gulsanchouhan asked Sep 28, 2017
341 views
Which of the following can be described as a programming model used to develop applications processing massive amounts of data in a distributed and/or parallel manner?1. ...
1 votes
1 votes
0 answers
4
gulsanchouhan asked Sep 28, 2017
388 views
Consider the following databaseCol 1Col 2Col 3123456789If Col1 and Col2 form a column family and Col3 is another column family, how is the data stored?A. 1 2 3 4 5 6 7 8 ...