Skip to content

We use this on Academy assessment days as a group analysis exercise or a code challenge.

Notifications You must be signed in to change notification settings

digital-delivery-academy/assessment-day-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assessment-day-exercise

Coding Exercise

We have a coffee shop; Hell or Glory (HoG). We currently only sell our coffee in our retail store. In store, customers can either buy a coffee we make for them, or they can buy our coffee beans to take home with them and enjoy themselves. For our beans, we sell a variety of different grinds to work with different machines.

We’ve set up everything from interior design (Swedish inspired) to personally selecting the coffee roasters myself. We’ve kind of neglected the IT side of things, so much so, our till transactions and what coffee we serve are stored in simple flat (CSV) files.

We’ve attached the takings for yesterday and the coffee prices.

We need a simple test harness, ideally using a unit testing framework of your choice to tell me stuff about the files.

Our requirements are expressed as User Stories below.

User Stories

As a coffee shop owner I want to understand what the most popular blend of coffee is So I can order accordingly

As a coffee shop owner I want to know how much money was charged on any given day So I can understand the heath of my business

As a coffee shop owner I want know what the most popular extras are So I can order accordingly

As a coffee shop owner I want to know what percentage of customers choose from the extras So I can understand if I can make more money by charging an additional fee

Notes

• Do not focus on any cosmetics, we’re only interested in the raw data.

• Do consider both happy paths and sad paths (what happens when something goes wrong).

• Submit the finished code via a public GitHub repository (and let us know the URL).

• Use the programming language that you feel most comfortable in, we don’t mind what you code in for this exercise!

About

We use this on Academy assessment days as a group analysis exercise or a code challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages