Giter Site home page Giter Site logo

qcalc's Introduction

Calculator

This project aims to develop basic skills in Java and Object-Oriented Programming (OOP) principles by building a subset of features commonly seen in calculators.

Overview

During the course of this micro-experience, the developer focused on the following tasks:

  • Made use of different features of the VSCode IDE to build the project.
  • Implemented a basic calculator by applying OOP principles.
  • Wrote unit tests to ensure the correct handling of edge cases.
  • Fixed bugs in the implementation of newly introduced calculator features.

Implement Simple Calculator

Scope of Work

  • Generated a Java Gradle Project using the Spring Initializer Extension in the VSCode IDE.
  • Implemented basic arithmetic operations with two numbers and wrote unit tests to verify the functionalities.
  • Implemented new methods to support floating-point arithmetic operations using method overloading.

Skills Used

Java, Unit Testing, JUnit

Identify and Handle Exceptions

Scope of Work

  • Identified and handled exceptions for invalid data.
  • Wrote unit tests to validate the exceptions being thrown.

Skills Used

Java, Unit Testing, JUnit, Exception Handling

Implement Scientific Calculator

Scope of Work

  • Extended the existing class to support new features for a Scientific Calculator.
  • Reused and improved upon the existing features.

Skills Used

Java

Debug and Fix Issues

Scope of Work

  • Fixed compilation errors caused by syntax or import issues.
  • Corrected logical issues in the code.
  • Fixed the behavior of a method when data is invalid.
  • Wrote unit tests for edge cases that were initially not considered.

Skills Used

Java, Unit Testing, JUnit, Exception Handling

qcalc's People

Contributors

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