0% found this document useful (0 votes)
1K views20 pages

Ai Practical File Class X 2024-25

This document is a practical record file for Class 10 students at Kendriya Vidyalaya No 2 Uppal, Hyderabad, focusing on Artificial Intelligence for the academic year 2024-25. It includes acknowledgments, a certificate of completion, and a detailed table of contents listing various practical assignments related to Python programming, data science, and computer vision. The assignments cover topics such as calculating areas, creating arrays with NumPy, and using OpenCV for image processing.

Uploaded by

saidavalisyed4
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)
1K views20 pages

Ai Practical File Class X 2024-25

This document is a practical record file for Class 10 students at Kendriya Vidyalaya No 2 Uppal, Hyderabad, focusing on Artificial Intelligence for the academic year 2024-25. It includes acknowledgments, a certificate of completion, and a detailed table of contents listing various practical assignments related to Python programming, data science, and computer vision. The assignments cover topics such as calculating areas, creating arrays with NumPy, and using OpenCV for image processing.

Uploaded by

saidavalisyed4
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/ 20

KENDRIYA VIDYALAYA NO 2 UPPAL

HYDERABAD

CENTRAL BOARD OF SECONDARY EDUCATION


ALL INDIA SECONDARY SCHOOL EXAMINATION

PRACTICAL RECORD FILE

ARTIFICIAL INTELLIGENCE - 417

CLASS 10 SESSION 2024-25

SUBMITTED BY:

NAME OF THE STUDENT:

CLASS & SECTION:

CBSE ROLL NO:

NAME OF THE SUBJECT TEACHER(AI):


ACKNOWLEDGEMENT
I wish to express my deep sense of
gratitude and indebtedness to our learned
teacher_______________________ for he r
invaluable help, advice and guidance in the
preparation of this project.

I am also greatly indebted to our


principal ___________________ and school
authorities for providing me with the facilities
and requisite laboratory conditions for making
this practical file.

I also extend my thanks to a number of


teachers, my classmates and friends who helped
me to complete this practical file successfully.

Name of the student Signature of student


CERTIFICATE
This is to certify that__________________________

,student of ClassX___has completed the

PRACTICAL FILE during the academic year

2024-25 towards partial fulfillment of credit for the

ARTIFICIAL INTELLIGENCE(417) practical

evaluation of 2024-25 and submitted

satisfactory report, as compiled in the following

pages, under my supervision.

Total number of practical certified are: 18.

Signature of subject Teacher

Date:

Signature of Principal
TABLE OF CONTENTS
NO PRACTICAL DATE SIGNATURE
Unit 3 Advanced Python Programs
1 Write a python script to calculate area and perimeter of
rectangle and square
2 Write a python program to accept 5 subjects marks from
student and calculate percentage of the student
3 Write a python program to check whether a given
number is even or odd
4 Write a python program to check whether the given
character is an uppercase letter or lowercase letter or a
digit or a special character
5 Write a python program to find the maximum number out
of the given three numbers.
6 Write a python program to find factorial of a number
7 Write a python program to print Fibonacci series up to 20
numbers
8 Write a python program to print multiplication table of a
number
9 Write a program to create a list of integers and find the
sum of the numbers in the list.
10 Write a python program to find the frequency of given
element in the list.
Unit 4 Data Science Programs
11 Write a program to create a 2D array using NumPy.
12 Write a program to convert a python list to a NumPy
array.
13 Write a program to create matrix of 3x3 from 11 to 30.
14 Write a program to represent the data on the ratings of
mobile games on bar chart. The sample data is given as:
Pubg, FreeFire, MineCraft, GTA-V, Call of duty, FIFA
22. The rating for each game is as: 4.5,4.8,4.7,4.6,4.1,4.3.
15 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 3000 3800
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 dashed lines with the width 5 point.
•Use red color for the line.
•Use dot marker with blue edge color and black fill color.
Unit 5 Computer Vision
16 Visit https://www.w3schools.com/colors/colors_rgb.asp
On the basis of this online tool, try and write answers of
all the below-mentioned questions.
•What is the output colour when you put R=G=B=255?
•What is the output colour when you put R=G=255,B=0?
•What is the output colour when you put
R=255,G=0,B=255?
•What is the output colour when you put
R=0,G=255,B=255?
•What is the output colour when you put R=G=B=0?
17 Visit https://www.w3schools.com/colors/colors_rgb.asp
On the basis of this online tool, try and write answers of
all the below-mentioned questions.
•What is the colour code for Dark Green ?
•What is the colour code for Dark purple?
•What is the colour code for grey ?
•What is the colour code for Red?
• What is the colour code for bright Yellow
18 Do the following tasks in OpenCV.
•Load an image & Give the title of the image
•Change the image to grayscale
•Print the shape of image
•Display the maximum and minimum pixels of image
•Crop the image.
•Save the Image
Unit 3 Advanced Python Programs
1 Write a python script to calculate area and perimeter of rectangle and square
Solution:

