MC4112 Set3
MC4112 Set3
(ii) write a python program to evaluate the mark range using exception handling. (range
between 1-100).
4. (i) Write the python program to get the five subjects marks and display the grade for
the same.
(ii) Write a python program to find the Factorial of a number using recursion.
5. (i) Write a python program to find the most frequent words in a text file.
6. (i) Write a python program to find the sum of first n Prime numbers.
Page 1 of 3
7. (i) Write a Python program for list aliasing.
(ii) Write a Python program to reverse of given number using while loop.
8. (i)Write a python program to construct the following pattern using nested for loop.
(ii) Write a Python program to find maximum and minimum number in a list.
9. (i) Write a python program to count the number of vowels and consonants in the string.
(ii) Implementing programs using written modules and Python Standard Libraries
(pandas, numpy).
10. (i) Write a python program to find the sum of first n even numbers.
12. (i) Write a python program to exchange the values of two variables without using third variable.
(ii) write a python program to count the number of lines, words, characters in a file.
13. (i) Write a python program to exchange the values of two variables.
(ii). write a python program to implement zero division error using exception handling.
14. (i) Write a python program to count the number of vowels in a string
(ii) Write a python Program to check if a given number is an Armstrong number or not.
Page 2 of 3
15. (i) Write a python program to find the sum of odd series.
(ii) write a python program to print the find the minimum element in the list.
17. (i) Write a python program to find the sum the series using function.
(ii) write a python program to display the student details using class.
19. (i) Write a python Program to check whether the given number is palindrome or not
20. (i) Write a Python program to accept two numbers and find the quotient and remainder.
(ii) Write a program that inputs a text file. The program should print all of the unique words in the
file in alphabetical order
Page 3 of 3