int main() {
f1();
f2(2);
f3();
return(0);
}
int f1() {
f1();
return(1);
}
int f2(int X) {
f3();
if (X==1)
return f1();
else
return (X * f2(X-1));
}
int f3() {
return(5);
}
Which one of the following options represents the activation tree corresponding to the main function?

A schedule of three database transactions \(T_1\), \(T_2\), and \(T_3\) is shown. \(R_i(A)\) and \(W_i(A)\) denote read and write of data item A by transaction \(T_i\), \(i = 1, 2, 3\). The transaction \(T_1\) aborts at the end. Which other transaction(s) will be required to be rolled back?
