You are on page 1of 3

551MAHARISHI VIDYA MANDIR SENIOR SECONDARY SCHOOL,

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.

4. Write a python program to search a particular element from list of integer


numbers 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.

7. Write a python program to check whether a given string is palindrome or not.

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

11.Write a python program to find the no of vowels and no of consonants in the


given string.

12.Write a python program to find the given n digit number is a digit palindrome.

13.Write a python program to find the prime factors of a given number.

14.Write a python program to print the following patterns


CEGIK
DFHJ
EGI
FH
G
15.Write a python program to check whether the given character is digit, lowercase --
alphabet, uppercase alphabet or special character or not.

16. Write a python program to find the sum of given n digit.

17.Write a python program to find the sum of the following series


x-x2/2!+x3/3!-x4/4!+………
.
18.Write a python program to print the prime and composite numbers from the list
of integer numbers.
19.Write a python program to count the frequency of list elements and store in a
dictionary

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.

28.Write a program to count the number of times a character appears in a string


without using any built in functions.

29.Write a python program to find the sum of the series x-x 3/3!+x5/5!-x7/7!+.... up
to n terms.

30.Write a python program to display the sum of boundary elements.

31.Write a python program to display the sum of non- boundary elements

32.Write a python program to find LCM and GCD of the given 2 numbers.

33.Write a python program to print even length words in a given string.

34.Write a python program to print the following patterns

54321
5432
543
54
5

35.Write a python program to find the sum of the series


1-x+x2-x3+x4-…..xn.

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.

You might also like