BuCS 238 Computer Programming II

Class Assignments

> Final Exam : ADT Set due Tue, 9 May 17 at 2:50pm
      Implement ADT Set using the explicit representation method, p 614-616.
      Your universal set is { 0,1,2,3,4,5,6,7,8,9 }, so no mapping function is needed.
      Create in.txt to test your implementation completely.
      This assignment is to be completed with no outside assistance other than from your instructor.

> Assignment 6 : Implement Ch5_QueueLL as a circular linked list due Fri, 28 Apr 17.
      Change the class, methods and driver as appropriate.

> Assignment 5 (from text p 487#13a,c) : Fibonnaci - due Wed, 19 Apr 17.

> Chapter 6 Exercises due Wed, 12 Apr 17
     Fill out exercises 14 and 15 (pp 425-427) on the sheets provided.

> Chapter 5 Exercises due Fri, 7 Apr 2017
     Fill out exercises 4,5,6,7,24,25,26,27,28,29 on the sheet provided.

> Assignment 4 : ADT Sorted List (KSQP) - due Wed, 22 Mar 2017

> Midterm
     1. Add IsEmpty() to Ch4_Sorted.
     2. Add IsThere() to Ch4_Sorted. (p 204 #1)
     3. Change InsertItem to ignore duplicate insert attempts in Ch4_Sorted.
     3. Allow DeleteItem to run if the item is not in the list in Ch4_Sorted. (p 205 #5)

> Assignment 3 : TwoNum Class due Fri, 24 Feb 17
     Write a class called TwoNum which stores two integer numbers.
     The project should be called "TwoNum".
     The class file names should be "twonum.h" and twonum.cpp".
     Create a default constructor which initializes both numbers to zero.
     Create a parameterized constructor which allows you to set the numbers during object creation.
     Create a class method named GetNumbers which returns both numbers to the user in any order.
     Create a class method named Sum which returns the total of the two numbers.
     Create a class method named Set which allows the user to change both numbers at once.
     Create a test driver named "twonumDr.cpp" to test all the features of your new class.
     A good example to use would be time.h and time.cpp from OOP Example.
     You are not expected to input or output using files in this assignment.

> Assignment 2 : Fraction Class due Fri, 10 Feb 2017
     Implement the Fraction Class Case Study as shown in the text pp 52-59
     You do not have to include comments in fraction.cpp
     Check AddToProgram.txt in your Fractions folder for changes to your Fraction Driver

> Assignment 1 : Package - due Mon, 30 Jan 2017

> Assignment 0 : GasPrice (will be completed during class)

This page maintained by bobh@hesston.edu