Page 60 - Touchcode_C8_Flipbook
P. 60

Coding           uiz   03                                                           Critical Thinking



                      Give one-word answer to the following questions.

                      a.  Name a method which to search an element in the array?                   ...........................

                      b.  How the values of an array can be accessed?                              ...........................







                                                       Coding Task          01


                                      To implement the bubble sort in MakeCode Arcade
                   To perform the task, follow these steps:

                   Step 1:  Visit the  link,  https://arcade.

                             makecode.com. Click  on  ‘New
                             Project’, write the  name of  the
                             project  ‘Bubble  sort’, and  then

                             click on ‘Create’.

                   Step 2:  The following screen appears:

                   Step 3:  Choose ‘Python’ editor.






                   Step 4:  The following screen appears:





























                   58     Touchcode-VIII
   55   56   57   58   59   60   61   62   63   64   65