Page 66 - IT_V5.0_Class6
P. 66

Block                                Explanation




                                                        It runs the blocks inside the first section if the condition is true,
                                                        otherwise runs the blocks inside the second section.






                                                        It pauses the script until the specified condition is true.




                                                        It  repeats  the  blocks  inside  this  loop  until  the  specified
                                                        condition is true.



                                                        It stops all scripts, or the script that contains this block,
                                                        or  other  scripts in the  sprite,  depending  on the option
                                                        chosen.
                  Example 7: Create a project to ask the age of a person and check if he/she is eligible for vote.

                  Follow the given steps:
                  Step 1:  Create the script as given.
                  Step 2:  Click on the Go button.
                  Step 3:  Enter the age of the person.

                  Step 4:  Click on the Tick button.
                                                                            2








                                                               1


                                                                               3                           4





                  The output appears.
















                    64    Information Technology (V5.0)-VI
   61   62   63   64   65   66   67   68   69   70   71