test 2 | programming language design - summer'2008, dr. s. yurttas - solution
rationale
This is your test-2 take-home problem to practice and show that you're able to implement and test given classes.

You'll practice fundamentals of programming languages using object-oriented language c++ abstraction mechanisms to implement and test classes.

You'll use existing libraries(stl) and functions, such that, add, and/or extend the existing ones with your components.

problem
  • You'll rewrite the given c++ class template based using stl types as data members and upgrade the member functions as appropriate.
  • You'll rewrite test function as abstracted template function and instantiate it both for int and double type test data.
  • You can improve and extend the given code to adapt it with better abstractions in the choice of your implementation type.
  • Structuring and composition as interface/implementation separation and testing function should be provided.
  • You can use and/or reuse C++ examples.
  • This is a take-home test and university honor code is to be followed.
  • No excuses acceptable like unavailable access or machine is down.
  • Turn in is on your students.cs.tamu.edu site with a new test link.
credit : 100 test-2 points due July 30 by 11pm.

Valid XHTML 1.0 Transitional