0% found this document useful (0 votes)
16 views

Computer Practical Project (1) (1)

The document outlines a Computer Science practical project by Tiyasha Baul for the AISSCE 2024, including acknowledgments and a certificate of authenticity. It features an index of programming tasks, such as arithmetic operations, number checks, file handling, and database management, demonstrating practical applications of computer science concepts. The project aims to bridge theoretical knowledge with real-world programming skills.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Computer Practical Project (1) (1)

The document outlines a Computer Science practical project by Tiyasha Baul for the AISSCE 2024, including acknowledgments and a certificate of authenticity. It features an index of programming tasks, such as arithmetic operations, number checks, file handling, and database management, demonstrating practical applications of computer science concepts. The project aims to bridge theoretical knowledge with real-world programming skills.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 63

ADITYA ACADEMY

SECONDARY

AISSCE – 2024

COMPUTER SCIENCE PRACTICAl

NAME : Tiyasha Baul


CLASS : XII
BOARD’S ROLL NO . :
YEAR :- 2023 – 2024
ACKNOWlEDGEMENT
Firstly, I would like to extend my gratitude to our
computer science teacher for his constant support
and guidance.

He helped us navigate through the difficult parts


of the project and helped us complete the project
in the limited time.

This project has been a great source of learning


and it was a chance to bring our theoretical
knowledge to the real world.

I would like to thank all the teachers who gave


me this wonderful opportunity to learn so many
wonderful things.

Finally, I would also like to thank my parents and


my friends, who have always been there to
support me, and have helped me a lot to finalise
this project within the stipulated time.

___________________
Student’s Signature
CERTIfICATE
This is to certify that the project entitled
Computer Science is a bona fide work done by Ms.
Tiyasha Baul of Class XII session 2023-2024 in
partial fulfilment of CBSE AISSCE Examination
2024 and has not been submitted for any other
examination and does not form a part of any other
course undergone by the candidate.

________________ _________________
Teacher’s Signature External’s Signature
INDEX
S. No. Topic T. Sign
1. Program to enter two numbers and print the arithmetic
operation like +,-,*,**,/,// and %.
2. Write a program to find whether an inputted number is
perfect or not.
3. Write a program to check if the entered number is
Armstrong number or not.
4. Write a program to find factorial of the entered number.

5. Write a Program to enter the number of terms and to print


the Fibonacci series.
6. Write a program to enter the string and to check if it's
palindrome or not using loop.
7. Recursively find the factorial of a natural number.

8. Read a file line by line and print it.

9. Write a python program to implement a stack using a list


data structure.
10. Write a function for a list pairs=[[2,5],[4,2],[9,8],[12,10]],
count the numbers of pairs [a,b] such that both a and b are
even.
11. WAP using function to generate a new list from two existing
lists of same lengths. The new list must contain the sum
value of elements of those two list of the corresponding
position list 1.
12. WAP using function to rotate the element of a list in such a
way that first element goes to the second position 2nd to
3rd, 3rd to 4th etc the element in the last position will move
to the first position.
13. WAP using function to create a 3rd dictionary from two
dictionary having some common keys in a way so that the
values of common keys must add it in the 3rd dictionary.
14. WAP using function to create a dictionary D1 = {1 : ‘One’, 2 :
‘Two’, 3 : ‘Three’, 4 : ‘Four’, 5 : ‘Five’} and also a second
dictionary from D1 with opposite mapping dictionary D2 = {4
: ‘Four’, 3 : ‘Three’, 2 : ‘Two’, 1 : ‘One’}.
15. Read a text file line by line and display each word separated
by a #.

16. Program to write roll no, name and marks of a student in a


data file Marks.dat.
17. Program to read and display contents of file Marks.dat.

18. Program to read and display those lines from file that starts
with alphabet ‘T’.

19. Program to write data in CSV file student.csv.

20. Program to read and display data from CSV file student.csv.

