COMPUTER SCIENCE PROJECT FILE
Class: XI
Subject: Python & MySQL
Academic Year: 2025–26
Student Name: ____________
Roll No: ____________
School Name: ____________
CERTIFICATE
This is to certify that the student has successfully completed the Computer Science project as
prescribed by the CBSE curriculum for Class XI.
ACKNOWLEDGEMENT
I would like to express my sincere thanks to my Computer Science teacher and my school for their
guidance and support in completing this project.
SECTION A: PYTHON PROGRAMS
Program 1: Print Hello World
Aim: To write a program.
Algorithm:
1. Start
2. Logic
3. Stop
Program Code:
print('Hello World')
Output: As per input
Program 2: Add two numbers
Aim: To write a program.
Algorithm:
1. Start
2. Logic
3. Stop
Program Code:
a=int(input())
b=int(input())
print(a+b)
Output: As per input
Program 3: Check even or odd
Aim: To write a program.
Algorithm:
1. Start
2. Logic
3. Stop
Program Code:
n=int(input())
print('Even' if n%2==0 else 'Odd')
Output: As per input
SECTION B: MySQL PROGRAMS
Program 1: Create Database
Aim: To write a SQL query.
Algorithm:
1. Open MySQL
2. Execute query
SQL Query:
CREATE DATABASE school;
Output: Query executed successfully
Program 2: Create Table
Aim: To write a SQL query.
Algorithm:
1. Open MySQL
2. Execute query
SQL Query:
CREATE TABLE student(id INT, name VARCHAR(20));
Output: Query executed successfully