MAHARISHI VIDYA MANDIR SENIOR SECONDARY SCHOOL,
CHETPET, CHENNAI-31.
STD: XI ANNUAL EXAM
COMPUTER SCIENCE PRACTICALS
1. Write a python program to find the given number is a perfect number or not.
2. Write a python program to search a particular character from the string.
3. Write a python program to search a particular element from list of integer
numbers and display its position .
4. Write a python program to find LCM and GCD of the given 2 numbers.
5. Write a python program to print the given pattern.
CEGIK
DFHJ
EGI
FH
G
6. Write a python program to count the number of two letter words and three letter
words from the string.
7. Write a python program to count the number of upper case and lowercase letters
from the string.
8. Write a python program to check whether a given string is palindrome or not.
9. Write a python program to find the prime factors of a given number.
10. Write a python program to display the sum of boundary elements and non -
boundary elements of the two dimensional list.
11. Write a python program to find the maximum and minimum number from the
list without using any built in functions.
12. Write a python program to find the second largest number of a list of numbers.
13. Write a python program that reads a string that capitalizes every other letter in
the string eg:computer becomes cOmPuTeR
14. Write a python program to find the no of vowels and no of consonants in the given
string.
15. Write a python program to find the given n digit number is a digit palindrome or
not.
16. Write a python program to create a dictionary with the student details, roll no as
a key and name,Avg as list of values .delete the student details those who have scored
less than 75 from the dictionary .
17. Write a python program to accept a list of strings and display the number of
palindrome words present in it.
18. Write a python program to print the following pattern
1
21
321
4321
54321
19. Write a python program to print the given pattern
54321
5432
543
54
5
20. Write a python program to check whether the given character is digit, lowercase
alphabet ,uppercase alphabet or special character or not.
21. Write a python program to find the sum of given n digit.
22. Write a python program to print the Fibonacci series of first 20 elements.
23. Write a python program to find the sum of the following series
x+x2/2! - x3/3!+x4/4! upto n terms.
24. Write a python program to print the prime and composite numbers from the list
of integer numbers.
25. Write a python program to count the frequency of list elements and store in a
dictionary.
26. 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.
27. Write a python program to find the sum of the series x-x3/3!+x5/5!-x7/7!+
up to n terms.
28. Write a python program to replace the repeating elements in a list with zero.
29. Write a python program to display the sum of alternate elements in the list.
30. Write a python program to sum of all the elements in the list which ends with 25.
31. Write a python program to calculate the mean of a tuple with numeric values.
32. Write a python program to display the sum of left diagonal elements and
right diagonal elements of the two dimensional list.
33. Write a python program to accept a list of elements and exchange the first half
with the second half of the list.
34. Write a program to count the number of times a character appears in a string.
35. Write a python program to find the sum of the series1-x+x2-x3+x4 xn.
36. Write a python program to display the matrix addition and subraction of the two
dimensional lists.
37.Write a python program to display the matrix Multiplication of the two
dimensional lists.
38. Write a python program to accept the details of Employees such as Emp no, Emp
name, Basic, HRA,DA from user and Calculate Annual Salary of Every Employee
using Dictionaries.
39. Write a python program to create a list of strings and add a word as key in
dictionary and no. of vowels in a word as a value.
40. Write a python program to create a dictionary containing top players and their
runs as key value pairs of a cricket team and delete the players name where the
corresponding values is greater than 50 from the dictionary and display it