Scratch Programming. If you want to learn Scratch Coding then you are in best place. Here you will learn complete Scratch 



Scratch Programming 


Scratch

             Scratch is a programming language that is perfect for making games, animations, interactive, stories, and other visually rich programs. Scratch is easy to use than more programming languages for several reason.It is very useful ful because it is very easy language.


Advantages of Scratch:



•  There is no need to remember or type the commands. They are all on the screen, so just dropping helps is to write the program.

•  Commands fit together like jigsaw pieces, so there are strong visual hints about how to combine them.

•  Error messages are generally not seen. As scratch commands lock together, program always make some sense. It is possible to write programs with logical errors if they do not do what was expected.

•  Scratch guides to write things that are very useful.

•  The commands are colour - coded and categories, so it is very easy to find a command whan required.





Relation among Programming and Scratch:


=> Computers always understand commands write in Machine language (0,1). But machine language is very difficult to understand and work with. High-level languages were introduced to overcome the difficulties in machine language. Most high - level languages use text commands. We must memorise these commands to write program in high- level languages. Visual languages provide us more options and text free programming interface where we do not need to write text commands. We us graphical blocks and add them in the  sequence to perform any text.

=>Scratch will generate text code automatically. This text code will be converted into machine language with compiler, a software that is used to convert high- level languages to low-level languages.




Understanding the scratch window in Detail:


=> The scratch window is broken up into several sections such as a sprite Pane, stage area, etc. On the left the projects are carried out which is called the Stage. A list of sprites or images is situated below the stage. On the right side instructions are created which are called the scripts area and blocks palette.


•  Sprites can be moved drawn on the screen, respond to clicks change their appearance  and interact with each other.

Example:

                 A space game might have an alien sprite a spaceship sprite and a missile sprite.

•  Many projects have more than one sprite and any sprite can be chosen by clicking them in the sprite list in the bottom right.

•  The blocks serve as commands that can be joined together.

•  When the program is tested sprites can be seen responding to the codes on the  stage.

• Those instructions come in the form of block that can be joined.

 



Some Categories of Blocks :


   
   ðŸ”µ Motion                       ðŸŸ¡ Events         


  
   ⚫ Control                       ðŸŸ¡ Operators



   ðŸ”´ My Blocks                  🎶  Music 



   ðŸ–‹️ Pen.                             ðŸŽ¥ Video
                                                    Sensing








Elements of programming in scratch:



• Variables

• Statements

• Boolean Expressions

• Conditional Statements

• Loops

• Concept of nesting

• Nested loops

• Functions

• Cloning

• Hitting the Bat










   


Please open these links:




                         Thank you