Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework

I need help with a Project in Java, is a final project and I

Customer Question
have no idea how to...
I need help with a Project in Java, is a final project and I have no idea how to do it, I also can provide the java documents that I've been given to
Submitted: 1 year ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Customer reply replied 1 year ago
This is the project I talked to:This project has two objectives:
• Simulate a recursive method using a stack. It should work with either an array implementation or a linked-list implementation of the Stack ADT.
• Gain experience implementing an efficient sorting algorithm.
1.Implement the Stack ADT efficiently using an array. To make it a bit interesting, make the stack grow from the end of the array instead of the beginning
It is up to you to determine which end (length-1 or length-itemCount) should be the top to make this efficient.
2. Implement the Stack ADT efficiently using a linked list. Again, to make it a bit more interesting, use an empty head node. (This is really not necessary for a stack, since we never remove any node except the first content node – the top of the stack.) Be sure to keep the head node empty.
3. Create an abstract subclass SortableArrayListWithStack of the abstract class SortableArrayList that I have provided. In this class, override the recursive method binarySearch with a method that uses a stack of activation records to simulate the recursion. This class should have a new constructor that allows the caller to specify the type of stack. Note that you will need to create an inner class ActivationRecord for the activation records for binary search. You can model this on the ActivationRecord class for FactorialCalculatorWithStack. Note, however, that it will contain different parameters and local variables.
At this point, you should test your implementation. One way to do this is to modify the class SortableArrayListWithBubbleSort so that it extends SortableArrayListWithStack (instead of just SortableArrayList). To run your tests, you can use the driver for a list of Strings that I have provided (modified to use a SortableArrayListWithStack. (I have also provided a text file animals.txt that you may use for input.) Be sure to test that it works for an item in the middle of the list, the item at the beginning of the list, the item at the end, and at least one item that is not in the list.
4. Create a new class SortableArrayListWithMergeSort or SortableArrayListWithQuickSort that extends your class SortableArrayListWithStack. This class should implement the method sortSubArray to use the appropriate sorting algorithm using recursion. You do not need to use a stack to simulate the recursion here.
Once again, you should test your implementation of this class using the driver I have provided (with an appropriate modification).
5. Write a new driver that creates a SortableArrayListWith…Sort. It should populate the list with random integers between 0 and 100 (using java.util.Random), print out the unsorted list and allow the user to search the unsorted list. It should then sort the list, print out the sorted list, and allow the user to search the sorted list. You may, of course, use the driver I have provided as a model.
6. (EXTRA CREDIT) Create a class SortableArrayListWithStackMergeSort or SortableArrayListWithStackQuickSort that uses a stack with appropriate activation records to simulate the recursion in Merge Sort or QuickSort. Write a modified driver that can be used to test your new class.
Answered in 18 hours by:
3/24/2016
Tutor: Mr. Gregory White, Professor replied 1 year ago
Mr. Gregory White
Category: Homework
Satisfied Customers: 5,240
Experience: M.A., M.S. Education / Educational Administration
Verified

Hello, my name is Greg.

Can you provide the specifics of what you are needing for this prompt as what you have provided above does not really show what is required. The more information you can provide, the easier it will be to find an expert who is best able to support your needs.

You can upload using a file sharing site such as mediafire.com or wikisend.com and then share the link here with us.

Ask Your Own Homework Question
Customer reply replied 1 year ago
in this zip folder, there is all the information about the project
http://www.mediafire.com/download/fgxy05jcxrsma65/Project_2.zip
Customer reply replied 1 year ago
Hi, I would like to know if you can help me?
Tutor: Mr. Gregory White, Professor replied 1 year ago

After going through my resources, I do not have what is necessary to complete at this time.

I am opting out and opening up to the other professionals and messaging a couple who might be able to help.

Someone should be with you shortly.

Ask Your Own Homework Question
Ask Scott Your Own Question
Scott
Scott
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3,040
3,040 Satisfied Customers
Experience: MIT Graduate (Math, Programming, Science, and Music)

Scott is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

5,672 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,549 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,635 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,158 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
I cannot get started with this assignment in my DBM 381
I cannot get started with this assignment in my DBM 381 class … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,158 satisfied customers
BusinessTutor: HELP ME. I need you to do the problem solved.
BusinessTutor: HELP ME. I need you to do the problem solved. Look below: http://www.mediafire.com/?ojdihu5x6eyofne http://www.mediafire.com/?aeb9wdeb2o374yl (problems questions & answers) Its due asap… read more
Manal Elkhoshkhany
Manal Elkhoshkhany
Tutor
Foundation classes for MBA
4,549 satisfied customers
Smallest unit of matter that has all the properties of an element
Please help I only have one hour: 1. Which of the following is the smallest unit of matter that has all the properties of an element? (Points: 4) molecule element atom compound electron 2. Isotopes of… read more
Bizhelp
Bizhelp
CPA
Bachelor's Degree
1,887 satisfied customers
Random variable is normally distributed with a mean
Random variable is normally distributed with a mean of μ = 50 and a standard deviation of σ = 5. What is the probability the random variable will assume a value between 45 and 55 (to 4 decimals)? What… read more
R.R. Jha
R.R. Jha
Bachelor\u0027s Degree
150 satisfied customers
HEALTH, SAFETY, AND NUTRITION FOR THE CHILD 605844RR -
HEALTH, SAFETY, AND NUTRITION FOR THE YOUNG CHILD 605844RR - Preventing Illness and Injuries When you have completed your exam and reviewed your answers, click Submit Exam. Answers will not be recorde… read more
GLENN
GLENN
Master of Mathematics
330 satisfied customers
I need the following flowchart for Car Class in MS Word. The
I need the following flowchart for Car Class in MS Word … read more
Dr. Donna Kakonge
Dr. Donna Kakonge
Doctor of Education
191 satisfied customers
FOR Discussion Question 1 • Due Date: Day 2 [post to the
FOR ANGELA Discussion Question 1 • Due Date: Day 2 [post to the Main forum] • Post your response to this question: Consider the statement “psychology has a long past but a short history.” What do you … read more
Seanna
Seanna
Tutor
1,781 satisfied customers
When I open a word document it has a character string 20 and
When I open a word document it has a character string 20 and places that character after I type each line. This is just a recent problem and. How can have work not insert that character?… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,158 satisfied customers
I need help regarding javascript with custom objects and
I need help regarding javascript with custom objects and constructors. I am having trouble calling an onclick function in a form to an array.… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,672 satisfied customers
Fiscal restraint is defined as: a. Tax hikes or spending
Fiscal restraint is defined as: a. Tax hikes or spending cuts intended to reduce aggregate demand. b. Tax hikes or spending cuts intended to increase aggregate demand. c. Tax cuts or spending hikes in… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,635 satisfied customers
Explain the types purpose and function of materials and
Explain the types purpose and function of materials and equipment needed for the administration of medication via the different routes … read more
Dr. Donna Kakonge
Dr. Donna Kakonge
Doctor of Education
191 satisfied customers
I have a couple of basic java questions i need answered.
I have a couple of basic java questions i need answered … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,672 satisfied customers
The Use case diagram for a tracking system using clusters of
The Use case diagram for a tracking system using clusters of sensors. I am now in phase 3 and I did all the documentation but I need to deeply understand the logic behind the IoT to proceed correctly … read more
Dr. Donna Kakonge
Dr. Donna Kakonge
Doctor of Education
191 satisfied customers
This week you'll be making the following refinements to the
This week you'll be making the following refinements to the class that you wrote in the last assignment. All the requirements from that class are still in force. For example, all MyStrings must always… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,672 satisfied customers
I asked a question and will pay but the site asks me to
hi i asked a question and will pay but the site asks me to verify an ammount below 200 usd which i want to but it does not give me the option to do so, please help… read more
GLENN
GLENN
Master of Mathematics
330 satisfied customers
Which if the following is not included unpaid-in capital?
which if the following is not included unpaid-in capital? common stock pain-in capital-donations stock dividend distributable appropriation per loan agreement … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,158 satisfied customers
A rifle with a longer barrel can fire bullets with a larger
A rifle with a longer barrel can fire bullets with a larger velocity than a rifle with a shorter barrel. A. Explain this using the impulse momentum theorem B. Explain this using the work energy theore… read more
GLENN
GLENN
Master of Mathematics
330 satisfied customers
This question is just for Dr. Kakonge. This purpose is to
Hello. This question is just for Dr. Donna Kakonge.This purpose is to pay the payment to Dr. Donna Kakonge on 06/16/2017 again because of something wrong about payment on 06/16/2017.The question on 06… read more
Dr. Donna Kakonge
Dr. Donna Kakonge
Doctor of Education
191 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x