Functional Programming 2011, TDA 452, DIT 142
Last updated 17-01-2012
Exams can be inspected at the student office
If you decide you want to query your grade please do the following:
- Do not remove your exam from the student office
- fill in this form so I know which exams/questions to look at, and
- come to my office (room 5474) between 12-12.30 on Wednesday 25 January
- 2011-12-15 Exam with solutions
The exam has been graded and will be entered into the system sometime today.
There were around 60 people taking the exam. 85% passed. Here is the breakdown:
There are a few borderline cases so feel free to have a look at your
exam once the results have been reported. There will be an opportunity to query the grading, most likely one
lunchtime in Week 1, period 3. Please remember that if you want to discuss your grade you must not
remove your exam from the office.
If you *do* want to discuss your grade with me, please fill in the form
at the link below so I know which exams to look at.
- TDA452/451, DIT152/151 Examination:
Tuesday 13 Dec 2011 at 14.00 in V (Väg och vatten) Probable rooms:
VV23, VB (TDA452) and VV33 (DIT152/TDA451) - but come in good time. Length: 4 hours
- 2011-10-24 Please note that you cannot include this course as part of a degree which already contains TDA555 (Introduction to Functional Programming). The contents are too similar (although the exam for this course is more demanding). If you took TDA555 or similar please consider TDA342 Advanced Functional Programming
- 2011-10-17 Web page created.
Lectures: Mondays 13.15 in HC4 (up to and including 7 November, and in EE thereafter),
and Thursdays 10.00 in HC3.
All participants of the course are expected to join the course google group.
Purpose of the course
The course is an introduction to Functional Programming for students
who know how to program. The students come mainly from the masters
program at Chalmers and the University of Göteborg.
- Instructor: David Sands
- Teaching assistants: Krasimir Angelov
and Simon Huber
- Text book: I am not recommending a specific textbook this year. For those who like to follow a textbook I can recommend the following:
- Graham Hutton: Programming in Haskell. A compact and well-written
Haskell book that is a good fit for this course.
- Learn You a Haskell for Great Good!
Online and printed versions. Very nice tutorial with humour.
- Simon Thompson: The Craft of Functional programming. A more basic book with a slower pace but still covering most of the material in the course. I recommend the 3rd edition which has some coverage of quickCheck (a testing approach used extensively in the course).
Also available at the Chalmers bookstore.
- Real World Haskell Also
available online. This is more advanced and more oriented towards practical Haskell programming. A good book to have on the shelf if you continue with Haskell. This is the course book for the Advanced Functional Programming course.
- Discussion group: [http://bit.ly/tda452-11]
This is for discussion among the students about the course. All kinds of
questions (and answers) on the content of the course are welcome. You own specific problems with the labs should not be posted here for obvious reasons.
Contents of the course
These are from TDA451 2010. Content will be similar for this year.
Minor updates will be made as we go along.
(Minor updates to Intro slides only) (live code now updated 2011)
Reordered lectures 2011: Higher-order functions now covered in week 2 instead of week 4.
2011 Note: Slides have been updated to be consistent with the code and video.
Slides update 2011
updated slides 2011
In the table below you will find links to lab assignments which have
to be handed in. For each assignment have a submission deadline
at which you must submit your solutions. If your lab does not pass
(incorrect or simply badly coded) then you must resubmit. You have
until the final deadline. The final deadline is absolute: it is
the last possible date to hand in your solutions. If your solutions
are not passed you get no further chances this term.
||Final deadline (parts A & B)
Please read this link about how to get help!
Simon and Krasimir have open office hours listed below when you can drop in and ask questions about the lab assignments.
These drop-in times are valid from Thursday of week 2 (2011-11-03).
|Simon (room 6103)
||15.00 - 15.50
|Krasimir (room 6120A)
||16.00 - 16.50
Haskell Documentation and Other Resources
Haskell Installation (GHC) on your own machine
Ghc(i) can be downloaded from its home page.
Old exams (TDA 451)
Even older exams. These are a bit different from the current style, but there are some useful examples to be found.
The examination of the course has two parts: the weekly assignments
and a written exam in the end of the course. To pass the course it is
necessary to pass all home assignments and the exam.
The exam dates are announced on the student portal http://www.student.chalmers.se/ .
- TDA452 Examination : Tuesday 13 Dec 2011 at 14.00 in V (Väg och vatten), Length: 4 hours
Re-exam: Wednesday 11 April 2012 at 14.00 in V.
Some advice which you shouldn't really need:
- check the homepage regularly,
- read about the topic before the lectures (then the lecture is more useful)
- solve the exercises before the exercise sessions (then the exercise
session is more useful)
- start with your assignments early since unexpected things happens