COMP 212: Functional Programming

Homework Assignments

Homeworks will have both a programming and a written part.

Name Date Out Date In Links
1: Basics 8 Sep Wed 14 Sep, 1:00pm written code (right click and Save as...)
2: Numbers 15 Sep Wed 21 Sep, 1:00pm programming, hw02.sml, written
3: Lists 22 Sep Wed 28 Sep, 1:00pm problems, hw03.sml, written handin
4: Analysis and Sorting 29 Sep Wed 5 Oct, 1:00pm problems, code, written handin
5: Trees 6 Oct Th 13 Oct, 11:59pm problem description, written handin, support code (save in same folder as handin file), handin file
6: Datatypes 13 Oct Fr 21 Oct, 11:59pm handout, code
7: Functions 20 Oct Wed 2 Nov, 1:00pm handout, written handout, code, library code
8w: Tree Proof and Sequence Analysis 3 Nov Wed 9 Nov, 1:00pm written
8: Barnes-Hut 3 Nov Th 17 Nov, 11:59pm programming, code, sequence library (see lab), visualizer
9: Modules 17 Nov Wed 30 Nov, 11:59pm handout, code, challenge code,
10: Machine Learning 30 Nov Fri 9 Dec, 11:59pm programming, code, data (big file)
Final Challenge Problems 10 Dec Sat 17 Dec, 5pm problems, code


Name Date Links
Lab 1: Basics/Software Installation 7 Sep handout, lab01.sml (right click and Save Link as lab01.sml in your comp212 folder), solution
Lab 2: Numbers 14 Sep handout, lab02.sml, proof solution, code solution
Lab 3: Lists 21 Sep handout, lab03.sml, code solution, proof solution
Lab 4: Analysis 28 Sep handout, lab04.sml, code solution, written solution
Lab 5: Trees 5 Oct handout, lab05.sml, code solution, written solution
Homework help session 12 Oct
Lab 7: Functions 19 Oct handout, lab07.sml solutions
Homework Help Session 26 Oct
Lab 8: Sequences 2 Nov handout, code, solutions, sequence library
Lab 9: Modules 9 Nov handout, code, solution I, solution II
Homework Help Session 16 Nov
No class, Thanksgiving 23 Nov
Lab 10: Input-Output 30 Nov handout, code solutions
Homework Help Session 7 Dec

Dates for assignments beyond the one currently out are tentative at this point.