CS 1713 Introduction to Computer Science:
Comments on Project 2
This project was graded out of 20 points.
Part 1: 7 points (constructor 3, getLength 1, getAsInt 1, toString 2)
Part 2: 5 points (getMax 1, getAs.. 1, getAll 2, showArray 1)
Part 3: 8 points
Extra credit: 2 points each for Parts 4 and 5, maximum of 5 points
4 students attempted part 3 and 2 were successful.
- The constructor should handle length 0 and length 1.
- The constructor should fill the array.
- Do not do any printing except in the tester.
- getMaxLength does not need an array.
- getMaxLength should not just hard code the result. You must calculate it.
- getAllAsInt must make a copyt of the array, not just a new array variable.
- You do not need to save the array length.
- showArray was from exam 2.
- showArray should be in the tester.
Below is some sample code:
FibonacciListSimple.java
FinonacciListLarge.java