final test | programming language design - summer'2008, dr. s. yurttas - solution
rationale
This is your final test take-home problem to practice and show that you're able to implement and test given classes in C++ to be rewritten either in Java | C#.

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

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

problem
  • You'll rewrite the given c++ class generic based using api|msdn types as data members and upgrade the member functions as appropriate.
  • You'll rewrite test class as abstracted generic class with a test method 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++, Java, and 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 final test points due August 5 by 10:30 a.m. - 12:30 p.m.

Valid XHTML 1.0 Transitional