Giter VIP home page Giter VIP logo

java_project's Introduction

Java_Project

CS 401 group project owned by Soham and Shouvik

Problem Specification :-

• In the given problem, a user can input a list of elements of any particular type, and sort the elements using sorting algorithms, and accordingly decide the most effective sorting algorithm. • Similarly, the user needs to apply searching algorithms on the inputted list, and accordingly decide the most effective searching algorithm. • In the given study sorting algorithm is divided based on the complexity of the algorithm :-

  1. High complex sorting algorithm. i. Bubble sort algorithm. ii. Selection sort algorithm.

  2. Low complex sorting algorithm. i. Quick sort algorithm. ii. Merge sort algorithm.

• The designed software program allows a user to choose a sorting algorithm out of the two complexities of the sorting algorithm. • It allows the user to compare efficiency out of the two categories of the sorting algorithm by comparing the computed number of comparison of each algorithm. • Secondly, after sorting is performed on the inputted list, we compare the efficiency of the searching algorithm on the same list. • For comparison between searching algorithms, number of comparisons computed by the linear search on unsorted list is compared with the number of comparisons computed by the binary search algorithm on the sorted list. • Hence, in the end a user can come to a conclusion about the more effective sorting algorithm and search algorithm for the inputted list.

Software Specification :-

The functions used in the software program are as follows:-

  1. java.util.Arrays
  2. javax.swing.JOptionPane
  3. java.util.Scanner
  4. java.lang.Comparable

Operational document:-

  1. The user first needs to compile the given file : LowComplexity.java, HighComplexity.java and Search.java.
  2. The user then needs to compile and run the project.java
  3. Next the user needs to follow instructions given by GUI.
  4. Select the number of entries.
  5. Select the datatype of the entries.
  6. The given input list is printed which was inputted.
  7. Select the high complexity sorting algorithm
  8. We get the sorted list and number of comparisons using the high complexity algorithm.
  9. Similarly, for the low complexity algorithm.
  10. For searching algorithm, user needs to select the element to be searched.

Future improvement document :-

  1. The user can more number of sorting and searching algorithms to the menu.
  2. GUI can be enhanced for better user experience.

java_project's People

Contributors

shouviksharma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.