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

Term2Practical Question

The document outlines a set of practical programming questions for a Term 2 submission due on December 29, 2023. It includes tasks such as counting characters in a string, checking for palindromes, finding the largest number in a list, and creating a dictionary of student information. Each question requires writing a Python program to solve a specific problem.
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)
11 views1 page

Term2Practical Question

The document outlines a set of practical programming questions for a Term 2 submission due on December 29, 2023. It includes tasks such as counting characters in a string, checking for palindromes, finding the largest number in a list, and creating a dictionary of student information. Each question requires writing a Python program to solve a specific problem.
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

TERM2 PRACTICAL FILE QUESTIONS

Submission Date : 29 DEC 2023

1. Write a python program to count and display the number of vowels,


consonants, uppercase, lowercase characters in string.
2. Write a python program to input a string and determine whether it is a
palindrome or not; convert the case of characters in a string.
3. Write a python program to find the largest number in a list.
4. Write a python program to find the sum of odd number in a present in a
tuple.
5. Write a python program to Input a list of numbers and swap elements at the
even location with the elements at the odd location.
6. Write a python program to input a tuple of elements, search for a given
element in the tuple.
7. Write a python program to input a list of numbers and test if a number is
equal to the sum of the cubes of its digits. Find the smallest and largest such
number from the given list of numbers.
8. Write a python program to create a dictionary with the roll number, name
and marks of n students in a class and display the names of students who
have marks above 75.
9. Write a random number generator that generates random numbers
between 1 and 6 (simulates a dice).
10. Write a program to store bookid, bookname, and price of 3 books and store
the data in a dictionary named dict. Display the content of the dictionary.

You might also like