This is the second part of a two part programming assignment. In this part, we are implementing probing to handle
synonyms.
This program will use your code from the first programming assignment.
IMPORTANT: make a backup of your entire assignment 1 code base BEFORE starting this assignment. The changes in this
assignment may break your assignment 1 functionality.
EXTRA CREDIT OPPORTUNITY: This assignment allows for 10 points of EXTRA CREDIT IF you implement vehicleDelete()
(see below) AND you correctly process p2ExtraInput.txt
Files I provide :
src/java/main package
P2Main.java contains the main() entry point for the SECOND programming assignment, which invokes
your functions. This class will be used INSTEAD OF assignment 1s Main class.
src/java/misc package
MutableInteger.java an integer wrapper so that the integer content can be changed inside a called
function.
p2Input.txt stream input file used by the driver to specify what needs to be invoked
p2ExtraInput.txt used for the extra credit input
This program requires you to make changes to some of your previous functions and add some new ones. All of your work
will be done in StudentFunctions.java (and a small modification to pom.xml)
GRADING RUBRIC
-30 Program 1 bugs cause incorrect output
-30 Synonym insertion is incorrect
-20 Not properly detecting too many collisions
-10 Update is incorrect
EXTRA CREDIT: +10 pts if vehicles correctly delete