Marian College Kuttikkanam (Autonomous), Kuttikkanam - 685531, Kerala

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

MARIAN COLLEGE KUTTIKKANAM (AUTONOMOUS),

KUTTIKKANAM – 685531, KERALA

PG DEPARTMENT OF COMPUTER APPLICATIONS

PYTHON-PROGRAMMING LAB RECORD

2019
MARIAN COLLEGE KUTTIKKANAM (AUTONOMOUS),
KUTTIKKANAM – 685531, KERALA

PG DEPARTMENT OF COMPUTER APPLICATIONS

PYTHON-PROGRAMMING LAB RECORD


2019

SUBMITTED BY,
NAME : Bromin Paul Babu
REG.NO : 18pmc221
MARIAN COLLEGE KUTTIKKANAM (AUTONOMOUS),

KUTTIKKANAM – 685531, KERALA

PG DEPARTMENT OF COMPUTER APPLICATIONS


CERTIFICATE
Certified that this is a bonafide record of work done by BROMIN PAUL BABU for
PYTHON PROGRAMMING LAB in partial fulfilment of the requirements for the award
of degree of Master of Computer Applications (MCA) during the academic year 2018-
2020

Faculty in charge Head of the department

Submitted for the Semester End Examination held on d.m.year

Examiner 1 Examiner 1

Department Seal
TABLE OF CONTENTS

Sl.No Programs Page


1 Find the largest and smallest integer among three declared integers. 1
2 Check whether given year is a leap year or not 2
3 Find the factorial of a given number 3
4 Check whether given number is Palindrome or not 4
5 Check whether given number is Armstrong or not 5
6 Calculate simple interest 6
7 Print the Fibonacci series up to a given limit 7
8 Convert Decimal number to Binary number 8
9 Find the reverse of a given number 9
10 Print all numbers in a range divisible by a number 10
11 Find the reverse of a string using recursion 11
12 Form a new string using the first two and last two characters of a 12
given string
13 Generate a dictionary containing n numbers as keys and its squares 13
as values.
14 Find the number of digits in a number 14
15 Find the area of a rectangle using classes 15
16 Implement list operations (Append, Delete and Display) using 16
Classes.
17 Create a class and compute the Area and Perimeter of a Circle. 18
18 Perform basic calculator operations using class concept. 19
19 Read a text file and count the occurrence of a certain letter in that 21
file
20 Read a text file and print all digits present in it 22
21 The generation of different pyramid patterns 23
22 Convert Celsius to Fahrenheit and vice versa 25
23 Program to create a BMI calculator 27
24 Read a text file and count the occurrence of a certain word in that 28
file
25 Calculate restaurant bill based on orders made 29

You might also like