Jump to content

Examine individual changes

This page allows you to examine the variables generated by the Edit Filter for an individual change.

Variables generated for this change

VariableValue
Edit count of the user (user_editcount)
0
Name of the user account (user_name)
'Ifandika'
Age of the user account (user_age)
35328608
Groups (including implicit) the user is in (user_groups)
[ 0 => '*', 1 => 'user' ]
Rights that the user has (user_rights)
[ 0 => 'createaccount', 1 => 'read', 2 => 'edit', 3 => 'createtalk', 4 => 'writeapi', 5 => 'viewmywatchlist', 6 => 'editmywatchlist', 7 => 'viewmyprivateinfo', 8 => 'editmyprivateinfo', 9 => 'editmyoptions', 10 => 'abusefilter-log-detail', 11 => 'urlshortener-create-url', 12 => 'centralauth-merge', 13 => 'abusefilter-view', 14 => 'abusefilter-log', 15 => 'vipsscaler-test', 16 => 'collectionsaveasuserpage', 17 => 'reupload-own', 18 => 'move-rootuserpages', 19 => 'createpage', 20 => 'minoredit', 21 => 'editmyusercss', 22 => 'editmyuserjson', 23 => 'editmyuserjs', 24 => 'purge', 25 => 'sendemail', 26 => 'applychangetags', 27 => 'spamblacklistlog', 28 => 'mwoauthmanagemygrants' ]
Whether the user is editing from mobile app (user_app)
false
Whether or not a user is editing through the mobile interface (user_mobile)
true
Page ID (page_id)
7587648
Page namespace (page_namespace)
0
Page title without namespace (page_title)
'Fizz buzz'
Full page title (page_prefixedtitle)
'Fizz buzz'
Edit protection level of the page (page_restrictions_edit)
[]
Last ten users to contribute to the page (page_recent_contributors)
[ 0 => '2001:4C4E:1DCA:C400:25BA:4D57:AC3A:424E', 1 => '2A02:3035:818:3FFB:1:0:883B:C6CB', 2 => 'HandThatFeeds', 3 => '182.0.247.234', 4 => 'Citation bot', 5 => 'SdkbBot', 6 => '2607:FEA8:99C0:61C0:95F6:6F1B:EB7E:92E6', 7 => 'ClueBot NG', 8 => '213.195.110.55', 9 => 'Cgt' ]
Page age in seconds (page_age)
620014390
Action (action)
'edit'
Edit summary/reason (summary)
'Add implementation in java language'
Old content model (old_content_model)
'wikitext'
New content model (new_content_model)
'wikitext'
Old page wikitext, before the edit (old_wikitext)
'{{short description|Group word game to teach mathematical division}} {{More citations needed|date=May 2023|talk=Sources needed}} '''Fizz buzz''' is a group word game for children to teach them about [[division (mathematics)|division]].<ref>{{cite book |last=Rees |first=Janet |title=Fizz Buzz: 101 Spoken Numeracy Games – Ideal for Mental Maths |date=2002 |publisher=Learning Development Aids |isbn=978-1855033528 }}</ref> 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", and any number divisible by both 3 and 5 with the word "fizzbuzz". == 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 [[division (mathematics)|divisible]] by three is replaced by the word ''fizz'' and any number divisible by five by the word ''buzz''. Numbers divisible by both three and five (i.e. divisible by 15) become ''fizz buzz''. A player who hesitates or makes a mistake is eliminated. For example, a typical round of fizz buzz would start as follows: {{blockquote|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, ...}} == Other variations == In some versions of the game, other divisibility rules such as 7 can be used instead. Another rule that may be used to complicate the game is where numbers containing a digit also trigger the corresponding rule (for instance, 52 would use the same rule for a number divisible by 5). == Programming == Fizz buzz (often spelled '''FizzBuzz''' in this context) has been used as an interview screening device for [[computer programmers]]. Writing a [[computer program|program]] to output the first 100 FizzBuzz numbers is a relatively trivial problem requiring little more than a loop and conditional statements. However, its value in coding interviews is to analyze fundamental coding habits that may be indicative of overall coding ingenuity. == References == <references /> == External links == * [https://web.archive.org/web/20160805202854/http://cocktails.about.com/od/partiesholidays/p/biz_buz_gm.htm About.com: Bizz Buzz- The Drinking Thinking Game] * [https://rosettacode.org/wiki/FizzBuzz Rosetta Code: Fizz Buzz at Rosetta Code] * [http://philcrissman.net/posts/eulers-fizzbuzz/ Euler's FizzBuzz], an unorthodox programmatic solution making use of [[Euler's theorem]] * [https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition Enterprise FizzBuzz], Comical 'enterprise' implementation of FizzBuzz with intentional verbosity [[Category:Car games]] [[Category:Children's games]] [[Category:Drinking games]] [[Category:Mathematical games]] [[Category:Division (mathematics)]]'
New page wikitext, after the edit (new_wikitext)
'{{short description|Group word game to teach mathematical division}} {{More citations needed|date=May 2023|talk=Sources needed}} '''Fizz buzz''' is a group word game for children to teach them about [[division (mathematics)|division]].<ref>{{cite book |last=Rees |first=Janet |title=Fizz Buzz: 101 Spoken Numeracy Games – Ideal for Mental Maths |date=2002 |publisher=Learning Development Aids |isbn=978-1855033528 }}</ref> 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", and any number divisible by both 3 and 5 with the word "fizzbuzz". == Implementations == • Java public void fizzBuzz(int n) { if(n <= 0) { return -1; } for(int i = 0: i <= n; i++) { if(i % 3 == 0 && i % 5 == 0) { System.out.println("FizzBuzz"); } else if(i % 3 == 0) { System.out.println("Fizz"); } else if(i % 5 == 0) { System.out.println("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 [[division (mathematics)|divisible]] by three is replaced by the word ''fizz'' and any number divisible by five by the word ''buzz''. Numbers divisible by both three and five (i.e. divisible by 15) become ''fizz buzz''. A player who hesitates or makes a mistake is eliminated. For example, a typical round of fizz buzz would start as follows: {{blockquote|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, ...}} == Other variations == In some versions of the game, other divisibility rules such as 7 can be used instead. Another rule that may be used to complicate the game is where numbers containing a digit also trigger the corresponding rule (for instance, 52 would use the same rule for a number divisible by 5). == Programming == Fizz buzz (often spelled '''FizzBuzz''' in this context) has been used as an interview screening device for [[computer programmers]]. Writing a [[computer program|program]] to output the first 100 FizzBuzz numbers is a relatively trivial problem requiring little more than a loop and conditional statements. However, its value in coding interviews is to analyze fundamental coding habits that may be indicative of overall coding ingenuity. == References == <references /> == External links == * [https://web.archive.org/web/20160805202854/http://cocktails.about.com/od/partiesholidays/p/biz_buz_gm.htm About.com: Bizz Buzz- The Drinking Thinking Game] * [https://rosettacode.org/wiki/FizzBuzz Rosetta Code: Fizz Buzz at Rosetta Code] * [http://philcrissman.net/posts/eulers-fizzbuzz/ Euler's FizzBuzz], an unorthodox programmatic solution making use of [[Euler's theorem]] * [https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition Enterprise FizzBuzz], Comical 'enterprise' implementation of FizzBuzz with intentional verbosity [[Category:Car games]] [[Category:Children's games]] [[Category:Drinking games]] [[Category:Mathematical games]] [[Category:Division (mathematics)]]'
Unified diff of changes made by edit (edit_diff)
'@@ -2,4 +2,51 @@ {{More citations needed|date=May 2023|talk=Sources needed}} '''Fizz buzz''' is a group word game for children to teach them about [[division (mathematics)|division]].<ref>{{cite book |last=Rees |first=Janet |title=Fizz Buzz: 101 Spoken Numeracy Games – Ideal for Mental Maths |date=2002 |publisher=Learning Development Aids |isbn=978-1855033528 }}</ref> 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", and any number divisible by both 3 and 5 with the word "fizzbuzz". + +== Implementations == +• Java + +public void fizzBuzz(int n) { + +if(n <= 0) { + +return -1; + +} + +for(int i = 0: i <= n; i++) { + +if(i % 3 == 0 && i % 5 == 0) { + +System.out.println("FizzBuzz"); + +} + + +else if(i % 3 == 0) { + +System.out.println("Fizz"); + +} + +else if(i % 5 == 0) { + +System.out.println("Buzz"); + +} + +} + +} + + + + + + + + + + + == Play == '
New page size (new_size)
3211
Old page size (old_size)
2883
Size change in edit (edit_delta)
328
Lines added in edit (added_lines)
[ 0 => '', 1 => '== Implementations ==', 2 => '• Java', 3 => '', 4 => 'public void fizzBuzz(int n) {', 5 => '', 6 => 'if(n <= 0) {', 7 => '', 8 => 'return -1;', 9 => '', 10 => '}', 11 => '', 12 => 'for(int i = 0: i <= n; i++) {', 13 => '', 14 => 'if(i % 3 == 0 && i % 5 == 0) {', 15 => '', 16 => 'System.out.println("FizzBuzz");', 17 => '', 18 => '}', 19 => '', 20 => '', 21 => 'else if(i % 3 == 0) {', 22 => '', 23 => 'System.out.println("Fizz");', 24 => '', 25 => '}', 26 => '', 27 => 'else if(i % 5 == 0) {', 28 => '', 29 => 'System.out.println("Buzz");', 30 => '', 31 => '}', 32 => '', 33 => '}', 34 => '', 35 => '}', 36 => '', 37 => '', 38 => '', 39 => '', 40 => '', 41 => '', 42 => '', 43 => '', 44 => '', 45 => '', 46 => '' ]
Lines removed in edit (removed_lines)
[]
Whether or not the change was made through a Tor exit node (tor_exit_node)
false
Unix timestamp of change (timestamp)
'1687135310'