-
Each Team will build a different JCF Data Structure and fill it with the Random Arrays constructed by Team 1. Each Team will use Test-Driven Development (TDD) with JUnit to build the Team’s assigned Data Structure in accordance with the instructions for Constructing & Verifying Data Structures using TDD & JUnit discussed below.
-
Each Team will then demonstrate the efficiency of the Team’s JCF Data Structure using Big O Notation. This efficiency will also involve measuring the elapsed time for searching and sorting the Team’s assigned JCF Data Structure (if required).
-
The Team will post its completed JCF Data Structure and results. Team 1 will verify (1) the Team’s JUnit tests to build the Team’s assigned Data Structure; (2) the results of each Team’s efficiency result in Big O Notation, for searching/sorting elapsed time; (3) all necessary Java source code files & screen shots to prove successful execution.
Team 1 will construct 3 int[] arrays with random numbers from 20 to 20,000, using the techniques discussed in the Monographs on searching & sorting:
- array 1 with 20 elements;
- array 2 with 2,000 elements;
- array 3 with 20,000 elements;
These arrays will be made available for the use of all the Teams.
For Team 8, please create the int[] arrays as mentioned above, but ensure the smallest element value is greater than the number of elements in each int[] array. This will ensure a correct Hash Value index.
Team 1 will rerun each Team’s JUnit tests to ensure that the Team’s assigned JCF Data Structure meets the Team’s assigned design requirements.
Team 1 will then verify each Team’s efficiency result for searching and sorting using Big O Notation as explained in the Construction & Verification Section below.
Team 8 will construct 3 Hash Tables to store the data contained in the 3 initial int[] arrays created by Team 1.
The Hash Tables will be:
- 20,30 & 40 elements
- 2,000, 3,000 & 4000 elements
- 20,000, 30,000 & 40,000 elements respectively
Team 8 will count the number of data collisions for each Hash Table storage effort and plot this number against the number of elements in each Hash Table.
Team 8 will search the contents of each Hash Table for the first 2 even integers between 1,000 and 10,000 and record the efficiency results from Big O Notation using elapsed time.
Team 8 will then post the 3 Hash Tables for Team 1 along with efficiency results.
- Data Structure and data processing Java source code files
- JUnit test class & test int[] array Java source code files
- Big O Notation elapsed time measuring Java source code files
- Screen shots of the JUnit GUI and test results (positive and negative as described above)