Skip to content

Instantly share code, notes, and snippets.

Created July 13, 2015 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/03ab2950cbbe9db17d70 to your computer and use it in GitHub Desktop.
Save anonymous/03ab2950cbbe9db17d70 to your computer and use it in GitHub Desktop.
Model a simple class library in C# for the representation of a bicycle’s drivetrain. Show basic OO principles in this class
library. Keep the approach simple, and show good balance of class responsibilities. Implement the library for 3 bike
types. We will discuss your solution in the onsite interviews.
Question should be answered by each implemented bike type:
 Determine the Max and Min speeds in MPH for the road bicycle, mountain bicycle, and kids tricycle
o Use a static pedal rate to calculate Max / Min speeds
 Solution should contain
o Turn in one project that is written in c# and complies to a DLL.
o Turn in one simple console app or Visual Studio Unit Test project that performs the Max and Min speed
for each bike type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment