[go: up one dir, main page]

0% found this document useful (0 votes)
27 views4 pages

Practical File - X (AI) (1)

Uploaded by

Abhiraj Sharma
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
27 views4 pages

Practical File - X (AI) (1)

Uploaded by

Abhiraj Sharma
Copyright
© © All Rights Reserved
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/ 4

Class X (Artificial Intelligence)

Session 2024-25
Practical File Instructions for Board examination

Instructions for Practical file


1. Programs: Total no of programs -20
2. Front Page should contain: CBSE Roll No, Name of the student, class, subject
(with subject code 417) etc.

SECTION A – Python Do any 10 programs

1. Python Program to calculate sum of numbers until user enters zero.


2. Python Program to input two numbers and add them.
3. Python Program to Swap Two Variables
4. Python program to convert kilometers to miles
5. Python program to convert Celsius to Fahrenheit
6. Python program to find area and circumference of a circle
7. Python program to input principal, rate of interest and time and find simple interest
8. Python program to input marks of a student in 5 subjects, find total and
percentage.
9. Python Program to Check if a Number is Odd or Even
10. Python Program to input any year and check if it is a Leap Year or not.
11. Python Program to Find the Factorial of a Number
12. Python Program to Display the multiplication Table
13. Python Program print first n natural numbers
14. Python Program to find first 10 even numbers.
15. Print first 10 numbers using a for loop
16. Print sum of all even numbers from 10 to 20 using for loop
17. Print First 10 natural numbers using while loop.
18. Python if Statement check if number is positive or negative

SECTION B- Data Science: Do any 6 programs

1. On a particular day, the sales ( in rupees) of different items of a baker’s shop are
given below:

Item Price
Ordinary bread 320
Fruit Bread 80
Cakes and pastries 160
Biscuits 120
Others 40
WAP in python using Matplotlib to draw a pie chart for this data.

2. Following data gives total marks (out of 600) obtained by six children of a particular
class. Write PYTHON code to represent the data on a bar graph.

Students Ajay Bali Dipti Faiyaz Geetika Hari


Marks Obtained 450 500 300 360 400 540

3. In a Zoological park there are 1000 creatures as per the following table given below:
Beast Animals Other Land Birds Water Animals Raptiles
animals
150 400 225 175 50

WAP in python using Matplotlib to draw a pie chart for this data.

4. Various modes of transport used by 1260 students in a given school are given below:
School Bus Private Bus Bicycle Rickshaw On foot
350 245 210 175 280

WAP in python using Matplotlib to draw a pie chart for this data.

5. The data given below shows number of hours spent by the school boy on different
activities on a working day.
Activity School Homework Play Sleep Others Total
No. of 7 4 2 8 3 24
hours

WAP in python using Matplotlib to draw a pie chart for this data.

6. In a company there are 1080 workers of different religions. The data of the different
religion are given below:

Religion Hindu Nepali Islam Christian


No. of workers 450 270 255 105

WAP in python using Matplotlib to draw a pie chart for this data.

7. The marks obtained by Sam in an examination are given below:

Subject English French Mathematics Science S.St


Marks 105 75 150 120 90
Obtained

WAP in python using Matplotlib to draw a pie chart for this data.
Hint: Total marks obtained = (105 + 75 + 150 + 120 + 90) = 540

8. The following table gives the number of different fruits kept in a hamper.

Types of Mangoes Apples Oranges Coconuts Pomegranates


fruit
Number 26 30 21 5 6

WAP in python using Matplotlib to draw a pie chart for this data.

9. The following data shows the agricultural production in India during a certain year.
Foodgrain Rice Wheat Course Pulses
cereals
Production 57 76 38 19
(in millions of
tonnes)

WAP in python using Matplotlib to draw a pie chart for this data.
10. The number of Mathematics books sold by a shopkeeper on six consecutive days is
shown below:

Days Sunday Monday Tuesday Wednesday Thursday Friday


No. of 65 40 30 50 20 70
books
sold

WAP in python using Matplotlib to draw a bar chart to represent the above
information.

11. The following are the runs scored by a team in the first 5 overs in 10 matches:
Match 1 2 3 4 5 6 7 8 9 10
Runs 6 4 2 0 10 20 15 6 18 12
Scored

WAP in python using Matplotlib to draw a bar chart to represent the above
information.

12. WAP in Python to draw the line graph showing the following information. The table
shows the colors favoured by a group of people.

Colours Yellow Pink Blue Green Orange


No. of 16 20 30 26 34
People

13. Write a python program to create double line graph for the following data items.
Year Sales Profit
2015 185 155
2016 205 162
2017 198 170
2018 230 174
2019 226 180

14. The runs scored in a cricket match by 11 players are as follows:


6, 15, 120, 50, 100, 80, 10, 15, 8, 10, 10
Write Python code to find the mean, mode and median of this data.

15. Write Python code to find the mode of the following data:
12, 14, 16, 12, 14, 14, 16, 14, 10, 14, 18, 14

16. Heights of 25 children (in cm) in a school are as given below:


168, 165, 163, 160, 163, 161, 162, 164, 163, 162, 164, 163, 160, 163, 164, 163, 160,
165, 163, 162
Write python code to find mean, median and mode of heights.
SECTION –C -Computer Vision Do any 4 programs

1. Program in python to view the image.


2. Program in python to convert BGR image to RGB image
3. Program in python to find shape of an image
4. Program in python to find minimum and maximum value of a pixel.
5. Program in python load an image and focus on the man’s face.
6. Program in python load an image and remove man’s face.
7. Program in python load an image and change the man’s face.
8. Program in python load an image and resize it to 300 x 500 resolution.
9. Program in python load an image and resize it 4 times the original image.

You might also like