INDEX
[Link]. Description Date Sign
1. Create a menu driven program using functions with the following 13/4/26
options:
a) To check if a string is a palindrome.
b) To toggle a string(without using swapcase).
c) Count number of occurrences of a digits, special
characters.
d) To take a string and creates a list of words from the string
which start with a vowel.
2. Create a menu based program with following list related 15/4/26
functions.
Accept list in the main area and pass it as an argument.
a) Left shift each element.
b) Right shift each element.
c) Reverse a list.
d) Interchange first half elements with second half.
e) Swap adjacent elements in a list.
3. Create a Menu based program by passing arguments to the 16/4/26
functions for the following.
a) Calculate factorial of a numbers between 2 and 8.
b) Generate prime numbers between two numbers.
c) To print the sum of the series:
4. Menu based program to create a dictionary which takes a decimal 17/4/26
number as key and asks the user to which number system it
should be converted based on the input the value is created.
{10:[‘Binary’,1010],11:
[‘Hexadecimal’,’B’],13:[‘Octal’:15]}
ANSH MITTAL XII-C