Page 6 - ipp11
P. 6

No.                      Name of Practical                      Date    Page    Sign of the
                                                                                          no.      Teacher
                   1.  Write a program to compute x  of two given integers x and n.
                                                 n
                   2.  Write a program for calculating the simple interest.
                   3.  Write a program to accept a number from the user and display
                       whether it is an even number or an odd number.
                   4.  Write a program to  accept  percentage  of  a  student  and  display
                       the  grade accordingly.
                   5.  Write a program to print the Fibonacci series up to a certain
                       limit.
                   6.  Write a program to display prime numbers up to a certain limit.
                   7.  Write a program to  accept  a  number,  find  and  display
                       whether  it’s  an Armstrong number or not.
                   8.  Write a program  to  accept  a  number  and  find  out  whether  it
                       is  a  perfect number or not.
                   9.  Write a program to print the sum of the exponential series
                          1
                               2
                       1+x /1!+x /2!+……. x /(n)!-
                                        n
                  10.  Write a program to print the
                       following pattern:

                       1
                       1 2
                       1 2 3
                  11.  Write a program to remove all odd numbers from the given list.
                  12.  Write a program to display the second largest element of a given
                       list.
                  13.  Write a program to display the cumulative elements of a given
                       list.
                  14.  Write a program to display the frequencies of all the elements of
                       a list.
                  15.  Write a program in Python to display those strings which are
                       starting with ‘A’ in the given list.
                  16.  Write a program in Python to find and display the sum of all the
                       values which are ending with 3 from a list.
                  17.  Write a program to shift the positive numbers to the left and
                       the negative numbers to the right.
                  18.  Write a program to swap the content with the next value
                       divisible by 7.
                  19.  Write a program to input the total number of sections and stream
                       names  in 11   class  and display  all information  on the  output
                                  th
                       screen.
                  20.  Write  a  Python  program to input names of ‘n’  countries along
                       with their capitals and currencies, store them in a dictionary and
                       display  them  in a  tabular  form. Also search for and  display  a
                       particular country.
                  21.  Write a program to create an array from range 0 to 9.
                  22.  Write a method to create subsets from a 1D array.
                       SQL
                       21 Queries



                                                                78
   1   2   3   4   5   6   7   8   9   10   11