Class X
AI Practical Record File 25-26
Name of the Student: _______________________________________
Class: ______ Sec: _______ Roll No: ______
The guidelines for AI Practical file (15 marks) is as follows:
1. Take a print out of this format.
2. Program code should be hand written in the space designated for the
code. No marks will be awarded for digital recorded file.
3. Output obtained after execution should be written in the place allocated.
4. Practical record should be submitted with Program code written along
with proper output for all the 14 programs, which will fetch 15 marks.
______________________________________________________________
1
Program No 1: Write a program to create a list of first 10 even numbers, add
one to each list item and print the final list.
CODE:
OUTPUT:
2
Program No 2: Write a program to add the elements of the two lists.
CODE:
OUTPUT:
3
Program No 3: Write a Python program to find sum of even and sum of odd
numbers separately from the given list.
CODE:
OUTPUT:
4
Program No 4 : Write a Python program to implement a simple calculator
program.
CODE:
OUTPUT:
5
Program No 5 : Write a program to calculate mean, median and mode using
Numpy for the given data: [5,6,1,3,4,5,6,2,7,8,6,5,4,6,5,1,2,3,4]
CODE:
OUTPUT:
6
Program No 6: Write a program to read the csv file saved in your system and
display 5 rows.
CODE:
OUTPUT:
7
Program No 7: Write a program to create a dataframe with columns student
name and marks and store it in a csv file, save it in your system and display its
content.
CODE:
OUTPUT:
8
Program No 8 : Write a program to display a line chart from (2,5) to (9,10).
CODE:
OUTPUT:
9
Program No 9: Write a program to draw bar chart using matplotlib library
CODE:
OUTPUT:
10
Program No 10: Write a program to display a scatter chart for the following
points (2,5),(9,10),(8,3),(5,7),(6,18)
CODE:
OUTPUT:
11
Program No 11: Write a program to draw pie chart using matplotlib library
CODE:
OUTPUT:
12
Program No 12: Write a program to read an image and display using Python
packages.
CODE:
OUTPUT:
13
Program No 13: Write a program to read an image and identify its shape using
Python packages.
CODE:
OUTPUT:
14
Program No 14: Write a Python program using OpenCV to convert an image to
grayscale and display it.
CODE:
OUTPUT:
15
Program No 15: Write a Python program to resize an image using OpenCV
library.
CODE:
OUTPUT:
16