Object Oriented Programming
This is basically a program that can use objects. So what does that mean?
An example is a car, you can imagine a car being made up of different object that work with each other to make the complete car work.
Saturday, 8 February 2014
So now that I actually started my assignment, I'm having a ton of trouble tracing recursive functions.
It's just way too much for my brain at the moment, I'm pretty sure I'll get use to it after this assignment though.
Luckily I met my CSC108 TA from last semester and he made the mistake of asking me how school was going...Lets just say, I have a better idea of how recursive functions work now.
>>> Recursive function == Mathematical induction
True
Recursive functions basically have a base case (typically when 'n' = 0) and another case for when 'n' != 0 and for the n != 0 I run it through the function again.
It's just way too much for my brain at the moment, I'm pretty sure I'll get use to it after this assignment though.
Luckily I met my CSC108 TA from last semester and he made the mistake of asking me how school was going...Lets just say, I have a better idea of how recursive functions work now.
>>> Recursive function == Mathematical induction
True
Recursive functions basically have a base case (typically when 'n' = 0) and another case for when 'n' != 0 and for the n != 0 I run it through the function again.
Subscribe to:
Posts (Atom)