CBSE BOARD PRACTICAL EXAMINATION 2025-26
PRACTICAL FILE PROGRAMS
SUBJECT: ARTIFICIAL INTELLIGENCE (843)
CLASS: XII
1 Write a program to create a NumPy array from a list A=[2,4,5,7,8] and then display the array.
Write a program to create a NumPy array from nested list L=[[2,4,6],[1,3,5]] and then display the array
2
and its rank (dimension i.e. I D array or 2D array).
3 Write a program to create a Series from scalar values.
4 Write a program to create a DataFrame from dictionary of list.
5 Write a program to create a DataFrame from list of dictionary.
6 Consider the given DataFrame and write the Python code for the following:
(i) Create the above DataFrame df
(ii) Add a new row with row index ‘E’ and values [114, “Rahul”,92.5] into the DataFrame df
(iii) Add a new column PhoneNo into the DataFrame df
(iv) Change/Modify the values of the existing row of DataFrame df
(v) Remove/delete the row from the DataFrame df
(vi) Remove/delete a column from the DataFrame df
(vii) Remove the multiple columns from the DataFrame df
7 Consider the given DataFrame and write the Python code for the following:
(i) To display the row index
(ii) To display the column index
(iii) To display the shape of the DataFrame
(iv) To display the top three records from the DataFrame
(v) To display the last two records from the DataFrame
8 Write a program to import data from csv file to DataFrame.
9 Write a program to export data from DataFrame to csv file.
Solve the following problems using Orange Data Mining.
10 Classification with Orange Data Mining - Perform classification and interpret the result using iris dataset
11 Classification with Orange Data Mining - Evaluating the Classification Model with Orange
12 Classification with Orange Data Mining - Perform classification using heart-disease dataset
13 Regression with Orange Data Mining - Linear regression model using salary_data dataset
14 Computer Vision with Orange Data Mining
15 Natural Language Processing with Orange Data Mining