Introduction to Programming and Algorithms - COMP1100
Semester 1, 2009
Laboratory Exercises
In most weeks a set of exercises related to the current course work
will be posted here. You should make sure you are prepared for your
practical class by attempting, or at least carefully considering the
exercises before attending your practical class.
In some cases, sample solutions will be posted here in the following week.
- Week 1 - CS Student Computing Environment
There are no scheduled practical classes in week 1, but you
should work through the following exercises in your own time to
learn a little about the Linux/KDE computing environment used in
the Department's student laboratories.
Hard copies of both documents were handed out in the first
lecture and should also be available from the DCS office.
- Week 2 - Basic Unix and Haskell
- Week 3 - Defining Simple Functions in Haskell
- Week 4 - Developing Programs in Haskell
- Week 5 - Recursive Functions on Lists
- Week 6 - Supermarket Docket & IO
- Week 7 - No Prac Classes
- Week 8 - Fractals
- In lab classes this week
you will demonstrate your assignment 1 solutions to your tutor
for up to 40% of the assessment. You must be present to obtain
any marks for this assessment component.
- Exercises
Fractals.tgz
- Solutions
- Week 9 - Trees
- Week 10 - Reasoning about Programs
There are no practical classes in
week 10.
You should complete these exercises in your own time. Sample
solutions will be released later in the semester.
- Week 11 - Java Introduction
- Week 12 - Lists in Java
- Week 13 - Assignment 3
- Demonstrate Assignment 3 to
your tutor.