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

Index

The document outlines a series of programming tasks that involve creating menu-driven programs using functions. These tasks include checking for palindromes, manipulating lists, calculating factorials, generating prime numbers, and converting decimal numbers to various number systems. Each task specifies the required functionality and the date of completion.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Index

The document outlines a series of programming tasks that involve creating menu-driven programs using functions. These tasks include checking for palindromes, manipulating lists, calculating factorials, generating prime numbers, and converting decimal numbers to various number systems. Each task specifies the required functionality and the date of completion.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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

You might also like