Fizz buzz

from Wikipedia, the free encyclopedia

Fizz buzz is a group word game for kids designed to teach them about math division . Players take turns counting incrementally , replacing each number divisible by three with the word "Fizz" and each number divisible by five with the word "Buzz".

game

The players usually sit in a circle. The first player chosen says the number “1” and from then on each player counts one number in turn. However, every number divisible by three is replaced by the word “fizz” and every number divisible by five is replaced by the word “buzz”. Numbers divisible by 15 become “fizz buzz”. A player who hesitates or makes a mistake is eliminated from the game.

For example, a typical round of Fizz Buzz would start like this:

1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, Fizz Buzz, 16, 17, Fizz, 19, Buzz, Fizz, 22, 23, Fizz, Buzz , 26, Fizz, 28, 29, Fizz Buzz, 31, 32, Fizz, 34, Buzz, Fizz ...

programming

Fizz Buzz (often spelled FizzBuzz in this context) was used as an interview screening tool for programmers . Writing a program to output the first 100 FizzBuzz numbers is a trivial problem for any computer programmer, so interviewers can easily filter out those with insufficient programming skills.

Individual evidence

  1. Janet Rees: Fizz Buzz: 101 Spoken Numeracy Games - Ideal for Mental Maths . Learning Development Aids, 2002, ISBN 978-1855033528 .
  2. Imran Ghory: Using FizzBuzz to Find Developers who Grok Coding. In: tickletux.wordpress.com. Imran On Tech, January 24, 2007, accessed June 14, 2020 (blog).
  3. ^ Jeff Atwood: Why Can't Programmers .. Program? In: codinghorror.com. Coding Horror, February 26, 2007, accessed June 14, 2020 (blog).

Web links