![]() When two threads launch at the same time it is called parallel execution.Ĭoordination & Synchronisation The broadcast and when I receive blocks can coordinate the actions of multiple sprites. ![]() A thread cannot run on its own, but runs within a program. Threads A thread just refers to the flow of a particular sequence of code within a program. These blocks allow the sprite to respond to events triggered by the user or other parts of the program. Lists (arrays) A list is a tool that can be used to store multiple pieces of information at once.Įvent Handling When key pressed and when sprite clicked are examples of event handling. The most common variables in computer games for example, are score and timer. Variables A variable stores specific information. In Scratch, the if and if-else blocks check for a condition. This is accomplished in Scratch using the repeat, repeat until or forever blocks.Ĭonditional statements A conditional statement is a set of rules performed if a certain condition is met. Iteration (looping) Iteration simply refers to the repetition of a series of instructions. Sequences In order to make a program in any programing language, you need to think through the sequence of steps. Sprites by themselves won’t do anything of course, without coding! The default sprite in Scratch is the cat, which can easily be changed. Sprites are the graphical objects or characters that perform a function in your program. Sprites The most important thing in any Scratch program are the sprites. Using screenshots from some of my own Scratch projects, I have written here the main programming concepts that can be learnt through the use of this application. In order to help develop the knowledge and understanding that go with these skills though, it’s important to be familiar with some key programming concepts that underpin the Scratch programming environment and are applicable to any programming language. Scratch is a great tool for developing the programming skills of learners, since it allows all manner of different programs to be built. Scratch is almost certainly the most widely used software for teaching programming to Key Stage 2 and Key Stage 3 (learners from 8 to 14 years). Many media rich programs can be made using Scratch, including games, animations and interactive stories. Colour coded blocks of code simply snap together in certain ways like a jigsaw, eliminating the typing errors that tend to occur when people use text-based programming languages. Originally developed by America’s Massachusetts Institute of Technology, Scratch is a simple, visual programming language. Scratch is a visual programming language that provides an ideal learning environment for doing this. Programming simply refers to the art of writing instructions (algorithms) to tell a computer what to do. Since programming is itself at the core of computer science, it’s worth taking some time to really get to grips with both programming as a series of concepts and one of the main tools used in schools to teach these concepts, Scratch. Programming is a big part of computer science, and computer science is at the core of our computing curriculum.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |