Artificial Intelligence Practical File Questions
Session 2025-26
Class X
1. WAP to find the area of rectangle and square by inputting the
dimensions of the figures( length and breadth for rectangle and side
for square)
2. WAP that ask for the height in cm and convert it into feet and inches.
3. WAP to convert time input in minutes into hours and remaining minutes
4. IndiaSells is an India-based cargo company that deals with the export
and ale of various goods within the country and across the globe. To do
business analysis of the day-to-day transactions, they have hired a
programmer to develop a computerized system for the same. Write a
Python code that accepts cost of goods sold (cogs), revenue
generated, operating costs (oc), and prints gross profit, net profit and
net profit percentage. [Net profit = Revenue – cogs – oc].
5. Program that reads two numbers and an arithmetic operator and
displays the computed result.
6. Write a program to accept marks in 5 subjects out of 100, find the total
marks, percentage and grade of a student. Grades will be calculated
according to the following conditions:
Marks Grades
<33 E
Between 33 to 50 D
Between 51 to 60 C
Between 61 to 70 B
Between 71 to 80 B+
Between 81 to 90 A
Between 91 to 100 A+
7. WAP that ask the user to enter the amount of purchase and then
calculate and
display the discount and net amount to be paid. The
amount discount
percentages are as follows:
Amount of Purchase Discount percent
Amount of purchase>2000 15%
Between 2000 and 1000 10%
<1000 no discount
8. WAP to print odd numbers from 1 to 100.
9. WAP to print even numbers from M to N, where M<N.
10. WAP to print sum of first N natural numbers.
11. WAP to print integers from 20 to 1.
12. WAP to print table of a number.
13. WAP to print factorial of a given number.
14. WAP to print Fibonacci series till nth term. 0 1 1 2 3 5 8 13 …