J.B.
INSTITUTE OF ENGINEERING & TECHNOLOGY
UGC Autonomous
I B Tech (Batch 2024) II Semester
ASSIGNMENT-II
R24
PYTHON PROGRAMMING
Name of the Student…………………………………………
Roll Number …………………………………………………
Branch………………………………………………………..
Academic Year ………………………………………………
Signature of the Faculty
J.B. INSTITUTE OF ENGINEERING & TECHNOLOGY
UGC Autonomous
I B.Tech (2024 Batch) – II Semester – (R24)-Assignment-I
Subject Name: PYTHON PROGRAMMING
(AIML & CSE- AIML -Departments)
Max. Marks: 5 M
Q.No CO BT Marks
a) Explain About Inheritance? Explain different types of inheritance CO3 L1
1M
01 b) Define Polymorphism and discuss about the Operator Overloading CO3 L2
c)Explain different types of Constructors in python CO3 L1
a) What is difference between error and exception? Explain exception CO4 L2
handling in Python with example
b) i) Write a python script to implement exception handling. Check CO4 L1
02 whether the input no is Float or not. 2M
ii) Handle the exceptions that are come at the time of division.
c) Discuss about Character Classes and repetitive cases in regular CO4 L2
expression
a) Write a Python program using Pandas to create a DataFrame and
perform operations like selecting columns, adding a column, and CO5 L2
filtering rows.
03 1M
b) Explain any two built-in Python packages with their uses and write CO5 L2
one simple program for each.
CO5 L2
a) Write a simple GUI application using Tkinter that has a label, entry
box, and a button to display input text. Explain each widget used.
04 b) Explain about Directories and how to list the files in the directories CO5 L2 1M
c) Explain pickling and unpickling in Python. Write a Python program CO5 L2
that pickles and unpickles a Python dictionary.