At the start of the CSC 148 course, we were given a brief preview of recursion and I thought that this wasn't the kind of course I had signed up for. I was mistaken about the easy going work load of CSC 108 to be continued into the adventures of CSC 148. I was very wrong!!!
After going through a very hard time trying to understand the very basic idea of Stacks, I was petrified at the glimpse of Recursion. We had never seen the calling of a function definition inside the body of a function before. My initial thought at this as I blurted out a few words in confusion was How Was This Loop Ever Going To STOP? Towards the end of the class, my fear had subsided and I started to gather a sense of perspective of what a Recursive function actually meant. The first process required in the establishment of a Recursive Function is the stopping function which would exit the infinite loop. Overall, it was a new peak into the ever growing difficultly levels of Computer Science.
Monday, 27 January 2014
Thursday, 23 January 2014
Object Oriented Programming
Having no previous background of programming, every class
seems to be a greater learning experience into the world of computer
programming. CSC108 in the fall was quite easy going, but CSC 148 seems to
quite a fast-paced course. In class we’ve learnt a number of special operations
in Python which simplify the process of coding and something quite amazing
learnt this week was ‘Being Lazy is Great!’. The built-in object and methods in
Python help create shorter and easy to understand lines of code which are beneficial
to the programmer and the reader. Also, it is quite important to avoid
repetitive coding because if an error is made while coding, it would have to be
corrected at multiple locations which would be quite time consuming.
Something that has been quite a struggle to understand is
the basic idea of Raising Exceptions in various cases. The mentality and line
of reasoning that goes with Computer Programming on the whole is something I
lack and happens to be quite challenging understanding slightly difficult
concepts. It is quite hard to understand the different scenarios under which
Exceptions are to be raised. It is quite a task to understand the working of
definitions and the integration of Class among one another. I chose Computer
Science due to my passion for computers and find it to be a really good
integration with business, which I would be majoring in. It would help me
deepen my understanding on the working of computers and various softwares. One
of achievements I had this week was successfully completing the first exercise
on my own without any aid.
Subscribe to:
Posts (Atom)