Term-2 Practical List Computer Science With Python (083) : Class XI
Term-2 Practical List Computer Science With Python (083) : Class XI
Class XI (2021-22)
S.No Programs Prgm.
No.
Write a program (w.a.p) to find the minimum element from a list of 11.9
1.
element along with its index in the list.
2. W.a.p to calculate the mean of given list of numbers. 11.10
11.11
3. W.a.p to search for an element in a given list of numbers
Write a program to input a list of numbers and swap elements at the even Pg
5.
location with the elements at the odd location. 407
Pg
6. W.a.p to find second largest number of a list of numbers.
408
W.a.p to input a 4-element tuple and unpack it to four variables. Then Pg
st rd nd
7. recreate the tuple with elements swapped as 1 element with 3 and 2 428
th
element with the 4 element.
Pg
8. W.a.p to check if there are multiple maximum elements in a tuple or not.
440
Pg
9. W.a.p that creates a tuple storing first 9 terms of Fibonacci series.
446
10. W.a.p that create a dictionary with the roll number, name and marks of n Pg
students in a class and display the names of students who have scored 485
marks above 75.
11. W.a.p to read a sentence and then create a dictionary contains the Pg.
frequency of a letters and digits in the sentence. Ignore other symbols if 486
any.
12. W.a.p to delete the keys of a dictionary, one by one in LIFO order. Make Pgrm.
sure that there is no error generated after the last item delete. 13.17