Page 96 - Plus V4 with Adobe class 8
P. 96

Scratch Your Brain.                                                  Century   #Critical Thinking
                                                                                       21 st
                                                                                      Skills  #Productivity & Accountability
                1.  Write the output of the following programs:
                    a.
                       Repeat 2 times
                       {
                          Enter num
                       }
                       If num1 > num2
                       Then
                          Print “num1 is greater”                    Num1     4      7      87     45     22
                       Else                                          Num2     7      5      34     32     90
                          Print “num2 is greater”
                                                                     Print
                    b.
                       Repeat 4
                       {
                          Read marks
                          If marks is > 50
                          Then
                              Display Pass
                          Else                                        Marks    45     40     55    49     85
                              Print Fail
                       }                                              Result

                    c.                                               start
                       Repeat 6 times
                       (
                          Put a cross
                          Move 1 step right
                          Put a tick
                          Move 1 step down
                       )

                    d.    Repeat 5 times                                                           start

                       (
                          write “8”
                          Move 1 step left
                       )





                2.  Read the program and do as directed.
                    a.
                       Repeat 3 times
                       (
                        Colour Yellow
                        Skip One Triangle
                       )                                        start




            94  Plus (Ver. 4.0)-VIII
   91   92   93   94   95   96   97   98   99   100   101