Friday, September 26, 2014

ANDs ORs and NOTs

I had a pretty easy time this week understanding the lecture material. I think this was mostly due to my prior exposure to using AND/OR/NOT in programming courses in the past, and after how much they drilled the concepts into our heads it was easy to think about them in terms of this logic course.
While I was working on CSC148 exercises, something that Danny said rang very true. After finishing a challenging exercise I felt a rush, and i enjoyed it so much that I immediately went onto the next week's exercise. I went at it for about an hour to no avail, and I should have probably slept on it after that since it was about 3 a.m. I was determined not to fall asleep until I finished it though so i stayed up another two hours until I finally cracked the problem in a way I felt was almost a cheat, but I was just happy that it finally worked. The lack of sleep was definitely worth the feeling of fulfillment that I after successfully coding that. The problem was to write a recursive function to map a function F into all the elements of a linked list and return a new linked list.

No comments:

Post a Comment