Page 58 - Touchcode_C2_Flipbook
P. 58

4.4                                                 DECISION MAKING








                  Rohan is getting ready for school. He looks outside the window. It was

                  raining.


                                                    Oh! It's                If (it’s raining)
                                                raining. What
                                                     to do?                 then
                                                                                 Carry an umbrella and go to

                                                                                school.
                                                                            otherwise
                                                                                Don’t carry an umbrella.



                  This explains that when a condition like 'if' is given, there are two choices:

                  1.   When the ‘If’ condition is a ‘Yes’, then we follow ‘then’ statement.

                  2.   When the ‘If’ condition is a ‘No’, then we follow ‘otherwise’ statement.






                   Decision making is a process of making choices by identifying an

                   information.




                         CRACK THE CODE                                                             ADVENTURE




                  Do as directed.                                                                        Min.  Time Taken


                    If (boy eating ice                                                    If (boy's shirt green)

                    cream)                                                                then

                    then                                                                        Colour the
                         Colour the star                                                      diamond as blue
                        as red

                    otherwise                                                             otherwise
                                                                                              Pink
                        Yellow



                   56      Touchcode-II
   53   54   55   56   57   58   59   60   61   62   63