Assignments

 

The assignments are worth 1.5 Swedish credit each. The assignments require you to use Ruby and Python. The last assignment allows use of other dynamic languages (and systems PLs).

Assignments must be done in groups of two. To be excused, talk to Beatrice, and provide a really good motivation. Furthermore, and in the spirit of pair programming with rotating pairs, you must be in a different group for each assignment.

The solutions for the programming assignments should be presented to a course assistant or to Beatrice before handing them in. Time slots for the presentations will be available during the last week before the deadline, and also on demand earlier on during the course.

Deadline all assignments is midnight on 2012-03-17.

If you hand assignments in late, you cannot score higher than grade E (lowest possible pass).

Before you start working on the assignments you should get to know the language you wil be using. Take a look at the pages called "Getting started with Python and Ruby" to find suitable ways to get to know the new languages.

Our friday seminars will also present you with suitable programming problems to get started with your Python and Ruby programming.

Assignment 1 -- Python

The description of the first assignent can be found here.

A jar-file with the files you need to implement the turtle graphics DSL can be found here.

Assignment 2 -- Ruby

The description of the second assignent can be found here.

A file with unit tests for the assignent can be found here.

The file was updated 2010-05-05, after students reported problems caused by the fact that the feedback from failed assertions were on the form (" expected but was ") rather than (" expected but was "). The order has been switched in the new version of the file.

Assignment 3 -- Two Languages

The third assignment will be implemented twice using two different languages, one dynamically typed and one statically typed language.

The description of the third assignent can be found here.

Here you can find a larger wordlist and a larger file with phone numbers to test your programs with.

 
 
 
 
 
 
'