Skip to content

CorruptProfile/java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

REQUIREMENTS

  1. 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.

  2. 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).

  3. 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

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:

  1. array 1 with 20 elements;
  2. array 2 with 2,000 elements;
  3. 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

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:

  1. 20,30 & 40 elements
  2. 2,000, 3,000 & 4000 elements
  3. 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.


Final Team submission (posting) should include:
  1. Data Structure and data processing Java source code files
  2. JUnit test class & test int[] array Java source code files
  3. Big O Notation elapsed time measuring Java source code files
  4. Screen shots of the JUnit GUI and test results (positive and negative as described above)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages