Computer Science (practical)-1-1
Computer Science (practical)-1-1
R
SCIENCE
PRACTICAL
FILE
SUBMITTED BY:
NAME: SURAJ SAMANTA
CLASS: 11 B
ROLL NO: 21
INDEX
S.no Program Page no.
1 Write a python program to calculate 1
simple interest.
2 Write a python program to convert 2
temperature in degree celsius to
degree farenheit.
3 Write a Python program a function 3
to print table of a given number the
number has to be entered by the
user.
4 Write a program that print 4
maximum and minimum of four
number entered by the user.
5 Write a program to check if the given 5
year is a leap year or not.
6 Write a program to generate the sequence: -5, 6
10, -15, 20 , ……. upto n, where n is an
integer input by the user.
1
Q.2 Write a python program to convert temperature in degree celsius
to degree farenheit.
2
Q.3 Write a Python program a function to print table of a given
number the number has to be entered by the user.
3
Q.4 Write a program that print maximum and minimum of four
number entered by the user.
4
Q.5 Write a program to check if the given year is a leap year or not.
5
Q.6 Write a program to generate the sequence: -5, 10, -15, 20 , …….
upto n, where n is an integer input by the user.
6
Q.7 write a program to find the sum of digits of an integer number
input by the user.
7
Q.8 Write a function that checks whether an input number is a
palindrome or not.
8
Q.9 Write a program to print the following pattern.
i)
*
***
*****
***
*
9
ii)
1
212
32123
4321234
543212345
10
iii)
12345
1234
123
12
1
11
iv)
*
* *
* *
* *
*
Q.10 write a program to find the grade of a student when grades are allocated as
given in the table below
Percenta Grade
ge of
marks
Above 90 A
80% to B
90%
70% to C
80%
60% to D
70%
Below 60% E
12
13