Lab Assignment Questions of Python
Lab Assignment Questions of Python
LAB ASSIGNMENT
Paper Code: ECMCA401 Course: MCA
Paper Name: Lab on Python Programming Semester: IV
Sl Questions Page Remarks
Write a Python program to make an Arithmetical Calculator using
1
built-in functions.
Write a Python menu driven program to convert the given
2 temperature from Fahrenheit to Celsius and vice versa depending
upon user’s choice.
Write a Python program to input an integer value to convert it in
3
Decimal, Binary, Octal and Hexadecimal with using format function.
Write a Python program input three numbers through the user to find
4
out greatest of 3 numbers using nested if statements.
Write a Python program to check if an item is already present in a
5
Dictionary.
6 Write a Python program to find out factorial of the given number.
Write a Python program input a number which is any digits to check
7
the number is Palindrome or not Palindrome.
Write a Python program input a number to check the number is Prime
8
or not Prime.
Write a Python program input a number which is any digits to check
9
the number is Armstrong or not Armstrong.
Write a Python program to check whether a string is Palindrome or
10
Not Palindrome.
Write a Python program input N numbers to calculate sum and
11 average, If found a negative number then stop the iteration and
display the related output.
Write a Python program to find out Reverse of a String, Tuple, List,
12
Range and Set and display the output in proper format.
Write a Python program to find out greatest of an Integer numbers,
13
Floating point numbers, Characters, Strings and Lists.
Write a Python program to swapping two numbers using function with
14
arguments and no return value.
Write a Python program to find out Area of Circle and Area of Triangle
15
using function with arguments and return value.
Write a Python program to calculate simple interest using Required
16
argument function.
Write a Python Program to perform different set operations like in
17 mathematics (Union, Intersection, Difference and Symmetric
difference)
Dr. Shyama Prasad Mukherjee University, Ranchi
(Through the Upgradation of Ranchi College, Ranchi)
Submitted To:
Dr. A.K. Mohapatra
Assistant Professor
Dept. of MCA & M.Sc.IT
Dr. S.P.M. University, Ranchi