GithubHelp home page GithubHelp logo

codingpracticewithbluej's Introduction

Git Instructions

  1. Fork this Repository
    • fork this repository to your personal github account
    • clone your forked repository to your local machine
    • Write the code to make all the tests pass. See below for instructions.
      • MAKE SURE YOUR CODE COMPILES
      • Run the tests to verify your code
    • git add . to add files you want to commit
    • git commit -m "commit message" to commit your changes
    • git push your staged files to your remote repository
    • submit a pull request which compares my master to your master

Project Instructions

  • In this project there are 3 Classes to be completed
    • MathUtilities
    • StringUtilities
    • LoopFun
  • Within each class are several methods which must be defined to pass test cases.
  • Each method has a respective Test class.
  • For example:
    • MathUtilities.add can be tested by running the MathUtilitiesAddTest class.
    • MathUtilities.half can be tested by running the MathUtilitiesHalfTest class.
    • StringUtilities.reverse can be tested by running the StringUtilsReverseTest class.

Section 1 - MathUtilities

  • Ensure all test cases in the classes prefixed with MathUtilities pass.
    • e.g. - MathUtilitiesAddTest, MathUtilitiesHalfTest
  • All the methods have been stubbed out for you in the MathUtilities class.
  • Each of the methods have a comment above it to describe the expected behavior.
  • View the test cases to see examples of input and expected outputs.
    • int add(int num1, int num2)
    • double add(double num1, double num2)
    • double half(int number)
    • boolean isOdd(int number)
    • int square(int number)

Section 2 - StringUtilities

  • Ensure all test cases in the classes prefixed with StringUtils pass.
  • All the methods have been stubbed out for you in the StringUtilities class.
  • Each of the methods have a comment above it to describe the expected behavior.
  • View the test cases to see examples of input and expected outputs.
    • Character getMiddleCharacter(String word)
    • String removeCharacter(String value, char charToRemove)
    • String getLastWord(String value)
    • String concatenate(String baseValue, String valueToBeAdded)
    • String reverse(String valueToBeReversed)

Section 3 - LoopFun

  • Ensure all test cases in the classes prefixed with LoopFun pass.
  • All the methods have been stubbed out for you in the LoopFun class.
  • Each of the methods have a comment above it to describe the expected behavior.
  • View the test cases to see examples of input and expected outputs.
    • int factorial(int number)
    • String acronym(String phrase)
    • String encrypt(String word)

CodingPracticewithBlueJ

codingpracticewithbluej's People

Contributors

yangsworkshop avatar ikramsarfraz 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.