Class 9 AI Practical Term2
Class 9 AI Practical Term2
SESSION 2024-25
CLASS IX- ARTIFICIAL INTELLIGENCE
PRACTICAL FILE – TERM 2
Do the following questions and submit the hardcopies on the day of AI Practical
Exam.
Write the programs in Python to-
1) Create a list in Python of children selected for science quiz with following names:
Arjun, Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik.
Perform the following tasks on the list in sequence-
a. Print the whole list
b. Delete the name “Vikram” from the list
c. Add the name “Jay” at the end
d. Remove the item which is at the second position.
2) Create a list num=[23,12,5,9,65,44]
a. print the length of the list
b. print the elements from second to fourth position using positive indexing
c. print the elements from position third to fifth using negative indexing
3) Create a list of first 10 even numbers, add 1 to each list item and print the final list.
4) Program to find the sum of all numbers stored in a list.
5) Create a list List_1= [10, 20, 30, 40]. Add the elements [14, 15, 12] using extend
function. Now sort the final list in ascending order and print it
Note: A4 size plain white sheet should contain question, code and output of the above
programs (either handwritten or printout).
MARKS BIFURCATION
1) Written Exam – 10 marks
2) Practical Exam – 10 marks
(on computer)
3) Practical File – 10 marks
4) Notebook – 10 marks
5) Viva – 10 marks
Total – 50 marks