I read a post about what a programmer should know. There was an example task about the popular game Fizz-Buzz.
To be the honest it took more than three hours to write the whole code and test and not a quarter. But I believe in that the result I made is much better than a single line application logic seen amongst the comments.
(You can see my java codes on Github!)
Another page about FizzBuzz.