Sunday, 8 February 2015

A Small Introduction to Scratch Programming

          Scratch is a program the teaches users the foundations and basic aspects of computer programming. It uses pre-written commands that can be pieced together rather then having to write the commands manually. Scratch offers a unique way to make programs without actually knowing how to code which makes it different from many other programs (which is pretty cool). Anyone can learn how to program with Scratch which makes it perfect for people like me who have never programmed before. There are 3 basic structures in Scratch that are each used to do specific things. The first is the sequential structure are sets of commands that repeat one after the other. Sequential structures are the basic set of commands that are used in larger, more complex structures. Repetition structures are what are used to repeat certain sequential structures a certain number of times. The command(s) is put into a loop or cycle until it has been completed, where it then moves to the next command after the repetition structure. Any command inside the repetition structure will be repeated for a set amount of time or until certain conditions are met. Finally, there are selection structures where certain commands will be completed if a 'statement' is completed as well. For example, one can make certain command happen if a certain button is pressed. If the button is not pressed, nothing will happen. However, one can make a selection structure that completes certain commands even if a 'statement' is not met. The structure will do a certain command if a statement is met, otherwise it will do another set of commands. All of these structures can be used together to make more advanced commands. This course is different from another other course I have ever taken. It is similar in the aspect that all or most of the work is done on a computer, however, instead of using other peoples programs, ICS 2O1 teaches you how to make your own. Although I have never programmed before now, I am excited to learn about all the new skills this course teaches that I never thought I could do.

(FLAPPY BIRD SCRATCH!)
 

No comments:

Post a Comment