Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 144 - 2620_Birla Open Mind C-8
P. 144

    PERIODIC ASSESSMENT 3                                         (Based on chapters 6 to 8)

                  A.  Write the algorithm to paint the boxes to make letter(X).

                                                 Start

                                                                                       End
                  B.   Factorial of a number means that the given number is multiplied by all the numbers preceding up to that
                     number. For example,

                     5! = 5 x 4 x 3 x 2 x 1 = 120

                     Write a program in python to determine the factorial of a number inputted by the user.

                  C.   Write a Python program to display the sum of the following series up to 100:
                     10, 15, 20, 25, 30, ............ 100

                      142  Premium Edition-VIII

| 139 140 141 142 143 144 145 146 147 148 149 |