[go: up one dir, main page]

0% found this document useful (0 votes)
29 views16 pages

XTH AI PracticalFile

The document is an AI Practical File for the academic year 2024-2025, detailing various Python programming tasks. It includes practical exercises on list manipulation, statistical operations, and data visualization using libraries like matplotlib and OpenCV. Each task is accompanied by a section for output and source code, guiding students through practical applications of Python in data science and computer vision.

Uploaded by

Param Bhati
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)
29 views16 pages

XTH AI PracticalFile

The document is an AI Practical File for the academic year 2024-2025, detailing various Python programming tasks. It includes practical exercises on list manipulation, statistical operations, and data visualization using libraries like matplotlib and OpenCV. Each task is accompanied by a section for output and source code, guiding students through practical applications of Python in data science and computer vision.

Uploaded by

Param Bhati
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/ 16

Param Bhati

X
R

23

AI Practical File
2024-2025

Teacher In-charge Principal


Table of contents

S.no Name of Practical

1. Write a Python program to create a list and add elements to it.

2. Write a Python program to add the elements of the given two lists.

3. Write a Python program to implement a simple calculator program

Write a Python program to find sum of even and sum of odd


4.
numbers separately from the given list.
Write a Python program to perform basic statistical operations in
5.
Python.
6. Write a program to draw line plot using matplotlib library

7. Write a program to draw bar chart using matplotlib library

8. Write a program to draw pie chart using matplotlib library

9. Write a program to draw scatterplot using matplotlib library

10. Write a program to draw histogram chart using matplotlib library


Write a program to read a csv file saved in your system and display
11.
its information using Python.
Write a Python program to read and display an image using the
12.
OpenCV library.
Write a Python program that reads an image and displays it in its
13.
original RGB color format instead of the default BGR format.
Write a Python program using OpenCV to convert an image to
14.
grayscale and display it.
15. Write a Python program to crop an image using OpenCV library.

TEACHER SIGN
PRACTICAL PROGRAMS
1. Write a Python program to create a list and add elements to it.

OUTPUT :

2. Write a Python program to add the elements of the given two lists.

OUTPUT :
3. Write a Python program to implement a simple calculator program.

OUTPUT :
4.
Write a Python program to find sum of even and sum of odd numbers
separately from the given list.

OUTPUT :
DATA SCIENCE

5. Write a Python program to perform basic statistical operations in


Python.

OUTPUT :
6.

Write a program to draw line plot using matplotlib library

OUTPUT :
7. Write a program to draw bar chart using matplotlib library

OUTPUT :
8.
Write a program to draw pie chart using matplotlib library

OUTPUT :
9. Write a program to draw scatterplot using matplotlib library

OUTPUT :
10. Write a program to draw histogram chart using matplotlib library

OUTPUT :
11. Write a program to read a csv file saved in your system and display
its information using Python.

SOURCE CODE :

OUTPUT :
COMPUTER VISION(OpenCV)

Note : First, run the command ‘pip install opencv-python’ to install


OpenCV, then write your program to execute computer vision tasks.

12. Write a Python program to read and display an image using the
OpenCV library.

SOURCE CODE :

OUTPUT :
13. Write a Python program that reads an image and displays it in its
original RGB color format instead of the default BGR format.

SOURCE CODE :

OUTPUT :
14. Write a Python program using OpenCV to convert an image to
grayscale and display it.

SOURCE CODE :

OUTPUT :
15. Write a Python program to crop an image using OpenCV library.

SOURCE CODE :

OUTPUT :

You might also like