Professional Documents
Culture Documents
CHETPET, CHENNAI-31.
STD: XI COMPUTER SCIENCE ANNUAL PRACTICALS
ROLL NO: SECTION:
1. Write a python program to find the given number is a perfect number or not.
2. Write a python program to find whether the given no. is Armstrong or not.
3. Write a python program to search a particular character from the string and
display its position using linear search method.
5. Write a python program to count the number of two letter words and three letter
words from the string.
6. Write a python program to count the number of upper case and lowercase letters
from the string.
8. Write a python program to find the maximum and minimum number from the
list without using any built in functions.
9. Write a python program to find the second largest number of a list of numbers.
10.Write a python program that reads a string that capitalizes every other letter in
the string eg:computer becomes cOmPuTeR
12.Write a python program to find the given n digit number is a digit palindrome.
20.Write a python program to create a dictionary from a string with every word of
the string as the key and length of the string as value.
21.Write a python program to sum of all the elements in the list which ends with
25 and to replace the repeating elements in a list with zero.
22.Write a python program to display the sum of alternate elements in the list.
23.Write a python program to calculate the mean of a tuple with numeric values.
24.Write a python program to display the sum of right diagonal elements of the
two dimensional list.
25.Write a python program to display the sum of left diagonal elements of the two
dimensional list.
26.Write a python program to display the sum of non- diagonal elements of the
two dimensional list.
27.Write a python program to accept a list of elements and exchange the first half
with the second half of the list.
29.Write a python program to find the sum of the series x-x 3/3!+x5/5!-x7/7!+.... up
to n terms.
32.Write a python program to find LCM and GCD of the given 2 numbers.
54321
5432
543
54
5
35. Write a python program to print the Fibonacci series of first 20 elements.
36. Write a python program to display product of alternate elements in the list.