Let transaction T1 has obtained a shared mode lock S on data item Q and transaction T2 has obtained an exclusive mode lock X on data item R
Consider the following statement.
I: T1 can read Q but cannot write Q.
II. T2 can read R but cannot write R.
Which of the above statements is / are valid?
1
Only I
2
Only II
3
Both I and II
4
Neither I nor II
5
Question Not Attempted