The Art of Variables in Programming and Delicious Sandwiches
Explore the concept of variables in programming using fun analogies of creating a PBJ sandwich and a s'more. Understand how variables act as containers to store important information in code. Discover the ingredients needed for each delicious treat and learn how variables play a crucial role in both coding and cooking. Dive into this creative and tasty analogy to enhance your understanding of variables in programming.
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
Making a PBJ the Scratch way
What is a variable? Variables work like containers to hold numbers, phrases, or other important stuff used in several places in your code (kidscodecs.com/variable/)
What goes in a PBJ Sandwich? Your variable is a PBJ sandwich, but what is it made of? Slice of bread+ jelly+ peanut butter+ slice of bread=PBJ
Now lets make a Smore! Take a look at your s more recipe from lesson #1, what is a s more made of? Once you have found your ingredients to make a s more variable, write them down.
references khanacademy.org/2013/09/teaching-variables-analogies-and.html derekhuether.com/2010/05/13/ask-derek-peanut-butter-and-jelly-interview-question/ smuckers.com/peanut-butter-and-jelly misskatecuttables.com/products/product/smores.php