Page 80 - Dig_CodeAI_V2.1_Class_8
P. 80

Critical Thinking
                                                                                       Information Literacy

                    A.  Explain the following MakeCode Arcade projects:
                        1.




















                        2.
















                        3.



















                                                                                         Experiential Learning
                     Competency-based/Application-based questions                        Information Literacy

                    1.   Swarna has written a program that has more repeated statements to do a same task,
                       which makes her code difficult to understand. She wants to reduce the number of
                       lines of code in her program. How can she do this?
                    2.   Maya  is  building  a  program  to  calculate  and  display  the  area  of  different  shapes
                       (rectangle,  circle,  triangle).  She  currently  writes  separate  code  blocks  for  each
                       shape’s area calculation. How can Maya use a function to streamline her code and make it easier to
                       update?



                       78    DigiCode AI (Ver. 2.1)-VIII
   75   76   77   78   79   80   81   82   83   84   85