21. Create a student table and insert data. Implement the


following commands on the student table.
22. ALTER table to add new attributes / modify data type / drop
attribute.

23. UPDATE table to modify data.

24. ORDER BY to display data in ascending / descending order.

25. DELETE to remove tuple(s).

26. GROUP BY and find the max, min, sum count and average.

27. Create a student table and insert data. Implement the


following commands on the student table.

28. Inserting records into student with Python Connector.

29. Showing all the records from student with Python Connector.

30. Deleting records into student with Python Connector.

31. Updating records into student with Python Connector.

32. Showing the average marks of the subjects with Python


Connector.
1. Program to enter two numbers and print the
arithmetic operation like +,-,*,**,/,// and %.
OUTPUT:
2. Write a program to find whether an inputted
number is perfect or not.
OUTPUT:
3. Write a program to check if the entered number is
Armstrong number or not.
OUTPUT:
4. Write a program to find factorial of the entered
number.
OUTPUT:
5. Write a Program to enter the number of terms and
to print the Fibonacci series.
OUTPUT:
6. Write a program to enter the string and to check if
it's palindrome or not using loop.
OUTPUT:
7. Recursively find the factorial of a natural number.
OUTPUT:
8. Read a file line by line and print it.
Assuming we have this following file, locate at the same place as
Python:
OUTPUT:
9. Write a python program to implement a stack using
a list data structure.
OUTPUT:
10. Write a function for a list
pairs=[[2,5],[4,2],[9,8],[12,10]], count the numbers of
pairs [a,b] such that both a and b are even.
OUTPUT:
11. WAP using function to generate a new list from
two existing lists of same lengths. The new list must
contain the sum value of elements of those two list of
the corresponding position list 1.
OUTPUT:
12. WAP using function to rotate the element of a list
in such a way that first element goes to the second
position 2nd to 3rd, 3rd to 4th etc the element in the
last position will move to the first position.
OUTPUT:
13. WAP using function to create a 3rd dictionary from
two dictionary having some common keys in a way so
that the values of common keys must add it in the 3rd
dictionary.
OUTPUT:
14. WAP using function to create a dictionary D1 = {1 :
‘One’, 2 : ‘Two’, 3 : ‘Three’, 4 : ‘Four’, 5 : ‘Five’} and
also a second dictionary from D1 with opposite
mapping dictionary D2 = {4 : ‘Four’, 3 : ‘Three’, 2 :
‘Two’, 1 : ‘One’}.
OUTPUT:
15. Read a text file line by line and display each word
separated by a #.
Assuming we have this following file, locate at the same place as
Python:
OUTPUT:
16. Program to write roll no, name and marks of a
student in a data file Marks.dat.
OUTPUT:
17. Program to read and display contents of file
Marks.dat.
OUTPUT:
18. Program to read and display those lines from file
that starts with alphabet ‘T’.
Assuming we have this following file, locate at the same place as
Python:
OUTPUT:
19. Program to write data in CSV file student.csv.
OUTPUT:
20. Program to read and display data from CSV file
student.csv.
OUTPUT:
Q. Create a student table and insert data. Implement
the following commands on the student table.
21. ALTER table to add new attributes / modify data
type / drop attribute.
22. UPDATE table to modify data.
23. ORDER BY to display data in ascending /
descending order.
24. DELETE to remove tuple(s).
25. GROUP BY and find the max, min, sum count and
average.
Q. Create a student table and insert data. Implement
the following commands on the student table.
26. Inserting records into student with Python
Connector.
OUTPUT:
Modified database after adding records.
27. Showing all the records from student with Python
Connector.
OUTPUT:
28. Deleting records into student with Python
Connector.
OUTPUT:

Modified database after deleting records:


29. Updating records into student with Python
Connector.
OUTPUT:

Modified Database after updating records:


30. Showing the average marks of the subjects with
Python Connector.
OUTPUT:

You might also like