This document provides a list of 10 practical programming assignments for a Computer Science class. The assignments involve writing Python programs to analyze and manipulate various data structures like lists, tuples, strings, and dictionaries. Some example tasks include calculating statistics of lists and tuples, implementing linear search, finding frequency of elements, and determining the numerological total of numbers.
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 ratings0% found this document useful (0 votes)
35 views1 page
CS Practicals List
This document provides a list of 10 practical programming assignments for a Computer Science class. The assignments involve writing Python programs to analyze and manipulate various data structures like lists, tuples, strings, and dictionaries. Some example tasks include calculating statistics of lists and tuples, implementing linear search, finding frequency of elements, and determining the numerological total of numbers.
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
Computer Science (083)
Class XI – Term II (2021-22)
List of Practicals
1. Given a list of numbers, write a program in python to find the following:
i. Mean of numbers ii. Minimum value in list iii. Maximum Value in list 2. Write a program in python to implement Linear Search in a list. 3. Write a program in python to find the frequency of elements of a list. 4. Given a tuple of numbers, write a program in python to find the following: i. Mean of numbers ii. Minimum value in tuple iii. Maximum Value in tuple 5. Write a program in python to implement Linear Search in a tuple. 6. Write a program in python to find the frequency of elements of a tuple. 7. Write a program in python to count the number of times a character appears in a given string using a dictionary. 8. Write a program in python to find the frequency of elements of a list using a dictionary. 9. Write a program in python to create a dictionary with names of employees, their salary and access them. 10. The numerological total of a number is the sum of its digits. If the sum exceeds a single digit, its digits are again added. This process is repeated till the sum is obtained in a single digit. An example is shown below Number : 919 Sum of digits : 19 Sum of digits : 10 Sum of digits : 1 The numerological total for 919 is 1. Write a program in python to input a long integer and display its numerological total in the format as above. Intermediate sums are also to be displayed.
II) Num Int (Input (Enter Number) ) #Trying To See If The Number Is Pronic or Not I 1 X 1 For I in Range (1, Num) If I (I+1) Num Print (Num Is Pronic) X+ 1 Break Else Continue If X 1 Print (Number