First, professor has explained about the first test. Its
class average was about 68%.
Them, he has talked about recursion. Our goal for today is
tracing recursive function. Recursive function is what a function contains the
function like a sequence. He showed its example, sum of a list, and how does
the function works with a process of operation. Then we solved examples of sum
of list and depth of list functions with a process. There is at least one base
case and least one recursive case in recursive function. Generally False part
is a base case. For the depth, there are 2 base cases and 1 recursive case.
Recursion function is for our convenience
We need to bring some papers ourselves to answer questions
from next week.
No comments:
Post a Comment