(Solved) : Modified Signature Project 12 Cs 1323 4 Spring 2019 One Method Take Two Dictionaries Perfo Q37179572 . . .

Your modified signature: Project 12 CS 1323-4, Spring 2019 One method should take the two dictionaries and perform spell checking. One of these dictionaries is perfect size and the other is oversize so think through the signature carefully. This method will have to update the array that contains the oversize dictionary Description In this project you are going to rework a program someone else wrote using a new way of storing and organizing data. You will take a program that used arrays and implement it using ArrayList objects. In general, ArrayList objects are easier to use than arrays. For example, both perfect size and oversize arrays fit nicely into Arranǐ objects. Commercial software engineers work with other people’s code all the time, so it is a good experience in general to have-especially if you’re thinking of a computer cience major Original signature: public static int processloputiStringll global, String[] personal, int personalSize) Your modified signature: There will also be a main program that will call the methods above. I recommend changing over one method at a time, then testing and making sure that it’s still working You may need to comment out the rest of the code to avoid syntax errors. When you comment out big chunks of code, use/to start the comments and /to end them. Modifying Method Signatures Since you’ll use an ArrayList to replace both a perfect size array and an oversize array, you’ll need to change every method signature somewhat. I’ve put the method signatures from my code in the document below. These will need to be modified to use an Arravlist You may want to determine the signatures before you start modifying code. Remember that one of these methods will be unnecessary after converting to ArravLiat. One method should read the global dictionary into a perfect sized array. Original signature: public static Stringll tsadDictionarylString fileName) Your modified signature: One method should read the personal dictionary into an oversized array Original signature: public static int readDictionaryFixedSize(Strinel) array, String fileName) Your modified signature: One method should write the personal dictionary (stored in an oversized array) out to a file. Original signature: public static void writePersonalDictionary Stringl) personal Dictionary, int size, String file Name) Show transcribed image text Your modified signature: Project 12 CS 1323-4, Spring 2019 One method should take the two dictionaries and perform spell checking. One of these dictionaries is perfect size and the other is oversize so think through the signature carefully. This method will have to update the array that contains the oversize dictionary Description In this project you are going to rework a program someone else wrote using a new way of storing and organizing data. You will take a program that used arrays and implement it using ArrayList objects. In general, ArrayList objects are easier to use than arrays. For example, both perfect size and oversize arrays fit nicely into Arranǐ objects. Commercial software engineers work with other people’s code all the time, so it is a good experience in general to have-especially if you’re thinking of a computer cience major Original signature: public static int processloputiStringll global, String[] personal, int personalSize) Your modified signature: There will also be a main program that will call the methods above. I recommend changing over one method at a time, then testing and making sure that it’s still working You may need to comment out the rest of the code to avoid syntax errors. When you comment out big chunks of code, use/to start the comments and /to end them. Modifying Method Signatures Since you’ll use an ArrayList to replace both a perfect size array and an oversize array, you’ll need to change every method signature somewhat. I’ve put the method signatures from my code in the document below. These will need to be modified to use an Arravlist You may want to determine the signatures before you start modifying code. Remember that one of these methods will be unnecessary after converting to ArravLiat. One method should read the global dictionary into a perfect sized array. Original signature: public static Stringll tsadDictionarylString fileName) Your modified signature: One method should read the personal dictionary into an oversized array Original signature: public static int readDictionaryFixedSize(Strinel) array, String fileName) Your modified signature: One method should write the personal dictionary (stored in an oversized array) out to a file. Original signature: public static void writePersonalDictionary Stringl) personal Dictionary, int size, String file Name)
Expert Answer
Answer to Your modified signature: Project 12 CS 1323-4, Spring 2019 One method should take the two dictionaries and perform spell…
OR