21ES1111 PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
INDEX
PAGE
[Link] DATE NAME OF THE EXPERIMENT MARKS SIGN
NO
1 Basic Python Programming
1(A) Find The Distance Between two Given Points
1(B) To Generate EB Bill
1(C) To Perform Basic Arithmetic Operations
1(D) To Exchange The Values of Two Variables
Program To Demonstrate Data Type Of The Given
2
Input
3 Programs To Demonstrate Various Python Conditional Statements
3(A) Program To Demonstrate Simple IF
3(B) Program To Demonstrate Alternate IF
3(C) Program To Demonstrate Chained IF
3(D) Program To Demonstrate Nested IF
3(E) Program To Demonstrate While Loop
3(F) Program To Demonstrate For Loop with Range
3(G) Program To Demonstrate For Loop with Sequence
4 User Defined Functions Using Python
User Defined Functions to Compute Factorial Of Given
4(A)
Number
Recursive Function to Compute GCD of Two Given
4(B)
Numbers
Python Program To Demonstrate Default Argument
4(C)
Function
Python Program To Demonstrate Variable Length
4(D)
Argument Function
Develop Python Script to Demonstrate pow(), round(),
5
reversed() Functions
6 Develop Python Programs To Perform String Operations
6(A) String Indexing, String Slicing
Develop Python Programs To Perform String
6(B)
Formatting
7 Develop Python Programs to Perform Operations On Lists & Tuple
Develop Python Programs to Perform Operations On
7(A)
List
Develop Python Programs to Perform Operations On
7(B)
Tuple
PANIMALAR ENGINEERING COLLEGE
21ES1111 PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
INDEX
Demonstrate The Concept Of Dictionary With
8
Python Program
Develop Python Codes To Demonstrate Concept Of
9
Class And Objects
Demonstrate Oops Concepts like Inheritance & Polymorphism with Pytho
10
Programs
10(A) Demonstrate The Concept Of Single Inheritance
10(B) Demonstrate The Concept Of Multi Level Inheritance
10(C) Demonstrate The Concept Of Multiple Inheritance
10(D) Demonstrate The Concept Of Hierarchical Inheritance
10(E) Demonstrate The Concept Of Hybrid Inheritance
Demonstrate The Concept Of Polymorphism with
10(F)
Method Overloading
Demonstrate The Concept Of Polymorphism with
10(G)
Method Overriding
Demonstrate The Concept Of Polymorphism with
10(H)
Operator Overloading
Demonstrate Python Codes To Print try , except And
11
finally Block Statements
12 Implement Python Programs To Perform File Operations
Implement Python Programs To Perform File
12(A)
Operation write()
Implement Python Programs To Perform File
12(B)
Operation read()
Write A Python Program To Copy The Content Of one
12(C)
File Into Another
Write A Python Program to Compute Frequency Of
12(D)
Each Word In The Given File
13 Implement Python Program Using Module and Package
13(A) Implement Python Program Using Module
13(B) Implement Python Program Using Package
14 Simulate Bouncing Ball Using Pygame
ADDITIONAL EXPERIMENT
1 Program To Generate First N Fibonacci Numbers
2 Write A User Defined Function To Return Sum and
Difference Of Two Given Number
3 Write a Python Program to Find Whether The Given
number is Armstrong Number or Not
PANIMALAR ENGINEERING COLLEGE
21ES1111 PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
INDEX
4 Write A Python Program To Perform Binary Search
5 Write A Python Program To Convert Decimal to
Binary
Write A Python Program To Reverse The Given
6
Number
Write A Python Program To Sort the Given List of
7
Names
8 Write A Python Program To Print Multiplication Table
For the Given Number
PANIMALAR ENGINEERING COLLEGE