This is unrelated to the course itself and course material, but it's already been a month since university started! I can't believe I am already done with one third of the semester and exams are only 2 months away. One of my favourite things about university is that the semesters themselves are shorter, but the amount of learning we do is the same if not greater.
And back to CSC236. This week we learned Structural Induction and how it can be used to solve problems with sets (number of variables and number of operators). This theory uses Mathematical Induction so I find it relatively simple. We also did an example about the Fibonacci sequence, which is a recursive sequence so it relates to concepts we learned in computer programming last year. At first I found it difficult to grasp the concept of recursion, especially when it comes to finding the base case to solve the problem, but given a formula in this course for the Fibonacci sequence it is much easier to find the base case. I'm going to try and apply this strategy in the future when trying to find a base case for a recursive method in programming.
Once again, this course directly relates to programming and I can't complain! I think that is one of the reasons why I didn't enjoy CSC165 last year too much; it involved proving a lot of theories about math rather than programming concepts.
No comments:
Post a Comment