0% found this document useful (0 votes)
65 views1 page

Term-2 Practical List Computer Science With Python (083) : Class XI

This document contains a list of 12 Python programs to be completed for a Computer Science class. The programs cover a range of concepts including finding the minimum and maximum elements in lists, calculating means, searching lists, counting frequencies, swapping list elements, unpacking and recreating tuples, creating dictionaries from data, and deleting dictionary keys. For each program, students are instructed to write the Python code, show the output, and cover the program object in their solution.

Uploaded by

Shivam Jha
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)
65 views1 page

Term-2 Practical List Computer Science With Python (083) : Class XI

This document contains a list of 12 Python programs to be completed for a Computer Science class. The programs cover a range of concepts including finding the minimum and maximum elements in lists, calculating means, searching lists, counting frequencies, swapping list elements, unpacking and recreating tuples, creating dictionaries from data, and deleting dictionary keys. For each program, students are instructed to write the Python code, show the output, and cover the program object in their solution.

Uploaded by

Shivam Jha
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/ 1

Term-2 Practical List

Computer Science with Python (083)

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

4. W.a.p to count the frequency of a given element in a list of numbers. 11.12

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

Note: In each Practical following point should be covered:


 Program Object
 Python coding
 Output

You might also like