Page 140 - C_GPT _V4 _class_7
P. 140

2.  What is an algorithm?




                     3.  How does computer store and process information?








                     4.  What is IF-THEN-ELSE  condition?







                      5.   Write an if condition to print “picnic” if it is Sunday today otherwise print “School”.











                     Scratch Your Brain.                                                      21 st  Century   #Critical Thinking
                                                                                                  Skills
                                                                                                      #Technology Literacy
                     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.






















                        CodeGPT (Ver. 4.0)-VII
                138
   135   136   137   138   139   140   141   142   143   144   145