0% found this document useful (0 votes)
105 views3 pages

Ese Question Bank PWP

This document contains 35 programming questions that will be included on an exam for a Programming with Python course offered during the summer 2021 semester. The exam will take place on June 25, 2021. The questions cover a range of Python programming topics including calculating areas and perimeters, working with data types like lists, tuples, sets and dictionaries, exception handling, file I/O, working with strings, and using built-in functions and modules.
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)
105 views3 pages

Ese Question Bank PWP

This document contains 35 programming questions that will be included on an exam for a Programming with Python course offered during the summer 2021 semester. The exam will take place on June 25, 2021. The questions cover a range of Python programming topics including calculating areas and perimeters, working with data types like lists, tuples, sets and dictionaries, exception handling, file I/O, working with strings, and using built-in functions and modules.
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/ 3

Course Title: Programming with Python

Course Code: 22616

End Semester Examination Question Bank


(Summer 2021)
Exam Date :25/06/2021

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.

Write a Python Program ,print the number in words for example:1234=> One Two
16
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)

Write a Python function that accepts a string and calculate the number of upper
21
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

Write a Python Program that will calculate area and circumference of circle using
24
inbuilt Math Module

25 Write a Python program to check for ZeroDivisionError Exception.

26 Write a Python program to calculate the sum of a list of numbers?

27 Write a Program to print ASCII Value of a character in python?

28 Write a Program to Read more than one charactes at a time from file(use any file)

29 Python program to find the circumference and area of a circle with a given radius

30 Python program to delete an element from a list by index


Python program to display all integers within the range 100-200 whose sum of
31
digits is an even number

32 Python program to find the sum of all items in a dictionary

33 Python program to swap two elements in a list

34 Python program to Read content from one file and write it into another file

35 Python program to print all even numbers in a range

You might also like