COMP 212: Functional Programming

Homework Assignments

Homeworks will have both a programming and a written part.

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

Labs

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

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