PM SHRI KENDRIYA
VIDYALAYA NO.1 GCF
JABALPUR
PRACTICAL FILE
ARTIFICIAL INTELLIGENCE
CLASS IXth
SESSION 2025-26
SUBMITTED BY: [NAME OF STUDENT]
SUBMITTED TO
AKSHAY KUMAR JAIN
SUBJECT TEACHER(AI)
CLASS : IXth
ROLL NO: [XXXXXXX]
ACKNOWLEDGEMENT
I wish to express my deep sense of
gratitude and indebtedness to our learned teacher
Mr. Akshay Kumar Jain , Computer Instructor ,PM
SHRI Kendriya Vidyalaya No. 1 GCF Jabalpur, for his
invaluable help, advice and guidance in the
preparation of this project
I am also greatly indebted to our
principal Mr. Rajnish Singhai, 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 Student]
CERTIFICATE
This is to certify that [Name of Student], student
of Class X, PM SHRI Kendriya Vidyalaya No. 1 GCF
Jabalpur, has completed the PRACTICAL FILE during
the academic year 2025-26 towards partial
fulfilment of credit for the ARTIFICIAL INTELLIGENCE
practical evaluation of 2025-26 and submitted
satisfactory report, as compiled in the following
pages, under my supervision.
Internal Examiner
Signature
Index
[Link]. Assignment Page No.
1 Print 5 lines about yourself using print() function.
2 Write a programme to calculate simple interest by given user input
principal, rate, time.
3 Find out the bigger value from user given input three value.
Demonstrate the use of floor division (//) and modular operator (%)
4
in python
Lock or unlock your phone using pin or password and generate
5 appropriate message
6 Check whether the entered number is odd or even.
A tours and travels company charges their customer as per following
7
criteria according to customer category.
Write a program to implement an increment to the employees based
8
on their appraisal score.
9 Write a program to reverse entered number using for loop.
10 Write a program to calculate electricity bill given input value as unit.
If bill below 100 unit fixed bill 100, and bill 100 to 200 unit than bill
charges Rs. 5 per unit , if bill 200 to 300 unit than bill charges Rs. 6
per unit and if bill above 300 unit than bill charges Rs. 8 per unit.
11 Write a program to check entered number is Prime or not.
12 Write a program to print a multiplication table of entered number
13 Write a program to find sum of first N Natural numbers.
14 Write a program to find average of first N numbers
Write a program to find average of odd numbers from the selected
15
range of n numbers
Q.1 Print 5 lines about yourself using input () and print() function.
Name = input (“Please Enter Your Name”)
Class = input (“Please Enter Your Class”)
Age = input (“Please Enter Your Age”)
Mob= input (“Please En-ter Your Contact No.”)
Address= input (“Please Enter Your Address”)
print (“Your Name is = ”, Name)
print (“Your Class is = ”, Class)
print (“Your Age is = ”, Age)
print (“Your Contact No. is = ”, Mob)
print (“Your Address is = ”, Address)
Output :
Q.2 Write a programme to calculate simple interest by given user input
principal, rate and time.. .
P=int(input(“Please Enter the Principal Amount”))
R=int(input(“Please Enter the Rate”))
T= int(input(“Please Enter the Time”))
SI= (P*R*T)/100
print (“Simple interest is = ”, SI)
Output :
Q.3 Find out the bigger value from user given input three value
A=int(input(“Please Enter the First Value”))
B= int(input(“Please Enter the Second Value”))
C= int(input(“Please Enter the Third Value”))
if (A>B and A>C):
print(“A is Bigger Number”, A)
elif (B>C and B>A):
print(“B is Bigger Number”,B)
else :
print(“Cis Bigger Number”,C)
Output :
Q.4 Demonstrate the use of floor division (//) and modular operator (%)
in python.
A=int(input(“Please Enter the First Value”))
B= int(input(“Please Enter the Second Value”))
C= A%B
D=A//B
print(“Modular Value is =”,C)
print(“Floor Division Value is =”,D)
Output :
Q5. Lock or unlock your phone using pin or password and generate
appropriate message
print (“Create your phone password”)
Gen = input(“Enter your new Password here”)
print (“password generate successfully ”)
Pwd=input(“Please Enter Your Password”)
if (Gen==Pwd):
print (“You login successfully ”)
else :
print (“You enter wrong password ”)
Output :
Q.6 Check whether the entered number is odd or even.
print (“Check your todays weather”)
Weather=input(“Please Enter Your Weather”)
if (Weather%2==0):
print (“Todays weather is Even”)
else :
print (“Todays weather is Odd”)
Output :
Q. 7 A tours and travels company charges their customer as per
following criteria according to customer category.
print (“Welcome to Ankit tours and travels ”)
print (“we are providing four tours plan”)
print (“1 Udaipur, 2 Kashmir, 3 Goa, 4 Kerala”)
travel=int(input(“Please select your Journey in 1 to 4 ”))
person=int(input(“how many person travel”))
if (person<=2):
if (travel==1):
print (“per person charges 1500 for Udaipur”)
elif (travel==2):
print (“per person charges 2000 for Kashmir ”)
elif (travel==3):
print (“per person charges 2500 ” for Goa)
elif (travel==4):
print (“per person charges 3000 ” for Kerala)
else:
print (“We have no plan for other destination “)
else :
if (travel==1):
print (“per person charges 1250 for Udaipur”)
elif (travel==2):
print (“per person charges 1750 for Kashmir ”)
elif (travel==3):
print (“per person charges 2200 ” for Goa)
elif (travel==4):
print (“per person charges 2500 ” for Kerala)
else:
print (“We have no plan for other destination “)
Output :
Q8. Write a program to implement an increment to the employees based
on their appraisal score.
print (“Please enter the Employee details”)
name = input (“Enter Employee Name”)
Des= input (“Enter Designation ”)
Sal= int(input(“Enter Salary”))
Apr=int(input(“Enter Appraisal Score”))
if (arp<=100):
print (“no increment for this year”)
elif (100<arp=<200):
print (“5% increment for this year”)
Sal=Sal*1.05
print (“Current Salary is ”, Sal)
elif (200<arp=<300):
print (“10% increment for this year”)
Sal=Sal*1.10
print (“Current Salary is ”, Sal)
elif (300<arp=<500):
print (“20% increment for this year”)
Sal=Sal*1.20
print (“Current Salary is ”, Sal)
elif (500<arp=<700):
print (“25% increment for this year”)
Sal=Sal*1.25
print (“Current Salary is ”, Sal)
elif (700<arp=<850):
print (“30% increment for this year”)
Sal=Sal*1.30
print (“Current Salary is ”, Sal)
elif (850<arp=<1000):
print (“40% increment for this year”)
Sal=Sal*1.40
print (“Current Salary is ”, Sal)
Output :
Q.9 Write a program to reverse entered number using for loop.
I=int (input ("Please Enter the Number"))
for p in range (I,0,-1):
print ("Revers number =", p)
print ("Finish")
Output :
Q.10 Write a program to calculate electricity bill given input value as unit. If
bill below 100 unit fixed bill Rs.100, and if bill 100 to 200 unit than bill
charges Rs. 5 per unit , if bill 200 to 300 unit than bill charges Rs. 6 per
unit and if bill above 300 unit than bill charges Rs. 8 per unit.
Bill= int(input(“Please Enter your Electricity consumption in unit”))
if (Bill<=100):
print (“Your bill is Rs. 100 Only”)
elif (100<bill<=200):
Bill = Bill*5
print (“Your bill is =”, Bill)
elif (200<bill<=300):
Output :
Bill = Bill*6
print (“Your bill is =”, Bill)
else:
Bill = Bill*8
print (“Your bill is =”, Bill)
Q.11 Write a program to check entered number is Prime or not..
num=int(input(“Please Enter the Number”)
if num > 1:
for i in range(2, int(num/2)+1):
if (num % i) == 0:
print(num, "is not a prime number")
break
else:
print(num, "is a prime number")
else:
print(num, "is not a prime number")
Output :
Q. 12 Write a program to print a multiplication table of entered number.
I=int (input ("Please Enter the Number"))
for p in range (1,11):
t=I*p
print (I,"X", p, "=",t)
Output :
Q.13 Write a program to find sum of first N Natural numbers.
N=int (input ("Please Enter the Number"))
Sum=0
for p in range (1,(N+1)):
Sum=Sum+p
Output :
print ("Sum =",Sum)
Q.14 Write a program to find average of first N numbers
N=int (input ("Please Enter the Number"))
Sum=0
for p in range (1,(N+1)):
Sum=Sum+p
AVG=SUM/N
print ("average of first N numbers is ",AVG)
Output :
Q.15 Write a program to find average of odd numbers from the selected
range of n numbers.
N=int (input ("Please Enter the Number"))
Sum=0
count=0
for p in range (1,(N+1)):
if (p%2==0):
continue
else :
Sum=Sum+p
count=count+1
print(" ", p)
AVG=Sum/count
print ("average of odd numbers is ",AVG)
Output :