Question: In java! The first one is hw6 which needs to be done and other is hw5 I have attached hw 5 code. The last image

In java! The first one is hw6 which needs to be done and other is hw5
I have attached hw 5 code.
The last image is question of hw5
 In java! The first one is hw6 which needs to be
done and other is hw5 I have attached hw 5 code. The
last image is question of hw5 This assignment is due on 07/26/18
at 11:59-59am Task: Implementating the following Java interface and classes: Interface: PQueue
.Abstract class: AbstractPQueue . Concrete classes: UnsortedPQueue and SortedPQueue Requirements: 1. The
implementation of PQueue, AbstractPQueue and UnsortedPQueue must follow what 2. Implement the
SortedPQueue classes by using either ArrayList or LinkedList. discussed in the class.

This assignment is due on 07/26/18 at 11:59-59am Task: Implementating the following Java interface and classes: Interface: PQueue .Abstract class: AbstractPQueue . Concrete classes: UnsortedPQueue and SortedPQueue Requirements: 1. The implementation of PQueue, AbstractPQueue and UnsortedPQueue must follow what 2. Implement the SortedPQueue classes by using either ArrayList or LinkedList. discussed in the class. Any other implementation will NOT receive any credit. 3. List, ArrayList and LinkedList should be based on your earlier implementation in HW5. For those who didn't have a working version of the List, ArrayList and LinkedList implementation, please contact the TA for the assistance. 4. Test: write a performance comparison program to compare the performance of the insert0 and removeMinO operation of the two PQucues in running time. To do that, you need to construct one UnsortedPQueue and one SortedPQueue, respectively, by using the same data source, 1,000 data elements. In the performance comparison test, try to time the operation of inserting 1,000 elements and time the operation of removing the same 1,000 elements. Note, try to obtain the time stamps in milliseconds. You should provide a report similar to the following format: UnsortedPQueue Insertion: xxx mil1iseconds SortedPQueue Insertion xxx milliseconds UnsortedPQueue RemoveMin xxx milliseconds SortedPQueue RemoveMin: xxx milliseconds Submission: 1. Each student submits one copy of the source code: PQueue.java, PQEntry EntryComparator, AbstractPQueue java, UnsortedPQueueu.java, SortedPQueue java and Test.java, as well as all the Java source code related. 2. Create a folder and name it as your Linux user account, e.g., hwang_hw6, by the following command: s mkdir hwang h6 Copy all your source code to the above folder (clean your source code folder and remove all class files). Linux copy command is "cp filename destination folder 3. 4. Compile a README file (in text format only, do not use Microsoft, use gedit instead) and provide the following: o Your name and CSUID o Compiling instruction o A sample test run (again in text) o Existing bug (things not finished) 5. Log in grail, go to the parent director of the folder you created, and run (suppose the your folder is "hwang") turnin -e cis265w -p hw6 hwang hw6 If there is no error message, your submission is successful

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!