Exercise
B 11/11/2006
|
String Lists 2
|
Due: Tuesday, November 21 5pm
(NOTE DIFFERENT DUE TIME)
|
Relevant Reading:
- Readings on Arrays in Head First Java:
- Pgs 17-19
- Chapter 3, starting at page 59
- Pg 83
Assignment: (worth 10 exercise points)
Use the files in the folder of ex11-11-B.zip
file as your basis for this assignment.
In this folder, you will find a StringList class and a
StringListTester class. You are to fill in the methods in the StringList class. If you have
any questions
about how any of these methods should work, ask.
The tester program is different than the one in the StringList practice exercisethis time. Each method can be
tested separately and has a series of test cases. If a test case
fails, FAILED will appear on screen. If it passes, PASSED will
appear on screen. If all tests PASSED, you are fine.
NOTES:
- I suggest that you get each method to work before
moving on to the next one.
- This relies on the file WorkingStringList.class Do not remove this file.
Handin:
-
Be sure to read the general handin instructions on the exercises page.
-
Rename the folder containing all of the files to be
"lastname-firstname-100SectionLetter-stringlist2". For example, if I were in Section Z, I would rename my folder to
be: "McElfresh-Scott-100Z-stringlist2"
(without the quotes).
- Create a zip file of this folder, with the same name as the folder (except
with the .zip ending this time). Instructions for zipping can be found in
the system and software handouts linked on the main course page.
- Submit this file via the electronic
handin. If you have problems, contact me.
|