Python Manual
Python Manual
Engineering
ADVANCED PYTHON PROGRAMMING
(24CSH-623)
LAB M
S. No Contents Page
No.
1 Vision of the University 3
9 Textbooks/reference books 6
10 Assessment Pattern 8
(Practical & Theory )
12 CO-PO Mapping 8
13 List Of Experiments 9
14 Detailed Experiments 11
PEO 1: To enhance the competence level for tackling real world problems
in industry, academia and research organizations.
2. Number Guessing
5. Hangman
6. Contact Book
B. TEXTBOOKS/REFERENCE BOOKS
i. TEXTBOOKS
T1 Ashok Namdev Kamthane, Programming and Problem Solving
with Python, Mc Graw HillEducation Publication, ISBN(13):978-93-
87067-57-8.
T2 Introduction to Programming Using Python Author by Y. Daniel Liang, Pearson.
T3 Core Python Programming by Dr. R. Nageswara Rao, DreamTech Publication
ii. REFERENCE BOOKS
R1Kenneth A. Lambert, The Fundamentals of Python: First
Programs, 2011, Cengage Learning, ISBN: 978-1111823705.
R2Allen B. Downey, Think Python, O’Reilly Media
Theory
E. CO-PO MAPPING
Course
PO1 PO2 PO3 PO4 PO5 PSO1 PSO2
Outcome
CO1 3 3 2 3 2 1 2
CO2 2 3 2 3 2 1 2
CO3 2 3 2 3 2 2 1
CO4 3 3 2 3 3 3 1
CO5 3 3 2 3 3 2 2
CO PO correlation matrix of
each subject to be mapped
with High correlation (3);
Medium correlation (2); Low
correlation (1)
LIST OF EXPERIMENTS
Experiment a) Installation of Python and understanding of basic syntax and semantic rules.
CO1
No 1
b) Write a python program to illustrate the concept of different types of operators.
(a) Write a python program to illustrate the concept of range () Function
CO1, CO2
Experiment (b)Write a python program to demonstrate the use of distinct string functions.
No 2
(c) Write a python program to reverse a string without using inbuilt function.
Write a python program to concatenate two strings without using inbuilt function.
(a) Write a python program to create a list and demonstrate different inbuilt list CO2, CO3
methods.
Experiment
(b)Write a python program to compare two lists.
No 3
(c) Write a python program for performing list slicing.
(d)Write a python program to create a tuple and perform different operations on it
using different inbuilt functions
Write a python program to perform indexing and slicing of a tuple.
(a) Write a python program to create a dictionary CO2, CO3
(b)Write a python program to traverse, add, delete and replace items in dictionaries.
Experiment
(c) Write a python program to create a dictionary that has number of positive and
No4
negative numbers of list.
(d)Write a python program to create a set and demonstrate different inbuilt set
methods.
a. Write a python program to demonstrate and define a class and object. CO2, CO3
Experiment
b. Write a python program to create employee class with some attributes and
No 5
methods.
Experiment (a) Write a python program to implement polymorphism using method overloading. CO2, CO4
No 6 (b)Write a python program to implement inheritance using method overriding.
Write a python program to implement abstract class.
(a) Write a python program to understand the use of else and finally block with try
Experiment CO2, CO4
block.
No 7
(b) Write a python program that uses raise and exception class to throw an
exception.
a. Write a python program to read and write the contents into a file.
Experiment CO3, CO4
b. Write a python program to demonstrate different inbuilt functions related to file
No 8
handling.
c. Write a python program to count the number of lines in a file..
a. Write a python program to implement Numpy and its related functions like ones( CO3, CO4