COMPSCI 102 Algorithmic Program Testing

If you use this page again you may have to reload/rebrowse for the program and reselect the problem.


Main file:
Programming language:

Small Algorithmic Programming Problems

In conjunction with recitation and lecture, you will do a number of Small Algorithmic Programming Problems. For each problem, you are given a problem statement and a number of sample testcases. You will write a class that contains a method with given signature. We provide a testing mechanism above for your programs that compiles your solution and runs your function on a number of different inputs and compares your method's output to the correct one. The goal is to write a solution that solves the problem in the simplest, most general manner. Style is far less an issue with than SAPPs than with programming assignments. Nevertheless, using good programming practice often enables students to find a solution in less time.

Problem Statements

  1. PascalCount howMany
  2. LargeSignTest pValue

Last modified: Mon Mar 28 18:26:41 EST 2005