Python ASGN 2
Python ASGN 2
INSTITUTE OF TECHNOLOGY
BANGALORE – 560109
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE
LEARNING
ASSIGNMENT-II
Q L
Question CO Marks
No. Level
1 Identify file reading and writing process with suitable python program 3 3 1
2 Construct a python code to implement multiclip board project in Python 3 3 1
3 Obtain code snippet for reading, extracting and crating zip files 3 4 1
4 Utilize the functions of shutil module and explain with example 3 4 1
5 Apply the logging module to debug the factorial of a number 3 4 1
6 Develop a program to sort the contents of a text file and write the forted 3 4 1
content into a separate file
7 Obtain the concept of copying using copy module with an example 3 5 1
8 Interview the printing of objects with example 3 5 1
9 Identify operator overloading and polymorphism with example 3 5 1