FizzBuzz

    Date: 04/06/07 (Webmaster View)    Keywords: no keywords

    Imran says:

    An example of a Fizz-Buzz question is the following:

    Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

    Most good programmers should be able to write out on paper a program which does this in a under a couple of minutes.

    Want to know something scary ? - the majority of comp sci graduates can’t. I’ve also seen self-proclaimed senior programmers take more than 10-15 minutes to write a solution.

    I’m not saying these people can’t write good code, but to do so they’ll take a lot longer to ship it. And in a business environment that’s exactly what you don’t want.

    This sort of question won’t identify great programmers, but it will identify the weak ones. And that’s definitely a step in the right direction.

    Link: Using FizzBuzz to Find Developers who Grok Coding - Imran On Tech

    Source: http://www.webmasterview.com/programming/fizzbuzz

« April Fool's Day 2007 || Helvetica »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home