Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 122 - 2610_Springdales_C-7
P. 122

    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.

                            Premium Edition-VII
                    120

| 117 118 119 120 121 122 123 124 125 126 127 |