0% found this document useful (0 votes)
57 views18 pages

Ai Practical File

Uploaded by

guvi804
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views18 pages

Ai Practical File

Uploaded by

guvi804
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Ai Practical File

Name – Manroop Singh


Class – 9th D
1. The program to print personal information like
Name, Father’s Name,
Mother’s Name,Class, School Name.
2. The program to find square of a number.
3. The program to find sum of two Numbers.
4. The program to convert length given in
kilometers into meters.
5. The program to calculate simple interest if the
principle amount=2000
rate of interest=4.5 and time=10.
6. The program to print area and perimeter of
shapes like Circle, Rectangle, Square.
• Circle
6. The program to print area and perimeter of
shapes like Circle, Rectangle, Square.
• Rectangle
6. The program to print area and perimeter of
shapes like Circle, Rectangle, Square.
• Square
7. The program to calculate average marks of 5 subjects
and grades on the basis
of percentage.
Grade A →90%-100%
Grade B →80%-89%
Grade C →70%-79%
Grade D →Below 70%
8. Write a program to print first 10 natural
numbers
a.) Using for loop
b.)Using While loop
9. Write a program to print sum of first 10
natural numbers. (Using for loop)
10. Write a program to print first 10 even
numbers. (Using While loop)
11. Write a program to create a list containing
a.) numeric values
b.) String values
12. Write a program to apply the following functions on a list.

● append()
● copy()
● clear()
● count()
● extend()
● index()
● insert()
● pop()
● remove()
● reverse()
● sort()
● min()
● max()
● len()
13. Create a list num =[23,12,5,9,65,44]
● Print the length of the list
● Print the elements from second to fourth index using
positive indexing
● Print the elements from third to fifth using negative
indexing.
14. The program to add the values in a list.
(using loop)
15. Create a list of first 10 even numbers, add 1 to
each list item and print the final
list.

You might also like