hw2 - Assignment 2 CIS 252 Intro to Computer Science...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 2 CIS 252 — Intro to Computer Science This homework covers material through the first three chapters of Haskell: The Craft of Functional Programming (HCFP). This homework is officially due in class on Thursday, February 3 . However, it comes with an automatic extension: anything submitted to the bin in CST 3-210 by 1pm on Friday, February 4 will be accepted as being on time. You may work singly or in pairs on this assignment. Exercises Important: For each exercise, you are expected to come up with a good set of test cases to verify that your code works correctly. An important component of programming (and of problem solving in general) is coming up with useful tests to check all aspects of your solution. Specifically: Part of your grade will be based on your inclusion of sufficient test cases. Simply running my examples is insufficient: you must include test cases of your own creation. As a general guideline: you should have at least one test case for each possible path. For
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.
Ask a homework question - tutors are online