Page 106 - 2611_SmartGPT Pro V(5.0) C-8
P. 106

Periodic Assessment                         3

                                                     (Based on chapters 5 & 6)



                  1.   Write a program to print pattern same as given below:

                     *
                     **
                     ***
                     ****
                     *****

























                  2.   Write the output of the following program:
                        w1 = 'Orange'

                        w2 = 'Education'

                        s = w1 + w2

                        print(s)

                  3.   Define the following terms:
                     a.  len(): ___________________________________________________________



                     b.   lower(): _________________________________________________________


                     c.   upper(): _________________________________________________________


                     d.   capitalize(): _____________________________________________________










                  104   Computer Science (V5.0)-VIII
   101   102   103   104   105   106   107   108   109   110   111