Recursion is a very interesting concept in programing. Along
with for loops and while loops we have learned yet another way of making a
program call its self. This new method allows coding to become more elegant and
allows things that may take lines of code using a while or for loop to be expressed
in much simpler and convenient ways in recursion. Along with adding this new
weapon of programming to our arsenal, we also started to learn about tracing.
Tracing was interesting as it was our first real look into how computers
breakdown task. Although we did not trace as computers would (as it would get very
confusing very fast), it allowed us to better understand the code the computer
would return when we run it. Tracing at first was a bit confusing, because we
would not always trace out elements we had already seen. However overall it was
a very fun experience that I enjoyed and the concept was an easy seven points
on the midterm!
Sunday, 8 February 2015
Python SLOG 2 Week #4
The first few weeks of CSC 148 have been quite enjoyable.
Our professor is a very hand on and keeps us engaged by demonstrating things in
front of the class. Our professor also remembers a number of our names, which
is very unique and thoughtful trait in a professor. I am really glad I am
taking this course, as it will help expand my thinking of computer science, as
a science not juts programming. The course demonstrates how a computer thinks
and runs code. The previous CSC course I had did not involve labs, and
comprised of one three hour-long lecture. This format made it very difficult to
learn and it was very tempting to try and skip lectures as they were long and
at night. In contrast CSC148 is not only exciting but allows for more hands on
experience with more involved lectures and professor.
Subscribe to:
Comments (Atom)