You are on page 1of 3

COMPUTER SCIENCE NEW (083)

LAB PRACTICALS LIST | AY 2023-24


CLASS - XI

1. Write a Python Program (WAPP) to input a message and display it.

2. WAPP to convert temperature in degree Celsius to degree Fahrenheit. If


water boils at 100 degree C and freezes as 0 degree C, use the program
to find out what is the boiling point and freezing point of water on the
Fahrenheit scale. (Hint: T(°F) = T(°C) × 9/5 + 32)

3. The formula E = mc2 states that the equivalent energy (E) can be
calculated as the mass (m) multiplied by the speed of light (c = about
3×108 m/s) squared. Write a Python program that accepts the mass of
an object and determines its energy.

4. WAPP to input a number check if the number is positive or negative or


zero and display an appropriate message.

5. WAPP to find the roots of a quadratic equation after receiving the


coefficients of a quadratic equation from the user and display the
results appropriately.

6. WAPP to input three numbers and display the largest and smallest
number.

7. WAPP to check if the number is a prime or composite number.

8. WAPP to display the n terms of a Fibonacci series using iteration, where


n is an integer received from the user.

9. WAPP to display the sum of the square of its digits (eg. for 163 output
will be 46 (1+36+9) ).

10. WAPP to print the table of a number. The number has to be received by
the user.

11. WAPP to calculate the amount for a telephone bill as per the given
instructions.

For first 100 calls Rs. 100

For next 150 calls Rs. 1.25 per call

For next 200 calls Rs. 1.75 per call

Thereafter Rs. 2.25 per call

12. Print the following pattern using loop:


A
B C
D E F
G H I J
K L M N O

13. WAPP in python to input the value of x and n and print the sum of the
following series:
(a) 1+x+x2+x3+x4+ ............xn
(b) 1-x+x2-x3+x4+ ......... xn

14. WAPP to determine whether a number is a perfect number, an


armstrong number or a palindrome.

15. WAPP to accept a number from the user, convert it into a binary
number and display it. (Note: bin function should not be used)

16. WAPP to compute the Greatest Common Divisor (GCD) and Least
Common Multiple of two integers

17. WAPP to count and display the number of vowels, consonants,


uppercase, lowercase characters in string.

18. WAPP to Input a string and determine whether it is a palindrome or not


also convert the case of characters in a string.

19. WAPP to find the largest/smallest number in a list/tuple (without using


in-built functions max,min)
20. WAPP to input a list of numbers and swap elements at the even
location with the elements at the odd location.

21. WAPP to input a list/tuple of elements, search for a given element in


the list/tuple (without using in-built functions).

22. WAPP to create a dictionary to store name (key) & marks of 5 subjects
as Tuple (value) of n students of a class and display the names of
students who have average marks above 75.

You might also like