PRACTICAL FILE FOR CLASS - 11 COMPUTER SCIENCE

  

CLASS 11 Practical File

1.      Write a program in Python to enter a number and check it is even number or odd number.

2.      WAP in Python to enter the age of a person and check whether he is eligible for voting or not.

3.      WAP in Python to enter principal amount, rate of interest and time, then find the simple interest.

4.      WAP in Python to enter the percentage of a student and find the grade according to the following table.

Percentage

Grade

0 to 39.99

Fail

40 to 59.99

C

60 to 79.99

B

80 to 100

A

 

5.      WAP to enter the number of outgoing call of landline phone and calculate the monthly bill according to the following table.

 

No. of Calls

Call Rate

0 - 100

Fixed Charge 300

101-200

1 Rs. Per call

201 – 500

2 Rs. Per Call

Above 500

3 Rs. Per Call

 

6.      WAP in Python to enter a number and print the table of that number.

7.      WAP in Python to enter a number and print the factorial of that number.

8.      WAP in Python to enter a number and check whether it is prime number or not.

9.      WAP in Python to enter a number and find the sum of digits of that number.

10.   WAP in Python to enter a number and find the product of digits of that number.

11.   WAP in Python to convert the temperature from 0C to 0F and 0F to 0C.

12.   WAP in Python to enter the radius of circle and find the area and diameter of the circle.

13.   WAP in Python to Print the following pattern

 

1

            1       2

1     2    3

1     2    3    4

1     2    3    4     5


   14.  WAP in Python to Print the following pattern

 

1

            2       3

4     5    6

7     8    9    10


   15.  WAP in Python to Print the following pattern

 

                       1

                           1      2         3

        1     2      3      4       5

1     2      3       4      5       6          7



 

16.      Write a program in Python to enter two numbers and find the greater number.

17.      Write a program in Python to enter a year and check it is leap year or not.

18.      Write a program in Python to print all prime numbers from 2 to 100.

19.      Write a program in Python to display the Fibonacci Series up to 8 terms.

20.      Write a program in Python to enter a number and check whether it is Armstrong number or not.

21.      Write a program in Python to print all Armstrong numbers from 1 to 1000.

No comments:

Post a Comment