10th AI Practical Questions(2024-25)
10th AI Practical Questions(2024-25)
CLASS: X
1. Write a python program to Print 5 lines about yourself using print () function.
name = "Your Name"
dob= “your date of birth”
age= “your age”
school= “ your school”
friend= “ your friend name”
print ("My name is", name)
print (“My date of birth is”, dob)
print (“My age is =”, age)
print (“My school name is”, school)
print (“My best friend name is ”, fr
friend)
2. Draw and explain the various symbols used in flow chart in your practical file. Write an
algorithm and flowchart to find area and perimeter of square.
3. Consider the following data of a clothes store and plot the data on
the line chart and Bar chart.
Customize the chart as you wish. Paste the screen shot of the chart in the file.
4. Visit the link: https://www.w3schools.com/colors/colors_rgb.asp
https://www.w3schools.com/colors/colors_rgb.asp.. On the basis of this online
tool, try and write answers of all the below
below-mentioned questions.
temp = x
x=y
y = temp
OUTPUT:
The value of x after swapping: 10
The value of y after swapping: 5
6) Write a simple Python Program to INPUT two variables and print Addition, Subtraction,
Multiplication and Division of both numbers.
OUTPUT:
Enter Number 1: 20
Enter Number 2: 10
Addition is : 30
Subtraction is : 10
Multiplication is : 200
Division is : 2
print('The %.2f degree Celsius is equal to: %.2f Fahrenheit' %(celsius_1, Fahrenheit_1))
print("----OR----")
print ('The %.2f degree Celsius is equal to: %.2f Fahrenheit' %(celsius_2, Fahrenheit_2))
8) Write a program to find maximum of three numbers.
OUTPUT:
11) Consider the given corpus below and answer the questions given:
Document 1: We are going to Mumbai
Document 2: Mumbai is a famous place.
Document 3: We are going to a famous place.
Document 4: I am famous in Mumbai.
**************************************