![]() ![]() You have to “speak” to computers using very precise, unambiguous language.Two important lessons from this activity are Turn (or pivot in place) to the right 90°Īfter these 12 steps I’ve “drawn” a square, I’m back to my starting position and I’m facing my starting direction.It often devolves into hilarity after they’ve (accidentally?) had me walk into a wall or furniture a few times, but eventually we arrive at a sequence of steps that work. In other words, pretend I’m holding a long pencil straight up over my head, and give me commands that instruct me to walk so the imaginary pencil draws a perfect square on the ceiling. In a classroom setting I usually start by having students verbally “program” me to walk around the room in the shape of a square. Lastly, we’ll generalize the My Block to make it more versatile.Writing a function - called a My Block in Scratch - which is a “packaged” sequence of instructions to perform a repetitive task.Looping, which is repeating a section of code a certain number of times.In this series, I’ll demonstrate some simple computer science concepts with Scratch. Some simple and some are more advanced, but all are good! As she mentions in the video, you’ll find many more examples on the Tutorials page. While it appears cartoonish, Scratch allows users to build complex software while teaching coders of all ages the concepts used in programming. The user interface suggests Scratch is designed for children, but don’t underestimate it. All that’s required is a working email address. ![]() I recommend creating an account so you can save your work. The video is a simple introductory tutorial that you should watch! Repeat the steps shown to learn how it works and feel free to experiment. Our sprite’s an orange electric cat and I’m calling her Sparky! In computer terms, a sprite is a two-dimensional object or character that helps you see what is executing the commands you’re programming. To build programs, you drag blocks off the palette, drop them onto the coding area, connect them together, then watch what you’ve created happen on the stage as our sprite performs the actions you programmed. You have the blocks palette in the left panel, the coding area in the center and the stage on the right. When you first visit the Scratch website you’ll be greeted with the screen pictured.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |