Computer Science Project
Name : Sangeeta Singh
Class : XII Science
Roll Number :
Subject : Computer Science
Teacher : Mr Rohan Srivastav
School : Shivprakash Memorial School
Year : 2024-25
Computer Science Project
Certificate
This is to certify that Arnab Das Class XII,
Science has completed this Project under
Rohan Srivastav’s guidance for partial
fulfilment of AISSCE as prescribed by the
CBSE in the year 2024-25.
______________ ______________ ______________
Internal Examiner External Examiner Principal
Acknowledgement
I would like to express my sincere thanks to my Computer Science
teacher Mr Rohan Srivastav for his able guidance and support in
completing my project.
I would also like to extend my gratitude to our Principal Madam, Dr
Pramila Upadhyay
for providing me with all the facilities that were required.
I would also like to thank my parents, relatives and friends who
helped me with the necessary
suggestions and ideas for completing this project.
I would like to express my sincere thanks in a special way to the Staff
and Management of
M who made all the arrangements for my visit to their
factory and office for the completion of my project.
Sangeeta Singh
(Signature)
(Date)
Contents
Sr. No. Questions Page No. Teacher’s Signature
1 Program to sort a sequence using
insertion sort.
2 Write a program in python using user
defined functions smallest() and largest()
to find the smallest or largest among
three numbers
3 Write a Python program to count the
number of vowels and consonants in a
string.
4 Write a Python program to find the
Fibonacci sequence up to the Nth term.
5 Program to sort dictionary key and
values
6 Write a program to display the inverted
full pyramid pattern
7 Write a program to display duplicates
from a list of integers
8 Write a program to check whether the
string is Symmetrical or Palindrome
9 Write a program to find the sum of all
items in a dictionary
10 Write a Program for Iterative Merge Sort
11 Program to convert time from 12 hour to
24 hour format
12 Python program to Reverse a single line
of a text file
13 Python Program to print an Inverted Star
Pattern
14 Python Program for Check if all digits of
a number divide it
15 Python Program to find sum of array
16 Python Program to read List of
Dictionaries from File
database management (MySQL Queries)
17 Queries set 1 (Fetching records)
18 Queries set 2 (DDL Commands)
19 Write a MySQL query to create a table
named countries including columns
country_id, country_name and region_id
and make sure that no countries except
Italy, India and China will be entered in
the table.
20 Write a MySQL connectivity program in
python to
Create a database school
Create a table students with the
specifications - ROLLNO
integer, STNAME character (10)
in MySQL and perform the
following operations
Insert two records in it
Display the contents of the table
Bibliography
https://cbsepython.in
PreetiArora
Sumita Arora
• https://www.python.org