Code Monkey home page Code Monkey logo

soen6011-eternity's Introduction

SOEN 6011 - Software Engineering Project - Eternity

This project is to develop a calculator application to calculate standard deviation function.

Pre Requisites

Install Java 8 or above.

Releases

Build : 1.0.1

Recent Bug Fizes:

  • Resolve division by zero error.

Compile

  1. IDE

    • Import Project into IDE.
    • Build the project
  2. Command Line

    • Go to SOEN6011-Eternity directory
    • Type the following command
          javac -d "classes" src/app/App.java src/app/AppFrame.java src/math/Statistics.java

Run the Application

  1. Double click the Calculator-1.0.1.jar

  2. Command line - Running Jar file

      java -jar Calculator-1.0.1.jar

Note: Calculator-1.0.1.jar located in the target folder.

  1. IDE

    • Run the project from IDE by selecting App.java as main application.
  2. Command Line - Running App.java

    • After the compilation is successfull though command line. Run the following command.
          java -classpath "classes" app.App

Application working

  1. Enter numbers in comma separated format in the textfield and click calculate. Alt text

  2. Upload a file with numbers where each number is on a separate line and click calculate. Alt text

Note: The input is text field is given preference over the file input. Keep the textfield blank while using File as input.

Direcotry Structure

  1. src : contains source code of the project.

    • app : package contains code for User Interface in AppFrame.java and main method in App.java
    • math : package contains Statistics.java which has implementaiton and supporting function for standard deviation.
    • test : package contains unit test file for Statistics.java
  2. resources : contains resources for the project

    • input : contains sample input file with approximately 1 million records
    • images : contains images used in README.md
  3. target : contain final artifact Calculator-1.0.1.jar

  4. doc : contain javadoc file. Run index.html to view javadoc.

soen6011-eternity's People

Contributors

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