The document outlines the final practical exam for the subject of Artificial Intelligence for the session 2024-25, consisting of three sets (A, B, and C) with each set containing three questions. Each question allows students to choose one task from a list related to Python programming, data science, and computer vision, with a total of 15 marks available. The exam is scheduled for January 13, 2025, and is designed to assess students' practical skills in various AI-related tasks.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
48 views3 pages
AI Practicals 2025
The document outlines the final practical exam for the subject of Artificial Intelligence for the session 2024-25, consisting of three sets (A, B, and C) with each set containing three questions. Each question allows students to choose one task from a list related to Python programming, data science, and computer vision, with a total of 15 marks available. The exam is scheduled for January 13, 2025, and is designed to assess students' practical skills in various AI-related tasks.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
Final Practical (Session 2024-25)
Subject – Artificial Intelligence (Code – 417)
SET A Grade: X _____ Marks: 15 Date: 13/01/2025 Time: 1 Hr Name of the Student : ____________________________________ Roll No. ______ Q.1 - Basic Python Program (Any 1) 5 Marks 1. Write a Python Program to find Total and Percentage of Five Subjects 2. Write a Python Program to Check if a Number is Prime 3. Write a Python Program to find out the length of the string. And Reverse a same String
Q.2 - Data Science - Practical (Any 1) 5 Marks
1. Create a 5x5 matrix with random numbers and find: o The mean of each row. o The maximum element of the matrix. 2. Observe the given data for monthly sales of one of the salesmen for 6 months. Plot them on the line chart. Month January February March April May June Sales 2500 2100 1700 3500 300 3800 0 Apply the following customizations to the chart: • Give the title for the chart - "Sales Stats" • Use the "Month" label for X-Axis and "Sales" for Y-Axis. • Display legends. • Use red color for the line. • Use dot marker with blue edge color and black fill color. 3. Write a program to Plot a line chart for population growth over the years. o years = [2010, 2012, 2014, 2016, 2018, 2020] o population = [2.5, 2.7, 3.0, 3.3, 3.8, 4.2] 4. Write a menu-driven program to calculate the mean, mode and median for the o given data: [5,6,1,3,4,5,6,2,7,8,6,5,4,6,5,1,2,3,4]
Q.3 Computer Vision Practical Tasks (Any 1) 5 Marks
1. Write a program to Convert an image to grayscale and display it. ● Load the image ● Convert to grayscale ● Display the image 2. Write a program to Resize an image and save it. 3. Write a program to Detect Edges in an Image Using Canny Edge Detection Final Practical (Session 2024-25) Subject – Artificial Intelligence (Code – 417) SET - B Grade: X _____ Marks: 15 Date: 13/01/2025 Time: 1 Hr Name of the Student : ____________________________________ Roll No. ______
Q.1 - Basic Python Program (Any 1) 5 Marks
1. Write a Python Program to Count Vowels in a String and Reverse a String 2. Write a Python Program to Generate a Multiplication Table of any number which is entered by the user. 3. Write a Python Program to Swap Two Numbers Without Using a Third Variable
Q.2 - Data Science - Practical (Any 1) 5 Marks
1. Write a program to Create a 5x5 matrix with random numbers and find: o The mean of each row. o The maximum element of the matrix. 2. Write a program to Create a DataFrame for student grades and perform the following: o Calculate the average grade for each student. o Find students scoring above 80 in math. 3. Write a program to Create a bar chart to compare sales across different regions. regions = ["North", "South", "East", "West"] sales = [150, 200, 250, 175] 4. Observe the given data for monthly sales of one of the salesmen for 6 months. Plot them on the line chart. Month January February March April May June Sales 2500 2100 1700 3500 300 3800 0 Apply the following customizations to the chart: • Give the title for the chart - "Sales Stats" • Use the "Month" label for X-Axis and "Sales" for Y-Axis. • Display legends. • Use red color for the line. • Use dot marker with blue edge color and black fill color.
Q.3 Computer Vision Practical Tasks 5 Marks
1. Write a program to Detect Edges in an Image Using Canny Edge Detection 2. Write a program to Draw a rectangle and a circle on an image. 3. Write a program to Load an image in color mode and display its max and min pixel values. Final Practical Exam (Session 2024-25) Subject – Artificial Intelligence (Code – 417) SET - C Grade: X _____ Marks: 15 Date: 13/01/2025 Time: 1 Hr Name of the Student : ____________________________________ Roll No. ______
Q.1 - Basic Python Program (Any 1) 5 Marks
1) Write a Python Program to find Total and Percentage of Five Subjects 2) Write a Python Program to find out the length of the string. And Reverse a same String 3) Write a Python Program to find Common Elements Between Two Lists
Q.2 - Data Science - Practical (Any 1) 5 Marks
1. Write a program to Create a 5x5 matrix with random numbers and find: The mean of each row. The maximum element of the matrix. 2. Write a program to Create a bar chart to compare sales across different regions. regions = ["North", "South", "East", "West"] sales = [150, 200, 250, 175] 3. Write a program to Plot a line chart for population growth over the years. years = [2010, 2012, 2014, 2016, 2018, 2020] population = [2.5, 2.7, 3.0, 3.3, 3.8, 4.2]
4. Write a menu-driven program to calculate the mean, mode and median for the given data: [5,6,1,3,4,5,6,2,7,8,6,5,4,6,5,1,2,3,4]
Q.3 Computer Vision Practical Tasks 5 Marks
1. Write a program to Load an image in color mode and display its max and min pixel values. 2. Write a program to Detect Edges in an Image Using Canny Edge Detection 3. Write a program to Convert an image to grayscale and display it. ● Load the image ● Convert to grayscale ● Display the image