An understanding of the following concepts and techniques:
- algorithmic complexity
- runtime performance
- how to measure
- how it relates to algorithmic complexity
- abstract data types (ADT)
- array-based versus linked lists
- getting started with iterators
- automated unit testing using JUnit
- testing for exceptions
- test fixtures and assertions
The key idea is to think about this lab like a physics experiment! You will set it up and then take measurements.
- Review the code.
- Fix the syntax errors (if any, though there probably aren't any).
- Run the code for various inputs to gain an understanding of what it does.
- Complete the items marked TODO in the code and get the tests to pass.
- Conduct the performance measurements: you will find the running times in the test report.
- Create a new doc folder in the project.
- Create a document called README.txt in doc and answer the various TODO Questions embedded in the code.
- Add README.txt to the Git project, then Commit and push your code to Bitbucket.