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?

To understand the activation tree of the given program, let's analyze the flow of the main function:
main() function calls f1().f1() function is called, and within this function, it calls itself recursively, leading to an infinite recursion.f1(), f2(2) is called.f2(2):
f3(), which returns 5.X == 1, which is not true for the first call as X = 2.2 * f2(1).f2(1), f3() is called again, returning 5.X == 1 is true, it calls f1(), causing infinite recursion.f3(), which simply returns 5.Conclusion: The program contains multiple recursive calls to f1() leading to infinite recursion. The activation tree will show these recursive calls. Option (A) is the correct representation of the activation tree as it includes indirect recursion under f2(2).
Let \(A\) be the adjacency matrix of the given graph with vertices \(\{1,2,3,4,5\}\). 
Let \(\lambda_1, \lambda_2, \lambda_3, \lambda_4, \lambda_5\) be the eigenvalues of \(A\) (not necessarily distinct). Find: \[ \lambda_1 + \lambda_2 + \lambda_3 + \lambda_4 + \lambda_5 \;=\; \_\_\_\_\_\_ . \]