Page 83 - Touchcode_C6_Flipbook
P. 83

E.  Answer the following questions:
                     1.  What do you understand by the term increment loop?

                         ..............................................................................................................................................................

                         ..............................................................................................................................................................
                     2.  Explain while loop.
                         ..............................................................................................................................................................

                         ..............................................................................................................................................................

                     3.  Write any two benefits of loop.
                         ..............................................................................................................................................................

                         ..............................................................................................................................................................






                                                                                                    Experiential Learning
                       Applied Project


                 To create a program in which user enter a number. If the number entered is an even number,
                 then the message displayed as: 'Number is even', and if the number entered is an odd number,

                 then the message will display as 'Number is odd..! Try again'.
                 Concept:  Number is even if it gets divided by 2, otherwise the number is odd.

                 To perform the task, follow these steps:

                  Step 1:     Visit the link: https://arcade.makecode.com/, Create a new project and name it 'Even/

                            odd'.





























                                                                                     Loops Using Block Coding    81
   78   79   80   81   82   83   84   85   86   87   88