CERTIFICATE
Certified That this is the bonafide work of
_________________ of _______
of__________________________________
He/ She has performed these activities during the
academic year__________
Number of activities certified__________ out of
___________in ________
• The student’s initiative, cooperative and
participation during the activities classes was
Excellent/Good/Average/Below Average.
• His/ Her aesthetic presentation, visual appeal,
expression and neatness is
Excellent/Good/Average/Below average.
• His/ Her content accuracy, creativity,
originality and analysis of different perception
is Excellent/Good/Average/Below Average.
____________ ________ ___________
Examiner’s sign Principal’s Teacher’s
Sign Sign
INDEX
S.no Practical Name Date Sign
1. To create a simple calculator.
2. To check given no is even or odd.
3. To check given no. is Armstrong
or not.
4. To check Palindrome or not.
5. To print the given pattern.
6. To find factorial of no. using user
defined function.
7. To generate Fibonacci series
using user defined function.
8. Write a program that count no.
of alphabets, digits, uppercase or
lowercase letters.
9. Write a program to remove odd
no. from the given list.
10. To count no. of words from text
file.
PRACTICAL NO. 1
AIM: To create a simple calculator.
CODE:
OUTPUT:
PRACTICAL NO. 2
AIM: To check given no. is even or odd.
CODE:
OUTPUT:
PRACTICAL NO. 3
AIM: To check given no. is Armstrong or not.
CODE:
OUTPUT:
PRACTICAL NO. 4
AIM: To check given string is Palindrome or not.
CODE:
OUTPUT:
PRACTICAL NO. 5
AIM: To print the following pattern 1 *
1 2 * *
1 2 3 * * *
CODE:
OUTPUT:
CODE:
OUTPUT
PRACTICAL NO. 6
AIM: To find factorial of no. using user defined
function.
CODE:
OUTPUT:
PRACTICAL NO. 7
AIM: To generate Fibonacci series using user defined
function.
CODE:
OUTPUT:
PRACTICAL NO. 8
AIM: Write a program that count number of
alphabets, digits, uppercase letter and lowercase
letter.
CODE:
OUTPUT:
PRACTICAL NO. 9
AIM: Write a program to remove odd number
from the list.
CODE:
OUTPUT:
PRACTICAL NO. 10
AIM: To count the number of words from text file.
CODE:
OUTPUT: