[go: up one dir, main page]

0% found this document useful (0 votes)
23 views32 pages

Vivaan Goel Program File

This document is a practical file for a Computer Science course at Delhi Public School, Bareilly, submitted by student Vivaan Goel for the session 2023-2024. It includes a certification of completion for various Python programming tasks under the guidance of teacher Mr. Vishal Gangwar. The practical file lists multiple Python programs covering basic concepts such as printing messages, mathematical calculations, and conditional checks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views32 pages

Vivaan Goel Program File

This document is a practical file for a Computer Science course at Delhi Public School, Bareilly, submitted by student Vivaan Goel for the session 2023-2024. It includes a certification of completion for various Python programming tasks under the guidance of teacher Mr. Vishal Gangwar. The practical file lists multiple Python programs covering basic concepts such as printing messages, mathematical calculations, and conditional checks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

DELHI PUBLIC SCHOOL, BAREILLY

PRACTICAL
FILE

Department : Computer Science Submitted to : Mr. Vishal

Submitted to : Vishal Gangwar (TGT Computer Science Teacher)


Gangwar

Session : 2023-2024 Submitted by: ________________

Subject : AI

Submitted
Subject by : : Vivaan
Code AI (417)Goel

Class : IX
X -D
Cer ca

This is to certify that Vivaan Goel, student of class IX-D has


successfully completed the practical le of python programmes
under the guidance of Mr. Vishal Gangwar (TGT Computer Science
Teacher) during the session 2023-24.

—————————————— ————————————————-
Subject Teacher’s Principal’s Signature
Signature
ti
fi
te
fi
Acknowledgement
I would like to express my special thanks of gratitude to my teacher
Mr. Vishal Gangwar who gave me the golden opportunity to do this
wonderful project of Computer Science, who also helped me in
completing my project. I came to know about so many new things I
am really thankful to them. I would like to thank all the people who
helped me nalising the project within the limited time frame.

Vivaan Goel
Class IX-D
fi
S. No. Topic

PYTHON PROGRAM TO PRINT “HELLO PYTHON”.


1

PYTHON PROGRAM TO PRINT THE SUM OF FIRST FIVE NATURAL NUMBERS.


2

PYTHON PROGRAM TO FIND THE AREA OF A TRIANGLE.


3

PYTHON PROGRAM TO SWAP TWO VARIABLES.


4

PYTHON PROGRAM TO CONVERT MILES TO KILOMETERS.


5

PYTHON PROGRAM TO CONVERT CELSIUS TO FAHRENHEIT.


6

PYTHON PROGRAM TO CHECK IF A NUMBER IS ODD OR EVEN.


7

PYTHON PROGRAM TO FIND THE FACTORIAL OF A NUMBER.


8

PYTHON PROGRAM TO PRINT THE FIBONACCI SEQUENCE.


9

PYTHON PROGRAM TO INPUT THE PERCENTAGE OFA STUDENT AND AWARD

“CERTIFICATE OF EXCELLENCE” IF THE STUDENT GETS MORE THAN 80%.


10

PYTHON PROGRAM TO INPUT TWO NUMBERS AND DISPLAY THE BIGGER OF THE
11 TWO NUMBERS.

PYTHON PROGRAM TO FIND THE AREA OF A RECTANGLE.


12

PYTHON PROGRAM FOR SUM OF SQUARES OF FIRST N NATURAL NUMBERS.


13

PYTHOM PROGRAM TO FIND AREA OF A CIRCLE.


14

PYTHON PROGRAMS TO INPUT A NUMBER AND CHECK WHETHER THE NUMBER IS


15 POSITIVE OR NEGATIVE.

PYTHON PROGRAM TO INPUT A NUMBER AND CHECK WHETHER IT IS MULTIPLE OF


16 5 OR NOT.
1- Python program to print “HELLO PYTHON”.

Program:-

Output:-
2- Python program to print the sum of rst ve natural numbers

Program:-

Output:-
fi
fi
3- Python program to nd the area of a triangle.

Program:-
fi
Output:-
4- Python program to swap two variables.

Program:-
Output:-
5- Python program to convert miles to kilometres.

Program:-
Output:-
6- Python program to convert celcius to farenhiet.

Program:-

Output:-
7- Python program to check if a number is odd or even.

Program:-
Output:-
8- Python program to nd the factorial of a number.

Program:-
fi
Output:-
9- Python program to print the Fibonacci Sequence.

Program:-
Output:-
10- Python program to input the percentage of a student and award
“CERTIFICATE OF EXCELLENCE” if the Student gets more than 80%

Program:-

Output:-
11- Python program to input two numbers and display the bigger of the two.

Program:-
Output 1:-

Output 2:-
12- Python program to nd the area of a rectangle.

Program:-
fi
Output:-
13- Python program for the sum of squares for rst n natural numbers.

Program:-

fi
Output 1:-

Output 2:-
14- Python program to nd the area of a circle.

Program:-
fi
Output:-
15- Python program to input a number and check whether it is positive or
negative.

Program:-
Output 1:-

Output 2:-

Output 3:-
16- Python program to input a number and check whether it is a multiple of
5 or not

Program:-

Output 1:-

Output 2:-

You might also like