Assignments

Assignment 2

A model solution for the assignment can be found here. This is only one possible solution, there are many other possibilities.

Click to download the specification for the assignment.

Assignment 1

A model solution for the assignment can be found here. This is only one possible solution, there are many other possibilities.

The assignment was marked based on 18 test cases. You can find all test inputs and expected outputs here. Each test case was worth 5 marks with the exception of tValidHands and tLotsOfHands that were worth 10.

If a test case output contains the phrase timeout waiting for child this means that your program crashed (or less likely has an infinite loop).

If a test case output contains the phrase Binary files ... differ this means that your program printed out garbage values.

Your mark appears at the end of the email message you received. Please doublecheck that the mark posted under Grades on the course webpage is the same as the one in the email message.

Click to download the specification for the assignment.

You can also access a sample input file and the corresponding output file.

Rules