Professional Documents
Culture Documents
CLASS 10 PRACTICAL FILE-format
CLASS 10 PRACTICAL FILE-format
PRACTICAL FILE
CLASS - X
1
ACKNOWLEDGEMENT
I wish to express my deep sense of
gratitude and indebtedness to our learned teacher
Mrs.Thamizhmani Nagarajan ,Head of the AI Dept,
[Credence High School],for her invaluable help,
advice and guidance in the preparation of this project.
[Gouri Raj]
2
CERTIFICATE
This is to certify that Gouri Raj , student of Class-X, Credence High School,
Dubai has completed the PYTHON Practical File during the academic session
2022-2023 towards partial fulfillment of credit for the ARTIFICIAL
INTELLIGENCE practical evaluation of CBSE and submitted satisfactory report,
as compiled in the following pages, under my supervision.
3
TABLE OF CONTENTS
NO. PROGRAM NAME PAGE
NO
4
candidates
who appeared in interviews.
19 Consider the following data of a clothes store and plot the data 24
on the line chart and customize the chart as you wish:
21 On the basis of RGB online tool, try and write answers of all 26-
the mentioned questions.
29
5
1.Write a program to compute the net run rate for a tournament
CODE:
OUTPUT :
6
2.Write a program to check whether the given character is an
uppercase letter or lowercase letter or a digit or a special
character.
CODE:
OUTPUT:
7
3.Write a program to find the maximum number out of the given three
numbers.
CODE:
OUTPUT:
8
4.Write a program that reads the customer number & power
consumed and prints the amount to be paid by the customer.
CODE:
OUTPUT:
9
5.Write a program to check whether the entered number is Armstrong or
not.
CODE:
OUTPUT:
10
6.Write a program to print a multiplication table of the entered number.
CODE:
OUTPUT:
11
7.Write a program to generate a given pattern:
CODE:
OUTPUT:
12
8.Write a program to create a list of students' marks with user-defined
values and find the maximum.
CODE:
OUTPUT:
13
9.Write a program to create a list of numbers and swap the content with
the next value divisible by 5.
CODE:
OUTPUT:
14
10.Write a program to count the frequency of every element in a given list.
CODE:
OUTPUT:
15
11.Write a program to create a 2D array using NumPy.
CODE:
OUTPUT:
16
12.Write a program to convert a python list to a NumPy array.
CODE:
OUTPUT:
17
13.Write a program to develop a matrix of 3x3 with values from 11 t0 28.
CODE:
OUTPUT:
18
14.Write a program to create a data frame to store data of candidates who
appeared in interviews. The dataframe columns are name, score, attempts,
and qualify (Yes/No). Assign rowindex as C001,C002, and so on.
CODE:
OUTPUT:
19
15.Write a program to create a dataframe named player and store their
data in the columns like team, no. of matches, runs, and average. Assign
player name as row index and Display only those player details whose
score is more than 1000.
CODE:
OUTPUT:
20
16.Write a program to represent the data on the ratings of mobile games
on bar chart. The sample data is given as: Pubg, FreeFire, MineCraft,
GTA-V, Call of duty, FIFA 22. The rating for each game is as:
4.5,4.8,4.7,4.6,4.1,4.3.
CODE:
OUTPUT:
21
17.Consider the following data of a clothes store and plot the data on the
line chart:
Month Jeans T-Shirts Shirts
CODE:
OUTPUT:
22
18. Observe the given data for monthly sales of one of the salesmen for 6
months. Plot them on the line chart.
CODE:
OUTPUT:
23
19.Write a menu-driven program to calculate the mean, mode and median
for the given data:
CODE:
OUTPUT:
24
20. Write a program to calculate variance and standard deviation for the
given data:
CODE:
OUTPUT:
25
COMPUTER VISION
1. White:
2.Yellow:
26
3.Pink:
4.Cyan:
5.Black:
27
6.Blue:
7.Red:
28
8.Green:
9. R=255,G=255,B=0
29
22.Create your own pixels on piskelapp (https://www.piskelapp.com/) and
make a gif image.
abdd9ce8-57d5-11ed-a0df-cd6ac8ca54ea.gif (768×768)
(piskel-imgstore-b.appspot.com)
30
23.Do the following tasks in OpenCV.
31