Question: Java: Create an application that accepts a charge account number as its arguments from an UI. The program should determine whether the number is valid

Java:

Create an application that accepts a charge account number as its arguments from an UI. The program should determine whether the number is valid by comparing it to the valid charge account numbers reading from a file. Use Quicksort algorithm to sort the numbers first then apply binary search to locate the valid account numbers.

These are the requirements:

  1. The program should read the valid numbers from a given text file (Note: I will use my own text file for testing)
  2. The title of your application should say Charge Account Validation
  3. The user should display the valid numbers in a UI Textbox
  4. The code should compile
  5. Un-compiled code will lose 50%
  6. The .java filename should match with the class name
  7. Error handling should be in place (use chapter 11 materials) for sanity check as #8
  8. Sanity check for file is empty or file does not exist.
  9. If any file error, it should be displayed in a dialog (10 bonus points)
  10. Documentation should be used for all classes and methods
  11. Follow the coding standard provided in the overview slide
  12. Submit with .zip with your name
  13. Each day late will loose 10 points after 7 days it will be 0 and I will not accept after March 7th.
  14. Canvas submission will be closed after due date , any late submission will have to email me
  15. In the beginning of each class the following comments should be added

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!