Determine \Theta for the following code fragment in the average case. Assume that all variables are of type "int".

              a = b + c;
              d = a + e;
            

\Theta(1)
  • \Theta(\log n)
  • \Theta(n \log n)
  • \Theta(n)
  • \Theta(n^2)
  • \Theta(n^2 \log n)
  • \Theta(n^3)
  • \Theta(2^n)

Does any line of code get executed more than once?