COMPUTER
SCIENCE
INVESTIGATORY PROJECT
PROJECT PREPARED BY:
Vineet kumar
Roll no:……..
CERTIFICATE
AGRESEN DAV PUBLIC SCHOOL
YEAR:2024-25
This is to certify that Project is
successfully completed by Vineet kumar
roll no:……... Class : XII Division: A for
the academic year 2024-25 in the School
Computer lab.
Head Teacher External
Internal Examiner Signature:
Examiner
Date: / / 20 Department of
COMPUTER SCI.
Acknowledgement:
WE Vineet kumar of roll no..................... of class XII-A would like
to express our sincere gratitude to our computer science teacher
MR. AJAY KUMAR ,PGT COMPUTER SCIENCE, for her vital
support, guidance and encouragement – without which this project
would not have come forth.
I would also like to express my gratitude to my school AGRESEN
D.A.V. PUBLIC SCHOOL for letting me use the school laborato
Index
Python Programs
1.Simple Calculator
Perform basic arithmetic operations like
addition, subtraction, multiplication, and
division.
2.Fibonacci Sequence
Generate the Fibonacci sequence up to a
specified number of terms.
3.Factorial of a Number
Compute the factorial of a given number
using recursion.
4.Prime Number Check
Determine if a given number is a prime
number.
5.Palindrome Check
Check if a given string is a palindrome.
6.Reverse a String
Reverse the characters of a given string.
7.Sum of List Elements
Calculate the sum of all elements in a list.
8.Linear Search
Implement a linear search to find the position
of an element in a list.
9.Binary Search
Perform a binary search on a sorted list to
find an element.
10. Bubble Sort
Sort a list of numbers using the bubble sort
algorithm.
11. Insertion Sort
Sort a list of numbers using the insertion sort
algorithm.
12. Matrix Addition
Add two matrices and display the result.
13. GCD of Two Numbers
Find the greatest common divisor (GCD) of
two numbers.
14. Armstrong Number Check
Check if a number is an Armstrong number.
15. Merge Two Sorted Lists
Merge two sorted lists into one sorted list.
SQL Queries
Set 1: Single Table Example
Table: Students
Queries include creating the table, inserting
records, and selecting all rows.
Set 2: Two Table Example
Tables: Customers and Orders
Queries include creating tables, inserting
records, and joining tables to retrieve related
data.
Set 3: Aggregate Functions on Single Table
Queries to calculate the average, maximum,
and minimum marks from the Students table.
Set 4: Grouping and Aggregation
Table: Sales
Queries include grouping by product and
calculating the total sales for each product.
Set 5: Nested Queries
Use a subquery to find names of students
whose marks are above the class average.
SQL Connectivity Programs
1.Connect to a Database and Fetch Records
A Python program to connect to a SQLite
database and retrieve records from a table.
2.Insert Records into a Database Table
A Python program to insert new records into
a SQLite database table.
3.Update and Delete Records in a Database
Table
A Python program to update and delete
records in a SQLite database table.
Brief Overview of
PROJECT
This report file for Class 12 Computer Science (2025) is a
comprehensive compilation of Python programs, SQL queries,
and database connectivity examples, aimed at showcasing
programming skills and database management concepts as per
the CBSE curriculum. The project demonstrates problem-
solving abilities, algorithmic thinking, and hands-on database
operations. Below is an overview of its main components:
Software and Hardware
requirement
#Software Specification: -
Operating system: Windows 10/8/7
Platform : Python IDLE 3.8
Database : MySQL
Languages : Python
#Hardware specification: -
Processor: Dual core or above
Hard Disk: 40 GB
Ram : 1024MB
Advantages of project
#Benefits of this program are:
>>>It helps to Determine Strengths and
Weaknesses of a candidate.
>>>Goal Setting for better employment Results.
>>>Identifying Choices in Careers according to
student interest.
>>>It gives us Educational Support and
Guidance.
>>>Job Search Support.
#SOURCE CODE IN PYTHON:-
#OUTPUT SCREEN:-
#MYSQL TABLE :-
#Bibliography:-
# http://www.google.com/
# http://en.wikipedia.org
# Computer science with python
by SUMITA ARORA
# http://www.icbse.com
# www.codeproject.com