Course Exercises 2007
FPLC
On this page, links to additional exercises (not in the book) will be placed.
GO Assignment 2
Announced: 24 October 2007, deadline: 2 November 2007 (12:00 noon)
Update: 26 October 2007. Full version of the assignment now available.
Submission via
the Submit system.
Trial Exams / Old Exams
Here are a few old exams, to give you an idea on what kind of questions
are to be expected. Note that these exams are usually 3 hours for either
FP or GO, and our exam will be 3 (or possibly 4) hours for FP and GO,
so the individual parts of the exam will be a bit shorter.
GO assignment 1
Announced: 15 October 2007, deadline:
25 October 2007 (23:59) (prolonged)
Update: 17 October 2007. Check annotations (
+ or
#) are optional, so the
corresponding production should also allow to derive the empty word.
The instructions have been corrected.
Update: 17 October 2007. The skeleton file is now there. The instructions
have been extended slightly.
Submission via
the Submit system.
FP assignment 3
Announced: 08 October 2007, deadline:
16 October 2007 (12:00 noon) (prolonged)
Update: 15 October 2007. The decoder function given in the source file produces, depending
on the random colors that are chosen, sometimes illegal colors. I have fixed that (only the
Haskell skeleton has changed).
Update: 11 October 2007. On Windows, there seems to be a problem writing certain
PPM files due to the conversion of line end markers. I have therefore modified both
the program skeleton and the instructions to fix that problem. I have also clarified
the specification of the function `add' somewhat. Please use the new versions if
possible.
Update: 08 October 2007. Some of the examples with RGB colors produced type errors,
that should be fixed now. Only the task description has changed.
I have extended the deadline by half a week due to the rather late announcement
of this third assignment. This assignment is more complex than the previous ones,
so start early and use the opportunity to ask questions at the werkcollege on
Wednesday.
Submission via
the Submit system.
FP assignment 2
Announced: 24 September 2007, deadline: 5 October 2007 (12:00 noon)
Submission via
the Submit system.
Update: 25 September 2007. Clarified exercise 4 (only the description has changed).
Update: 26 September 2007. Fixed the propagation of paint events (only Rocks.hs has changed).
FP assignment 1
Announced: 18 September 2007, deadline: 28 September 2007 (12:00 noon)
New:
Results are available.
All the instructions are contained in the PDF. If necessary, an FAQ about the
assignment will be created in this place. You also require a skeleton
Haskell program that you can download here as well. Edit this skeleton to
produce your solution.
Lab Intro
The Lab Intro is supposed to help you get started with the GHC(i) environment.
It contains a lot of relatively easy exercises that teach you the most important
commands in GHCi, typical error messages, how to build expressions, etc.
This first version is finished up to Exercise 72. I'll update this file soon.
--
AndresLoeh - 26 Oct 2007