You are on page 1of 24

ASN SR. SEC.

SCHOOL
MAYUR VIHAR-I, DELHI

ARTIFICIAL INTELLIGENCE PRACTICAL


FILE (417)

SESSION: 2022-23

SUBMITTED TO: MANSI MAAM SUBMITTED BY: MEET


CERTIFICATE
This is to certify that____MEET_____of class
X-F of ASN Senior Secondary School, Mayur
Vihar – I, Delhi has successfully completed
Artificial Intelligence practical file under my
supervision, during the academic session 2022-
23. He has taken keen interest and has shown
utmost sincerity in completion of this practical
file.

I certify this practical file is up to my


expectation & as per guidelines issued by
Central Board of Secondary Education, New
Delhi.

Examiner
ACKNOWLEDGMENT
I would like to express my sincere gratitude to
our Principal Ms. Swarnima Luthra and my
teacher Ms. Mansi who gave me this golden
opportunity to work on this practical file which
also helped me in doing a lot of research work.
Their constructive advice and constant
motivation have been responsible for the
successful completion of this file. I am grateful
to them for their continuous guidance and
encouragement.
I would also like to thank my parents and
friends who helped me a lot in completing this
file within the given time frame.

MEET

X-F
INDEX

S.No. Program Page Signature


No.
1 To find average and grade for given marks.
2 To find sale price of an item with given cost and discount (%).
3 To calculate perimeter/circumference and area of shapes such as
triangle, rectangle, square and circle.
4 To calculate Simple and Compound interest.
5 To calculate profit-loss for given Cost and Sell Price.
6 To calculate EMI for Amount, Period and Interest.
7 To calculate tax – GST / Income Tax.
8 To find the largest and smallest numbers in a list.
9 To find the third largest/smallest number in a list.
10 To find the sum of squares of the first 100 natural numbers.
11 To print the first ‘n’ multiples of given number.
12 To calculate the amount payable if money has been lent on
simple interest.
13 Write a program to repeat the string ‘‘GOOD MORNING” n times.
Here n is an integer entered by the user.
14 Write a program to find the average of 3 numbers.
15 Write a program that asks the user to enter one's name and age.
Print out a message addressed to the user that tells the user the
year in which he/she will turn 100 years old.
16 Write a program to find the number of times an element occurs in
the list
17 Write a program to read a list of n integers (positive Notes as well
as negative).
18 Write a program to find the largest and the second largest
elements in a given list of elements.
19 The program should ask for the position of the element to be
deleted from the list and delete the element at the desired position
in the list
20 The program should ask for the value of the element to be deleted
from the list and delete this value from the list.
PROGRAMME 1: TO FIND AVERAGE AND GRADE FOR GIVEN
MARKS.
PROGRAM 2: TO FIND SALE PRICE OF AN ITEM WITH GIVEN
COST AND DISCOUNT (%).
PRGRAM 3: TO CALCULATE PERIMETER/CIRCUMFERENCE
AND AREA OF SHAPES SUCH AS TRIANGLE, RECTANGLE,
SQUARE AND CIRCLE
PROGRAM 4: TO CALCULATE SIMPLE AND COMPOUND
INTEREST.

PROGRAM 5: TO CALCULATE PROFIT-LOSS FOR GIVEN COST


AND SELL PRICE.
PROGRAM 6: TO CALCULATE EMI FOR AMOUNT, PERIOD AND
INTEREST
PROGRAM 7: TO CALCULATE TAX - GST / INCOME TAX
PROGRAM 8: TO FIND THE LARGEST AND SMALLEST
NUMBERS IN A LIST.
PROGRAM 9: TO FIND THE THIRD LARGEST/SMALLEST
NUMBER IN A LIST.
PROGRAM 10: TO FIND THE SUM OF SQUARES OF THE FIRST
100 NATURAL NUMBERS.
PROGRAM 11: TO PRINT THE FIRST ‘N’ MULTIPLES OF GIVEN
NUMBER.
PROGRAM 12: CALCULATE THE AMOUNT PAYABLE IF MONEY HAS
BEEN LENT ON SIMPLE INTEREST. PRINCIPAL OR MONEY LENT = P,
RATE = R% PER ANNUM AND TIME = T YEARS. THEN SIMPLE INTEREST
(SI) = (P X R X T)/ 100.AMOUNT PAYABLE = PRINCIPAL + SI. P, R AND
T ARE GIVEN AS INPUT TO THE PROGRAM.
PROGRAM 13: WRITE A PROGRAM TO REPEAT THE STRING
‘‘GOOD MORNING” N TIMES. HERE N IS AN INTEGER ENTERED
BY THE USER.
PROGRAM 14: WRITE A PROGRAM TO FIND THE AVERAGE OF
3 NUMBERS.
PROGRAM 15: WRITE A PROGRAM THAT ASKS THE USER TO ENTER
ONE'S NAME AND AGE. PRINT OUT A MESSAGE ADDRESSED TO THE
USER THAT TELLS THE USER THE YEAR IN WHICH HE/SHE WILL TURN
100 YEARS OLD.
PROGRAM 16: WRITE A PROGRAM TO FIND THE NUMBER OF
TIMES AN ELEMENT OCCURS IN THE LIST
PROGRAM 17: WRITE A PROGRAM TO READ A LIST OF N
INTEGERS (POSITIVE NOTES AS WELL AS NEGATIVE).
PROGRAM 18: WRITE A PROGRAM TO FIND THE LARGEST AND
THE SECOND LARGEST ELEMENTS IN A GIVEN LIST OF
ELEMENTS.
PROGRAM 19: THE PROGRAM SHOULD ASK FOR THE POSITION
OF THE ELEMENT TO BE DELETED FROM THE LIST AND
DELETE THE ELEMENT AT THE DESIRED POSITION IN THE
LIST.
PROGRAM 20: THE PROGRAM SHOULD ASK FOR THE VALUE
OF THE ELEMENT TO BE DELETED FROM THE LIST AND
DELETE THIS VALUE FROM THE LIST.

You might also like