Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 95 - 2632_CodeMind
P. 95

    6.  Competency-based/Application-based questions.
                          a.   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?

                          b.   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?

                      teCh Zone

                          Let’s soLve                                                                 21 st   #Critical Thinking
                                                                                                   Century
                          Explain the following MakeCode Arcade projects:                            Skills  #Technology Learning
                          1.

                          2.

                          3.

                      94    Premium Edition-VIII

| 90 91 92 93 94 95 96 97 98 99 100 |