COMP207 神秘错题合集

image-20220118061651494
image-20220119032734269

The procedure is as follows: You lock say X in transaction 1, Y in transaction 2 and Z in transaction 3. The fact that X is locked in transaction 1 does not mean that any of the other transactions can not move and similar for the other locks. Thus, any concurrent schedule satisfies this! Since there are concurrent schedules with none of these properties the right answer is "None of the above are correct".

image-20220119032839275

仔细看中间……

image-20220118082641030
image-20220119033704141
image-20220120085124896
image-20220119034453226
image-20220118111034718
An XML Tree

我擦moive moive 居然可以……

image-20220119034824434
image-20220119072904964
image-20220119072924200
image-20220120215153743

If you read from something your timestamp must be higher than its write timestamp. Similar, if you write to something, your timestamp must be higher than the read or write timestamp (some require only restart on the read timestamp being higher, but it would not change anything for this question)