Page 25 - IPP-11
P. 25
INDEX
No. Name of Practical Date Page Sign of the
no. Teacher
1. WAP to compute x of two given integers x and n.
n
2. WAP for calculating the simple interest.
3. WAP to accept a number from the user and display whether it is
an even number or an odd number.
4. WAP to accept percentage of a student and display the grade
accordingly.
5. WAP to print the Fibonacci series up to a certain limit.
6. WAP to display prime numbers up to a certain limit.
7. WAP to accept a number, find and display whether it’s an
Armstrong number or not.
8. WAP to accept a number and find out whether it is a perfect
number or not.
9. WAP to print the sum of the exponential series 1+x /1!+x /2!+…….
2
1
n
x /(n)!-
10. WAP to print the following pattern:
1
1 2
1 2 3
11. WAP to accept a string and display whether it is a palindrome.
12. WAP that counts the number of alphabets and digits, upper case
letters, lower case letters, spaces and other characters in the
string entered.
13. WAP to accept a string (a sentence) and return a string with the
first letter of each word in capital letter.
14. WAP to remove all odd numbers from the given list.
15. WAP to display the second largest element of a given list.
16. WAP to display the cumulative elements of a given list.
17. WAP to display the frequencies of all the elements of a list.
18. WAP in Python to display those strings which are starting with
‘A’ in the given list.
19. WAP in Python to find and display the sum of all the values which
are ending with 3 from a list.
20. WAP to shift the positive numbers to the left and the negative
numbers to the right.
21. WAP to swap the content with the next value divisible by 7.
22. WAP to accept values from the user and create a tuple.
23. 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.
24. 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.
25. Write a program to create an array from range 0 to 9.
26. Write a method to create subsets from a 1D array.
SQL
21 Queries
2