Assignment 1: pg 62 #2.28 - Please do this using integer division and modulus. Due: Monday 1/30/2012
Assignment 2: pg 99 #3.12 - Please create three files, a class header file (*.h), a class implementation file (*.cpp), and an application file (*.cpp) - Due Monday 2/6/2012
Assignment 3: The Monty Hall Problem Due Thursday, 2/16/2012
Assignment 4: Function Template Assignment Due Thursday, 2/23/2012
Assignment 5: pg 394, #8.12 - Simulation: The Tortoise and the Hare - Due Thursday 3/29/2012
Assignment 6: pg 427, # 9.6 - Rational Class - Due Thursday 4/5/2012 - Note: Rational numbers should stored be in reduced form so that 3/6 is stored as 1/2. Fractions are reduced by finding the Greatest Common Divisor. You can use the Euclidean algorithm for finding the GCD. The Euclidean algorithm notes that GCD(x,y) = GCD(y,r) where x >=y, and r is the remainder after dividing x/y. We repeat the previous operation until r = 0. The last y is the GCD.
Assignment 7: pg 449, # 10.10 - Card shuffling and dealing - Due Thursday, 4/12/2012
Assignment 8: pg 492, #11.8 - Complex class part deux - Due Thursday, 4/19/2012 - Note: Reuse your code from Lab 7 as much as possible.
Assignment 9: pg 625 # 13.16 - Polymorphic Banking Program - Due 4/26/0212 Note: Please use one class per file, and create a makefile for the project.
Lab 0: Getting Started - Due: At conclusion of lab 1/20/2012
Lab 1: Employee Class - Due: At conclusion of lab 1/27/2012
Lab 2: Pythagorean Triangles - Due: At conclusion of lab 2/3/2012
Lab 3: Histogram - Due: At conclusion of lab 2/10/2012
Lab 4: Pass by Value and Pass by Reference - Due: At conclusion of lab 2/17/2012
Lab 5: Two Dimensional Array - Due: At conclusion of lab 2/24/2012
Lab 6: Using Pointers - Due at conclusion of lab 3/23/2012
Lab 7: Complex Class - Due at conclusion of lab 3/30/2012
Lab 8: Rational Class - part deux - pg 498, #10 - Due at conclusion of lab, 4/13/2012 - Note: Reuse your code from Assignment 6 as much as possible.
Lab 9: Account Inheritance Hierarchy - pg 570 #12.10 - Due at conclusion of lab 4/20/2012 Note: Please use one class per file, and create a makefile for the project.
Exam 1: Monday, February 27, 2012
* One page of handwritten notes
Topics:
Final Project:
Final Project: A Music Database - Due 5/15/2012