Homework Assignments

Homework Assignment 5

Due Thr. 5/21/09, programming part due 5/26/09

This assignment covers logic.


Homework Assignment 4

Due Thr. 4/30/09

This assignment is to write up a formal final project proposal.


Homework Assignment 3

Due Tue. April 21 at the start of class.

Programs Due Thr. April 23 at the start of class.

This homework covers search, and contains the first programming problem.

clarifications

You are to turn in the code for problem 1 (sequence prediction) electronically by using the submit program on prime. Here is an example command to submit this first program:

~cs680/bin/submit prog1 *.h *.cc Makefile
Be sure to limit any single submission to at most 20 files.

There is also an interactive version of the command:

~cs680/bin/submit
Or for help:

/home/cs680/bin/submit -h
Be sure to include a Makefile, and include any special instructions for running your program by using a readme.txt file.

I will test your code by executing your program (./prog1). Your program should read a sequence of numbers from stdin (the keyboard) terminated by an end-of-line.

Your program should output a human readable form of the expression that matches that sequence, and what the next number would be.

Recall, as mentioned in class the function you generate should be called with n=1, n=2, n=3, ... to see if it matches the input list of numbers.

For example, the program should yield:

bold indicates things typed by the user.


Homework Assignment 2

Due Thr. April 14 at the start of class.

This homework focuses on search.

clarifications


Homework Assignment 1

Due Tue. April 7 at the start of class.

The 12 coins problem. Be sure to consider your strategy in solving this puzzle.

clarifications


Class Homepage

David M. Chelberg <chelberg@ohiou.edu>
Last modified: Tue May 12 09:45:23 EDT 2009