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

MC4112 Set3

The document provides instructions for an end semester examination in Python Programming Laboratory. It lists 20 examination questions across various Python programming concepts and tasks. Students must answer any one full question which is divided into two programming problems to solve.

Uploaded by

tpgittfc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views3 pages

MC4112 Set3

The document provides instructions for an end semester examination in Python Programming Laboratory. It lists 20 examination questions across various Python programming concepts and tasks. Students must answer any one full question which is divided into two programming problems to solve.

Uploaded by

tpgittfc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

M.C.

A PRACTICAL END SEMESTER EXAMINATIONS, JANUARY 2022


First Semester

MC4112 - PYTHON PROGRAMMING LABORATORY


(Regulations 2021)

Time : 3 Hours Answer any one Question Max. Marks 100

Aim/Principle/Apparatus Tabulation/ Calculation Viva-Voce Record Total


required/Procedure Circuit/Program/ & Results
Drawing
10+10 20+30 10 10 10 100

1. (i). Write a python program to convert Celsius into Fahrenheit.

(ii) write a python program to sort n numbers using Insertion sort

2. (i) Write a python program to compute the GCD of two numbers.

(ii) write a python program to Sort n numbers using Selection sort

3. (i) Write a python program to find the square root of a number.

(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.

(ii) write a python program to perform Linear search.

6. (i) Write a python program to find the sum of first n Prime numbers.

(ii)Write a python program to sort n numbers using Quick sort.

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.

(ii) Write a python program to sort n numbers using Merge sort.

11. (i)Write a python program to generate first ‘N’ Fibonacci Numbers.

(ii) Write a Python program to find maximum number in a list.

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 perform Binary search.

16. (i) Write a python program to print the multiplication table.

(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.

18. (i) Write a python program to print the student grade.

(ii) write a python program to sort n numbers using Merge sort.

19. (i) Write a python Program to check whether the given number is palindrome or not

(ii) write a python program to perform Linear search

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

You might also like