COMP 212: Functional Programming

Homework Assignments

Homeworks will have both a programming and a written part.

Name Date Out Date In Links
1: Basics 5 Sep Wed 11 Sep, 1:00pm written, code (right click and Save as...)
2: Numbers 12 Sep Wed 18 Sep, 2:00pm programming, hw02.sml, written
3: Lists 19 Sep Wed 25 Sep, 2:00pm problems, hw03.sml, written handin
4: Analysis and Sorting 26 Sep Wed 2 Oct, 2:00pm problems, code, written handin
5: Trees 3 Oct Th 10 Oct, 11:59pm problem description, written handin, support code (save in same folder as handin file), handin file,
6: Datatypes 10 Oct Th 24 Oct, 11:59pm handout, code, non-collab code
7: Functions 23 Oct Wed 30 Oct, 2:00pm written, handout, code, library code
8w: Sequence Analysis, Tree Proof 1 Nov Wed 6 Nov, 2:00pm written
8: Barnes-Hut 30 Oct Th 14 Nov, 11:59pm programming, code, sequence library (see lab), visualizer
9: Modules 14 Nov Th 21 Nov, 11:59pm handout, code, noncollab code
10: Machine Learning 22 Nov Fri 6 Dec, 11:59pm programming, code, data (big file)
Final Non-Collaborative Problems 9 Dec Saturday Devember 14, 5:00pm problems, regexp code, generate code, generate CM file

Labs

Name Date Links
Lab 1: Basics/Software Installation 4 Sep handout, lab01.sml (right click and Save Link as lab01.sml in your comp212 folder)
Lab 2: Numbers 11 Sep handout, lab02.sml, proof solution, code solution,
Lab 3: Lists 18 Sep handout, lab03.sml, code solution, proof solution
Lab 4: Analysis 25 Sep handout, lab04.sml, code solution, written solution
Lab 5: Trees 2 Oct handout, lab05.sml, code solution, written solution
Homework 5 help session 9 Oct
Lab 7: Functions 16 Oct handout, lab07.sml
Lab 6: Text Input/Output 23 Oct handout, code
Lab 8: Sequences 30 Oct handout, code, sequence library
Lab 9: Modules 6 Nov handout, code solution I, solution II
Homework 8 Help session 13 Nov
Homework 9 Help session 20 Nov
Homework 10 Help Session 4 Dec

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