Page 137 - TP_Play_V2.1_class8
P. 137

Periodic Assessment  4

                                                     (Based on chapters 9 to 11)


                 A.  Write the full form of the following abbreviations:

                     1  NLP: ........................................................................................................................................................................................

                     2.  CV: ...........................................................................................................................................................................................

                     3.  AI: ............................................................................................................................................................................................

                 B.  Find the error in the given codes and rewrite the correct codes.

                     1.  i = 0

                       While i < 5:
                       print(i)

                       i += 1
                       if i = 3

                       break
                       else:

                       print(0)


                     2.  i = 0
                       while i < 3
                       print (i)
                       i += 1
                       else
                       print (0

                 C.  Write the program to paint the boxes to make letter (L).
                      Start

























                                                                                      Periodic Assessment 4      135
   132   133   134   135   136   137   138   139   140   141   142