Project 2

Due date: Friday, September 19 (FIRM)


  • Familiarity with test-driven development.
  • Review of linear data structures.


Complete the List Performance Example – perform the following steps:

  • Import the cs2-lab5-listperformance-java project from following the usual steps but naming your new private repository cs313f14p2
  • Check out the cs313f14p2 repository into Android Studio.
  • Fix the syntax errors (if any, though there probably aren't any).
  • Complete the parts marked as TODO. Use the TODO view to find these easily (View > Tool Windows > TODO).
  • Make changes and repeat until the unit tests pass.
  • Commit your changes.
  • Keep your code up to date in your repository by pushing changes continually! This means that you are expected to keep your code in your repository (and push changes continually) as opposed to working only locally and pushing only at the end to submit your work. In this way, you will gain experience in working with version control systems.
  • Summarize your findings (answers to the questions embedded in the code) in a file called README.txt in the cs313f14p2 folder, add it to your project, and commit it to Bitbucket.
  • Notify the instructor and TA when the project is ready to be graded.
  • 1 submission via Bitbucket repo (should still show Dr. Laufer's history before your clone)
  • 1 completing the parts marked as TODO
  • 1 adding the README answering questions embedded in the code
       3 points total


In the section of the project where it says "also try with a LinkedList - does it make any difference", you can simply add a new line for LinkedList in the source file and just comment out each one for testing.