COMP 212: Functional Programming

Homework Assignments

Homeworks will have both a programming and a written part.

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

Labs

Name Date Links
Lab 1: Basics/Software Installation 31 Jan handout, lab01.sml (right click and Save Link as lab01.sml in your comp212 folder),
Lab 2: Numbers 6 Feb handout, lab02.sml, proof solution, code solution,
Lab 3: Lists 13 Feb handout, lab03.sml, code solution, proof solution
Lab 4: Analysis 20 Feb handout, lab04.sml, code solution, written solution
Lab 5: Trees 27 Feb handout, lab05.sml, code solution, written solution
Homework help session 3 Mar
Lab 7: Functions 27 Mar handout, lab07.sml solutions
Lab 8: Sequences 3 Apr handout, code, solutions, sequence library
Lab 9: Modules 10 Apr handout, code
Homework Help session 17 Apr
Homework Help session 24 Apr
Lab 10: Input-Output 1 May handout, code,
Homework Help Session 8 May

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