Monday, October 28, 2013
Week #7: Midterm Review
I got my midterm back. Sadly, but not surprisingly, I didn't do well. I passed but I lost a lot of marks in the first question because I didn't know how to compare tuples. To get the minimum of tuples, you have to compare the first element to find the minimum and if there is more than one that is the same, you compare the second element. By doing it by hand and checking later on Wing, I got the answer. Question 2 I stil didn't get the answer. List comprehensions are hard... It makes sense in my head but the code doesn't want to work :( Last questionn I did okay. I forgot to set the return type as FunctionalList. It was as easy as putting my answer now in FunctionalList(...). Hope I will do better on my next assignments, exercises, and tests.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment