Week 5 Unit 5: Self-test

22. October 2024

Question 1

The following question is tricky, as the function uses recursion. What is the output of this program?

week5 unit5 f1

Error
13
5
8

Question 2

What is the output of the following program?

week5 unit5 f2

98
105
100
120

< Previous unit | Next unit > | Course Overview