0% found this document useful (0 votes)
183 views17 pages

Class 10 Practical

Uploaded by

mdyusuff2124
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)
183 views17 pages

Class 10 Practical

Uploaded by

mdyusuff2124
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/ 17

PRACTICAL FILE

Class X – AI (417)
2024 - 2025

Submitted By
NAME -
Class & Sec -
Roll No -
T.Sign __________
NO Practical Signature
I. Python Programs
1 To add the elements of two lists
2 To check whether the given character is an uppercase
letter or lowercase letter or a digit or a special character.
3 To find the maximum number out of the given three
numbers
4 To print multiplication table of a given number
5 To generate a pattern
II. Data Science Programs
6 To create a 2D array using NumPy
7 To create a 3x3 matrix using Numpy
8 To calculate mean, median and mode using Numpy
9 To display Line chart using matplotlib
10 To display Scatter chart using matplotlib
11 To read a csv file saved in the system and display the entire
file
12 To read a csv file saved in the system and display the entire
file
III Computer Vision
13 To write a program to read an image and display using
Python.
14 To write a program to read an image and display the shape
of the image
15 To write a program to display the maximum and minimum
pixels of image
Practical 1: To add the elements of two lists
Aim: Write a program to add the elements of the two lists.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 2: To check whether the given character is an uppercase letter or
lowercase letter or a digit or a special character.

Aim: Write a program to check whether the given character is an uppercase


letter or lowercase letter or a digit or a special character.

Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 3: To find the maximum number out of the given three numbers
Aim: Write a program to find the maximum number out of the given three
numbers
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 4: To print multiplication table of a given number
Aim: Write a program to print multiplication table of a given number
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 5: To generate a pattern
Aim: Write a program to generate the following pattern:
1
2 3
4 5 6
7 8 9 10
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 6: To create a 2D array using NumPy
Aim: Write a program to create a 2D array using NumPy
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 7: To create a 3x3 matrix using Numpy.
Aim: Write a program to create a 3x3 matrix with values from 11 to 32, using
Numpy.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 8: To calculate mean, median and mode using Numpy
Aim: Write a program to calculate mean, median and mode using Numpy.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 9: To display line chart using matplotlib
Aim: Write a program to display line chart
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 10: To display scatter chart using matplotlib
Aim: Write a program to display scatter chart using matplotlib
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 11: To read a csv file saved in the system and display the entire file
Aim: Write a program to read a csv file saved in the system and display the
entire file.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 12: To read a csv file saved in the system and display the first 10 rows.
Aim: Write a program to read a csv file saved in the system and display the first
10 rows.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 13: To write a program to read an image and display using Python.
Aim: Write a program to read an image and display using Python.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 14: To write a program to read an image and display the shape of the
image.
Aim: Write a program to read an image and display the shape of the image.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:
Practical 15: To write a program to display the maximum and minimum pixels
of image
Aim: Write a program to display the maximum and minimum pixels of image.
Source code:

Result:
Thus, the Python program has been executed and the output is verified
successfully.
SAMPLE OUTPUT:
Python Program Executed Output:

You might also like