Page 143 - trackpad v5.1 class 7 flipbook
P. 143

CODING ZONE       CODING ZONE    {}      =     CODING ZONE
                                {C ding z ne}
                                                                                          21 st
                                                                                             #Critical Thinking
                                                                                        Century
                                                                                             #Technology Literacy
                                                                                         Skills
                                                                          </>
                     1.  Read the program and colour the boxes.

                       READ number                             4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
                                                               4                                               4
                       If (number is 1) then colour Blue
                                                               4       2 2 3 3 1 1                             4
                       If (number is 2) then colour Green      4       2 2 3 3 1 1                             4
                       If (number is 3) then colour Yellow     4                 2 2 1 1 3 3                   4
                       If (number is 4) then colour Purple     4                 2 2 1 1 3 3                   4
                                                               4                            2 2 1 1            4
                                                               4                            2 2 1 1 3 3        4
                                                               4                                       3 3     4
                                                               4                                               4
                                                               4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
                     2.   Write the IF-THEN-ELSE condition to check if a number is divisible by 3 or not.







                       CAREER HERE

                 People with good algorithmic intelligence have vast career options, like data science, AI, and software
                 development.




                    FOR THE TEACHER

                   1.  Explain how computers process and store information.
                   2.  Explain the concept of conditions in a program.
































                                                                                            Algorithmic Intelligence  141
   138   139   140   141   142   143   144   145   146   147   148