Jump to content

Fizz buzz: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tag: Reverted
m Reverting possible vandalism by 190.67.214.65 to version by Kuralesache. Report False Positive? Thanks, ClueBot NG. (3783771) (Bot)
Line 11: Line 11:
== Programming ==
== Programming ==
Fizz buzz (often spelled '''FizzBuzz''' in this context) has been used as an interview [[resume screening|screening]] device for [[computer programmers]].<ref>Imran Ghory (2007-01-24). [http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding "Using FizzBuzz to Find Developers who Grok Coding."] ''Imran On Tech'' (blog).</ref><ref>[[Jeff Atwood]] (2007-02-26). [http://www.codinghorror.com/blog/archives/000781.html "Why Can't Programmers.. Program?"] ''[[Coding Horror]]'' (blog).</ref> Writing a [[computer program|program]] to output the first 100 FizzBuzz numbers is a trivial problem for any would-be computer programmer, so interviewers can easily filter out those with insufficient programming ability.{{Citation needed|date=August 2020}}
Fizz buzz (often spelled '''FizzBuzz''' in this context) has been used as an interview [[resume screening|screening]] device for [[computer programmers]].<ref>Imran Ghory (2007-01-24). [http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding "Using FizzBuzz to Find Developers who Grok Coding."] ''Imran On Tech'' (blog).</ref><ref>[[Jeff Atwood]] (2007-02-26). [http://www.codinghorror.com/blog/archives/000781.html "Why Can't Programmers.. Program?"] ''[[Coding Horror]]'' (blog).</ref> Writing a [[computer program|program]] to output the first 100 FizzBuzz numbers is a trivial problem for any would-be computer programmer, so interviewers can easily filter out those with insufficient programming ability.{{Citation needed|date=August 2020}}

HAPPINESS


== References ==
== References ==

Revision as of 21:07, 24 September 2020

Fizz buzz is a group word game for children to teach them about division.[1] Players take turns to count incrementally, replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz".

Play

Players generally sit in a circle. The player designated to go first says the number "1", and the players then count upwards in turn. However, any number divisible by three is replaced by the word fizz and any number divisible by five 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 as follows:

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) has been used as an interview screening device for computer programmers.[2][3] Writing a program to output the first 100 FizzBuzz numbers is a trivial problem for any would-be computer programmer, so interviewers can easily filter out those with insufficient programming ability.[citation needed]

References

  1. ^ Rees, Janet (2002). Fizz Buzz: 101 Spoken Numeracy Games – Ideal for Mental Maths. Learning Development Aids. ISBN 978-1855033528.
  2. ^ Imran Ghory (2007-01-24). "Using FizzBuzz to Find Developers who Grok Coding." Imran On Tech (blog).
  3. ^ Jeff Atwood (2007-02-26). "Why Can't Programmers.. Program?" Coding Horror (blog).