You are on page 1of 2

List of Practicals

Class XI
Computer Science
Programming Language: Python
1. Write a program to print “Hello World” Message.
2. Write a program to get the sum of two nos.
3. Write a program to get the sum of two inputted nos.
4. Write a program to find maximum between two nos.
5. Write a program to check whether person is eligible to vote
or not.
6. Write a program to check whether inputted no. is positive,
negative and neutral value.
7. Write a program to find area of a rectangle.
8. Write a program to calculate simple interest.
9. Write a program to print day name corresponding to the
inputted day no. Display appropriate error message too.
10. Write a program to find the sum of nos. from 1 to 10.
11. Write a program to print all even and odd nos. between 1
to 100.
12. Write a program to generate table of an inputted no.
13. Write a program to find lowest and second lowest nos.
among N inputted nos.
14. Write a program to generate febonacci series’ first 20
elements.
15. Write a program to read an integer>1000 and reverse the
number.
16. Write a program to check whether inputted number is
Armstrong or not.
17. Write a program to calculate the BMI of a person after
inputting its weigh in kgs and height in meters and then
print the Nutritional Status as per the following table:
Nutritional Status WHO Criteria BMI Cutoff
Underweight <18.5
Normal 18.5-24.9
Overweight 25-29.9
Obese >30

18. Write a program to find sum of the series:


s =1+x+x2+x3….+xn
19. Write a program that should prompt the user to type some
sentence followed by enter key. It should the print the
original sentence and the following statistics reading to the
sentence(s).
a. Number of words
b. Number of Characters
c. Percentage of characters that are alphanumeric
20. Ask the user to enter a list containing numbers between 1
to 14, Then replace all of the entries in the list that are
greater than 10 with 10.
21. Write a program to create a tuple containing first 9
elements of Fibonacci series.
22. Write a program to create a dictionary containing name of
students and their marks in 5 subjects.

You might also like