Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 117 - 2609_Logiccode
P. 117

    21 st   #Critical Thinking
                        LAB ACTIVITY                                                            Century   #Information Literacy
                                                                                                  Skills

                           Convert the following logic into a MakeCode Arcade project using blocks and write the output:
                         age=19

                         if(age>18)

                             display(“You are eligible to vote.”)
                         else
                             display(“Not eligible”)

                           Write the output of the following block code in MakeCode Arcade:

                           What will be the output of the following block code:

                        FOR THE TEACHER

                       1.  Explain what are variables and variable name convention.
                       2.  Introduce Math blocks as tools for doing calculations in games.
                       3.  Explain that Logic blocks help the game make decisions.

                                                                                             More on MakeCode Arcade  115

| 112 113 114 115 116 117 118 119 120 121 122 |