• Archive
  • RSS
  • Ask me anything

Daniel Stucke

Fizz Buzz Scratch

The title sounds like a nasty affliction - but I actually want to describe a great lesson!

I was looking for a nice challenge for my Year 9 Computing class to continue developing their understanding of variables, if statements and loops - ideally moving on to nested statements and loops.

As ever Twitter came to the rescue when politely asked.

FizzBuzz was a great idea, having already built a program myself this year on Codecademy I knew it could step nicely through the required skills and work fine in Scratch.

I decided to break this into 4 challenges so that I could scaffold the learning a little for the group, their challenge was to :

  1. Build a program that asked for an input number and then either repeated the number or said ‘Fizz’ if it was a multiple of 3.
  2. Extend so that multiples of 5 reply ‘Buzz’.
  3. Extend so that multiples of 3 and 5 return ‘FizzBuzz!’
  4. Change program so that rather than returning just one value it counts up from 1 to a user inputted number.

This turned out to work really well - particularly part 3. Students tended to duplicate code and check sequentially for the different multiples. Meaning that an entry of 15 would often output all three responses. When I pushed students to adapt their program to return just ‘FizzBuzz’ in this case they began to think in depth about how their If then Else statements worked and to experiment with nesting the statements. Finally part for introduced loops to their previous work.

By then end students had a great understanding of how and why you would nest statements and a much better idea of when a program would cease based on a True If statement and when it would continue.

Here’s an example of a finished Scratch program:

Fizz Buzz Scratch Code

Next steps for this class are to do this all again but with some real code this time. We’re going to work through the Javascript Fundamentals course on www.codecademy.com and tackle the Fizz Buzz challenge there. That will pretty much wrap up their taster of GCSE Computing - hopefully it’ll have some of them hooked and they’ll choose to take the course in Year 10.

    • #Computing
    • #GCSE
    • #programming
    • #coding
    • #codecademy
    • #Fizz Buzz
    • #Scratch
    • #ICT
  • 7 months ago
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

Avatar Assistant Headteacher from Manchester, UK. This is a space for my thoughts on education, technology and more. My older ramblings can be found at http://mrstucke.com

Pages

  • Tags

Me, Elsewhere

  • @danielstucke on Twitter
  • SHSELearning on Youtube
  • Mr Stucke on Flickr
  • mrstucke on Delicious
  • danielstucke on Pinboard
  • danielstucke on Last.fm
  • danielstucke on Foursquare
  • Google
  • My Skype Info
  • Linkedin Profile

Twitter

loading tweets…

Following

  • jkottke
  • parislemon
  • instagram
  • coolcatteacher
  • weirdosareheroes
  • minimalmac
  • reviewinhaiku
  • thoughtshrapnel
  • willrichardson
  • gamebased
  • misseducate
  • dougbelshaw
  • untanglingtheweb
  • jsmummert
  • minecraftteacher
  • jami-es
  • therationalradical
  • stuartridout
  • ijohnpederson
  • nikjft
  • feltron
  • fndgs
  • mightybell
  • ifttt
  • mresmres
  • yelpingwithcormac
  • dajbelshaw
  • raisingachievement
  • ketangart
  • sebastianscheerer
  • dttoolkit
  • loudmouthman

I Dig These Posts

  • Photo via minimalmac

    And… The link to the previous app made me realize that I’ve never given headline space to DaisyDisk. This despite loving the heck out of it and...

    Photo via minimalmac
  • Video via jsmummert
    Video

    prussiahasinvaded:

    Holland vs the Netherlands

    CGPGrey

    I really needed this.

    Video via jsmummert
  • Photo via minimalmac

    Typerighter is a new application that I have been testing for a while. As the developer is a close personal friend of mine and willing to listen...

    Photo via minimalmac
  • Link via parislemon
    Don't Let The Door Hit You On The Way Out Of Google Reader

    Google is ripping out the underlying social stuff in Google Reader — stuff that never...

    Link via parislemon
See more →
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Creative Commons License
This work by Daniel Stucke is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Based on a work at danielstucke.com..

Effector Theme by Pixel Union