In transactions, a write-item (X) command includes the following steps. Arrange the following steps in correct sequence.
A. Copy item X from the program variable named X into its correct location in the buffer.
B. Store the updated block from the buffer back to disk.
C. Find the address of the disk block that contains item.
D. Copy that disk block into a buffer in main memory.
Choose the correct answer from the options given below: