Midterm Exam, CSCI 330, Fall 2020


  1. Relationships: for the relationships Shared Aggregation, Composition, Inheritance.
  2. Object Design
  3. [4 points] Describe the ADT vector. List domain and operations.
  4. Iterators
  5. [4 points] Describe the operation of the new [] operator in C++.
  6. Unit testing
    1. [2 points] What is a unit test?
    2. [2 points] How can implementing unit tests during the design process improve the final product?
    3. [2 points] How can a test framework improve the software development process?
    4. [2 points] Describe how unit tests evolve during the software development process.
  7. [10 points] Complete the following program.

Submission Instructions