Page 93 - Computer Genius Class 06
P. 93

Let's REFRESH


                      MakeCode Arcade is a free, open-source, online integrated development environment (IDE) for game
                      production.
                       loc  Tool o    rogramming  or space   ame  imulator   ame  ontrols  etc. are some components
                      o  the  a ecode  rcade  indo .
                       prites  loc s  controller  loc s  game  loc s  etc. are some commonly used  loc s.

                       e can add a sprite using the gi en t o options  creating a ne  sprite using the image editor or using
                      a  uilt in sprite  rom  allery.

                       loc   ased coding uses a drag and drop approach.
                       ogical operators are the  undamental  loc s that add decision ma ing capa ility to code.
                        relational operator chec s the  alue o  the t o operands.
                         there is another i  else construct  ithin the i   loc  or the else  loc   this is called nesting or nested
                      i  else.






                                                       EXERCISE





                 A.  Tick ( ) the correct option.
                    1.   hich o  the  ollo ing uses drag and drop approach

                          i    loc   ased coding                          (ii)  Pseudocode
                         iii    oth  i  and  ii                          (iv)  None of these
                    2.   hich o  the  ollo ing operator is used to re erse a condition

                         (i)  NOT                                         (ii)  OR

                        (iii)  AND                                       (iv)  If-else
                     .   hich statement is used to  rea  out o  a loop early  hen the speci ic condition is met
                         (i)  Iteration                                   (ii)  Loop

                        (iii)  Continue statement                        (iv)  Break statement

                 B.  Fill in the blanks using the words given below.
                                                  continue    nesting   true   logical

                    1.                     operators are the  undamental  loc s  hich adds a decision ma ing capa ility to
                        code.

                    2.   The                   statement  orces the ne t iteration o  the loop to e ecute  and s ips the line
                        o  code  ithin the loop.

                     .   elational operator returns 1  i  the  alue is             .

                     .     there is another i  else construct  ithin the i   loc  or the else  loc   this is called   .


                                                                                    Using MakeCode Arcade      91
   88   89   90   91   92   93   94   95   96   97   98