Output:

2 Write a python program to accept marks scored by a student in 5 subjects and


calculate percentage of the student.
Solution:
Solution:

3 Write a python program to check whether a given number is even or odd


Solution:

Output:

4 Write a python program to check whether the given character is an uppercase


letter or lowercase letter or a digit or a special character:
Solution:
Output:

5 Write a python program to find the maximum number out of the given three
numbers.
Solution:

Output:
6 Write a python program to find factorial of a number
Solution:

Output:

7 Write a python program to print Fibonacci series up to 20 terms


Solution:

Output:
8 Write a python program to print multiplication table of a number up to 20
terms
Solution:

Output:

9 Write a program to create a list of integers and find the sum of the numbers
in the list.
Solution:
Output:

10 Write a python program to find the frequency of given element in the list.
Solution:

Output:

Unit 4 Data Science Programs


11 Write a program to create a 2D array using NumPy.
Solution:

Output:
12 Write a program to convert a python list to a NumPy array.
Solution:

Output:

13 Write a program to create matrix of 3x3 from 11 to 30.


Solution:

Output:
14 Write a program to represent the data on the ratings of mobile games on bar
chart. The sample data is given as: Pubg, FreeFire, MineCraft, GTA-V, Call
of duty, FIFA 22. The rating for each game is as: 4.5,4.8,4.7,4.6,4.1,4.3.
Solution

Output:

15 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 3000 3800

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 dashed lines with the width 5 point.
•Use red color for the line.
•Use dot marker with blue edge color and black fill color.
Solution:

Output:
Unit 5 Computer Vision
16 Visit https://www.w3schools.com/colors/colors_rgb.asp
On the basis of this online tool, try and write answers of all the below-mentioned
questions.
•What is the output colour when you put R=G=B=255?
•What is the output colour when you put R=G=255,B=0?
•What is the output colour when you putR=255,G=0,B=255?
•What is the output colour when you putR=0,G=255,B=255?
•What is the output colour when you put R=G=B=0?
Solution:
1. White

2. Yellow

3. Pink

4.Cyan
5. Black

17 Visit https://www.w3schools.com/colors/colors_rgb.asp
On the basis of this online tool, try and write answers of all the below-mentioned
questions.
What is the colour code for Green ?
•What is the colour code for purple?
•What is the colour code for grey ?
•What is the colour code for Red?
• What is the colour code for lemon Yellow
Solution:
Green:

Purple
Grey:

Red:

Lemon yellow:

18 Do the following tasks in OpenCV.


• Load an image & Give the title of the image
• Change the image to grayscale
• Print the shape of image
• Display the maximum and minimum pixels of image
• Crop the image.
• Save the Image
Solution:
1. Load Image and Give the title of image

Output:

2.Change the colour of image and Change the image to grayscale


Output:

3. Print the shape of image

Output:
(1920, 1357)

4. Display the maximum and minimum pixels of image

Output:
0
255
5. Crop the image and extract the part of an image

6. Save the Image

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy