Yash Cs
Yash Cs
LEARNING TO EXCEL
SECTOR-16, FARIDABAD, HARYANA
NAME- YASH
CLASS- XI-A
ROLL NO-04
SUBMITTED TO- MR. MOHIT
SHARMA
Certificate
This is to certify that YASH,student of
class XI A has successfullycompleted
this project under the guidance of Mr.
Mohit Sharma during the year 2023-
2024 in partial fulfillment of Computer
Science of practical examination by
AISSCE, New Delhi.
__________________ _________________
Signature of External Examination Signature of Internal
Examiner
Acknowledgement
I, YASH of XI A acknowledge the valuable
contribution of the entire individual and
resources that had contributed in carrying
out this project work.
I wish to express my sincere gratitude to my
Computer Science teacher Mr. Mohit Sharma,
who gave her valuable suggestions and
assistance to complete this project. I also
thank our principal sir Mr. A.K.Saxena who
gave me the golden opportunity do this
wonder project.
I would like to thank my family members and
friends who helped me to complete the
project successfully.
YASH
XI A
04
INDEX
DATA BASE (MY SQL)
1) What is Data Base?
2) Uses of data types in data base
3) How SQL Work?
4) What is constrant and their types?
5) Check Constant
PYTHON PROGRAMMING
1) Write a program to show table of any number.
2) Write a program to use of if, else or elif condition make a
full program.
3) Write a program to add, subtract and multiplication of
program.
4) Write a program to display student information.
5) Write a program to show pattern.
6) Write a program to show reverse counting using while
loop.
7) String Programming
8) Write a pogram to show even & odd number in one
program.
9) Write a program to display 5 message from 5 different
function.
DATA BASE (MY SQL)
What is Data Base?
It is a collection of records or collection of
related records.
They are 2 types of database:-
DBMS
In this data base will be save in paragraph
format. for example :- oracle 8i, oracle 9i,
oracle 10i.
RDBMS
In this data base will be save in tabular format. For
example:- My SQL 5.5 command, SQL Server
2000,SQL Server 2005, SQL Server 2008, SQL Server
2012 .
SQL
Language
Query
Structure
Uses of data types in data base
Int (integer)
Char (character)
Varchar
How SQL Work?
root
create database xyz;
use xyz;
create table xyz
( rollno int, name char(20), class int, section
char(1));
insert into xyz values(27,’amit’,11,’c’);
select * from xyz;
rollno name class Section
27 amit 11 c
OUTPUT
enter the value of a
7*1 = 7
7*2 = 14
7*3 = 21
7*4 = 28
7*5 = 35
7*6 = 42
7*7 = 49
7*8 = 56
7*9 = 63
7*10 = 70
2. Write a program to use of if, else or elif
condition make a full program.
result = 0
if op == "+":
result = vall + val2
elif op == '-':
if vall > val2:
result = vall - val2
else:
elif op == "*":
elif op == "/":
if val2 == 0:
else:
result = vall / val2
else:
print("Please enter any one of the operator (+, -, *, /)")
print("The result is: ", result)
OUTPUT
Case1 :
>>> %Run -c $EDITOR_CONTENT
Enter value 1: 20
Enter value 2: 40
Enter any of the operator (+,-,*,/):-
The result is: 20
>>>
Case 2:
>>> %Run -c $EDITOR_CONTENT
Enter value 1: 200
Enter value 2: 400
Enter any of the operator (+,-,*,/):+
The result is: 600.0
>>>
Case 3:
>>> %Run -c $EDITOR_CONTENT
Enter value 1: 2
Enter value 2: 4
Enter any of the operator (+,-,*,/):*
The result is: 8
>>>
Case 4:
>>> %Run -c $EDITOR_CONTENT
Enter value 1: 200
Enter value 2: 400
Enter any of the operator (+,-,*,/):*
The result is: 80000.0
>>>
OUTPUT
OUTPUT
>>> %Run -c $EDITOR_CONTENT
enter the Name yash
enter the Rollno 04
enter the Class XI-A
enter the Address ma nahi batu ga
enter the FatherName ma nahi batu ga
enter the MotherName ma nahi batu ga
OUTPUT
Passport****B***kY