Page 63 - Touchcode_C5_Flipbook
P. 63

CRACK THE CODE                                                              ADVENTURE


                 A.  Read the programs carefully and write the output.                                  Min.  Time Taken


                       1      If a x 2 >10

                              Then

                                   Print “Greater than 10”

                              Else
                                   Print “Lesser than 10”


                            Write the output if the values of a are :

                                        a = 6                         a = 2                         a=10

















                       2       If number divided by 7 and remainder is 0”

                               Then

                                    Print “Number is divisible by 7”

                               Else

                                   Print “Number is not divisible by 7”




                            Write the output if the values of a are :

                                   number = 49                   number = 56                   number = 24
















                                                                         Level 4: Algorithmic Intelligence       61
   58   59   60   61   62   63   64   65   66   67   68