0% found this document useful (0 votes)
21 views19 pages

Cs Practical

Uploaded by

Innama Fatma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views19 pages

Cs Practical

Uploaded by

Innama Fatma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

ARYA MAHILA N.

M MODEL SCHOOL
CHETGANJ, VARANASI

SESSION:2024-25
PRACTICAL FILE
COMPUTER SCIENCE (083)

SUBMITTED BY: SUBMITTED TO:


INNAMA FATMA VIPIN SIR
CLASS:12TH, E
CERTIFICATE
This is to certify that
student of Class XII Science has
successfully completed their computer
science Practical File.

Internal Examiner External Examiner

Principal
COMPUTER SCIENCE (083)
PRACTICAL FILE

S.NO. PRACTICLE NAME SIGNATURE


PYTHON
1. Write a program to check if a number is
prime.
2. Write a program to find the factorial of a
number using recursion.
3. Write a program to display the Fibonacci
sequence up to n terms.
4. Write a program to count the vowels in a
string.
5. Write a program to reverse a string.
6. Write a program to create a multiplication
table for a given number.
7. Write a program to find the largest
number in a list.
8. Write a program to sort a list in ascending
order
9. Write a program to find the sum of all
numbers in a list.
10. Write a program to count the frequency
of each element in a list.
11. Write a program to calculate the area of a
circle.
12. Write a program to convert Celsius to
Fahrenheit.
13. Write a program to find the GCD of two
numbers using the Euclidean algorithm.
14. Write a program to create a dictionary
from two lists.
15. Write a program to implement linear
search.
16. Write a program to check if a string is an
anagram of another string.
17. Write a program to implement binary
search.
18. Write a program to read and display
contents of a file.
19. Write a program to count the number of
lines in a file.
20. Write a program to compute the power
of a number using recursion.
SQL QUERIES
21.
22.
23.
24.
25.
PYTHON
CODE 1: Write a program to check if a number is prime.

OUTPUT:

CODE 2: Write a program to find the factorial of a


number using recursion.

OUTPUT:
CODE 3: Write a program to display the Fibonacci
sequence up to n terms.

OUTPUT:
CODE 4: Write a program to count the vowels in a string.

OUTPUT:

CODE 5: Write a program to reverse a string.

OUTPUT:
CODE 6: Write a program to create a multiplication table
for a given number.

OUTPUT:

CODE 7: Write a program to find the largest number in a


list.
OUTPUT:

CODE 8: Write a program to sort a list in ascending


order.

OUTPUT:

CODE 9: Write a program to find the sum of all numbers


in a list.
OUTPUT:

CODE 10: Write a program to count the frequency of


each element in a list.

OUTPUT:
CODE 11: Write a program to calculate the area of a
circle.

OUTPUT:

CODE 12: Write a program to convert Celsius to


Fahrenheit.
OUTPUT:

CODE 13: Write a program to find the GCD of two


numbers using the Euclidean algorithm.

OUTPUT:
CODE 14: Write a program to create a dictionary from
two lists.

OUTPUT:

CODE 15: Write a program to implement linear search.


OUTPUT:

CODE 16: Write a program to check if a string is an


anagram of another string.
OUTPUT:

CODE 17: Write a program to implement binary search.


OUTPUT:

CODE 18: Write a program to find all even numbers in a


list.

OUTPUT:

CODE 19: Write a program to compute the power of a


number using recursion.
OUTPUT:

CODE 20: Write a program to read and display contents


of a file.

OUTPUT:

You might also like