Giter Site home page Giter Site logo

ci285-calculator's People

Contributors

grrinchas avatar

Watchers

 avatar  avatar

ci285-calculator's Issues

Create use case model

Use case model for calculations

It shows all the operations which user can perform. Later releases may have much more.

use case model v1

Description

  • Name: Calculate two numbers
  • Actors: User
  • Goal: Perform basic calculator operations
  • Preconditions: System is operational
  • Postconditions:
    • Success: User enters two numbers AND chooses operation AND gets correct result
    • Failure: User can't enter two numbers OR user doesn't get result OR result is incorrect
  • Main scenario:
  1. User opens main page of the web app
  2. User enters first number
  3. User enters second number
  4. User choose operation
  5. User presses calculate
  6. System sends request to the server
  7. System performs operation
  8. System sends response to the user
  9. System displays an answer to the user
  • Extensions:
  • 2a. User enters non digit character
    • 2a.1 System displays message
    • 2a.2 Go to 2
  • 3a. User enters non digit character
    • 3a.1 System displays message
    • 3a.2 Go to 3
  • 4a. User skips choice
    • 4a.1 System leaves default add operation
    • 4a.2 Go to 5

Create user story

Tom - an average internet user wants to find out how much is 456846846 / 183138. He doesn't have a calculator at the moment but has internet access. He enters online calculator in the google and it finds CI285-calculator website. He enters both his numbers, chooses division and submits calculation. In a second he gets his answer.

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.