Answered step by step
Verified Expert Solution
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:
- The program should read the valid numbers from a given text file (Note: I will use my own text file for testing)
- The title of your application should say Charge Account Validation
- The user should display the valid numbers in a UI Textbox
- The code should compile
- Un-compiled code will lose 50%
- The .java filename should match with the class name
- Error handling should be in place (use chapter 11 materials) for sanity check as #8
- Sanity check for file is empty or file does not exist.
- If any file error, it should be displayed in a dialog (10 bonus points)
- Documentation should be used for all classes and methods
- Follow the coding standard provided in the overview slide
- Submit with .zip with your name
- Each day late will loose 10 points after 7 days it will be 0 and I will not accept after March 7th.
- Canvas submission will be closed after due date , any late submission will have to email me
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started