Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions