Write ONE application program (Java) by using the following requirements: 1. Flow-chart for the algorithm must...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write ONE application program (Java) by using the following requirements: 1. Flow-chart for the algorithm must be created by using Word Application. Your project grade is zero without the algorithm flow-chart. (10 points) o If I do not understand your program, I might check your flow-chart or contact you to explain how it works. You have no grade on the item or items if I have no answer(s) from you. 2. File input and output (10 points) a. Input file(s) need to be submitted b. Input file must have.txt extension 3. Exception handling (10 points) a. You can create your own exception classes or b. You can use existing exception classes from Java API or Python Standard Library 4. Inheritance a. At least one superclass or abstract superclass: this class needs to have data members, accessor, mutator methods (5 points) b. At least one subclass: this class also needs to have data members, accessor, mutator methods (5 points) c. At least one interface: this interface needs to have at least two abstract methods (5 points) d. At least one method overloading (5 points) e. At least one method overriding (5 points) f. At least one static member and one static method (10 points) g. Polymorphism: you need to have at least one superclass reference to reference objects of a subclass (5 points) h. At least one aggregation in a class (5 points) 5. Data Structure a. Array based data structure can be selected from Stack, Queue, Priority Queue or Deque (5 points) b. Two sorting algorithms can be selected from (10 points) i. Insertion sort ii. Bubble sort iii. Selection sort iv. Merge sort v. Quick sort vi. Heap sort c. Recursive method must be used in the project (5 points) d. Searching algorithm can be selected from either linear search or binary search (5 points) 6. Within your project, PLEASE include comments at the place where you use the above items. I will deduct the points if I cannot find the above items within your project. Write ONE application program (Java) by using the following requirements: 1. Flow-chart for the algorithm must be created by using Word Application. Your project grade is zero without the algorithm flow-chart. (10 points) o If I do not understand your program, I might check your flow-chart or contact you to explain how it works. You have no grade on the item or items if I have no answer(s) from you. 2. File input and output (10 points) a. Input file(s) need to be submitted b. Input file must have.txt extension 3. Exception handling (10 points) a. You can create your own exception classes or b. You can use existing exception classes from Java API or Python Standard Library 4. Inheritance a. At least one superclass or abstract superclass: this class needs to have data members, accessor, mutator methods (5 points) b. At least one subclass: this class also needs to have data members, accessor, mutator methods (5 points) c. At least one interface: this interface needs to have at least two abstract methods (5 points) d. At least one method overloading (5 points) e. At least one method overriding (5 points) f. At least one static member and one static method (10 points) g. Polymorphism: you need to have at least one superclass reference to reference objects of a subclass (5 points) h. At least one aggregation in a class (5 points) 5. Data Structure a. Array based data structure can be selected from Stack, Queue, Priority Queue or Deque (5 points) b. Two sorting algorithms can be selected from (10 points) i. Insertion sort ii. Bubble sort iii. Selection sort iv. Merge sort v. Quick sort vi. Heap sort c. Recursive method must be used in the project (5 points) d. Searching algorithm can be selected from either linear search or binary search (5 points) 6. Within your project, PLEASE include comments at the place where you use the above items. I will deduct the points if I cannot find the above items within your project.
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
MUST BE CORRECT ANSWERS A small software company has the following simplified cashflow, funded by shareholders' equity of 20,000 and a bank overdraft of 5000: Invoiced money received 2 months after...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Prepare journal entries to record each of the following transactions. The company records purchases using the gross method and a perpetual inventory system. June 1 9 Purchased merchandise with a...
-
How is production leveling accomplished?
-
An insurance company must make payments to a customer of $1 million in one year and $400,000 in four years. The yield curve is flat at 10%. Use annual compounding. If the company wants to fully fund...
-
If the wind becomes strong enough, it is "impossible" to paddle a canoe into the wind. Estimate the wind speed at which this will happen. List all assumptions and show all calculations.
-
At the beginning of September, Selena Cantu started Cantu Wealth Management Consulting, a firm that offers financial planning and advice about investing and managing money. On September 30, the...
-
Blossom Company is considering two different, mutually exclusive capital expenditure proposals. Project A will cost $450,000, has an expected useful life of 11 years, a salvage value of zero, and is...
-
Do neutrinos have mass ? Definitive evidence has emerged for neutrinos having mass. The implications are significant, as discussed in this chapter. There are effects on the closure of the universe...
-
A 35 year-old woman who is on her 30th week of gestation prematurely gave birth to a male newborn via Caesarean section. The attending pediatrician diagnosed the newborn to have Acute Respiratory...
-
Assume you are a grain producer and you want to sell some corn for December delivery. The questions below present different scenarios for futures price and basis between today and December. In each...
-
Question 6. A Gaussian random variable with mean 0 and variance 10 and an Exponentially distributed random variable with mean 1 fall in love at first chat. As they chat about meeting in person, they...
-
write a code and I can't seem to get it. I'm not sure if I'm making a minor error or what I'm doing wrong. How can it be written to produce the correct output? Write a program that first reads in the...
-
How does Media Arts integrate emerging technologies such as augmented reality and machine learning to redefine narrative structures and audience engagement ?
-
Any suggestions, alternatives? The Gazebo Market at GrandValleyStateUniversity is the smallest of three Dining Services locations in the atrium of its downtown campus in Grand Rapids, Michigan, and...
-
If |62x|>9, which of the following is a possible value of x? A. 2 B. 1 C. 0 D. 4 E. 7
-
What ideas do you have for a new business? How can you multiply the stimuli around these ideas to enhance them and identify attractive opportunities?
-
What do you really enjoy doing? What is your passion? Can your passion be a platform for a viable opportunity?
-
What do your friends and family envision you doing? What strengths and weaknesses do they observe? How do their insights help lead you to an opportunity that is right for you?
Study smarter with the SolutionInn App