Course Title: Programming with Python
Course Code: 22616
End Semester Examination Question Bank
QSET No Program
1
Write a Program to find the area of a triangle.
2
Write a Program to swap two variables.
3 Write a Program to calculate area and perimeter of the square.
4 Write a Program to convert bits to Megabytes, Gigabytes and Terabytes
5 Write a Program to Check if a Number is Odd or Even
6 Write a Program to Check Leap Year
7 Write a Program to Check if a Number is Positive, Negative or Zero
8 Write a Program to Print the Fibonacci series
9 Write a Program to Find the Factorial of a Number
10 Write a Python Program to sum of all items in a list.
11 Write a Program to get the largest number from a list.
12 Write a Program to get the smallest number from a list.
13 Write a Program to reverse a list.
14 Write a Python Program to select even items of a list.
15 Write a Python Program to fine the repeated items from a tuple.
16 Write a Python Program ,print the number in words for example:1234=> One Two
three Four
17 Write a Python Program to find the length of a set.
18 Write a Python Program to find maximum and minimum value in a set.
19 Write a Python Program to find the highest 3 values in a dictionary.
20 Write a Python Script to sort a dictionary by value(asc and desc)
21 Write a Python function that accepts a string and calculate the number of upper
case letters and lower case letters.
22 Write a Python Program to Find Factorial of Number
23 Write a Python Program to Display Calendar of given month using Calendar Module
24 Write a Python Program that will calculate area and circumference of circle using
inbuilt Math Module
25 Write a Python program to check for ZeroDivisionError Exception.