Q27Numerical3 Marks7 Aug 2022
What will the value of sum be at the end of the execution of following pseudocode?
```
1 sum = 0
2 L1 = [3, 0, 2]
3 L2 = [1, -4, 5]
4 sum = addSomething(L1, L2) + addSomething(L2, L1)
5
6 Procedure addSomething(X, Y)
7 s = 0
8 foreach a in X{
9 foreach b in Y{
10 s = s + (a - b)
11 }
12 }
13 return(s)
14 End addSomething
```
Press Enter to check.