[go: up one dir, main page]

0% found this document useful (0 votes)
15 views2 pages

PP Assignment-II

This document is an assignment for the II Semester of the I B Tech (Batch 2024) at J.B. Institute of Engineering & Technology, focusing on Python Programming. It includes various questions related to concepts such as inheritance, polymorphism, exception handling, and data manipulation using Pandas and Tkinter. The assignment aims to evaluate students' understanding and practical skills in Python programming with a total of 5 marks.

Uploaded by

nainalashalini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

PP Assignment-II

This document is an assignment for the II Semester of the I B Tech (Batch 2024) at J.B. Institute of Engineering & Technology, focusing on Python Programming. It includes various questions related to concepts such as inheritance, polymorphism, exception handling, and data manipulation using Pandas and Tkinter. The assignment aims to evaluate students' understanding and practical skills in Python programming with a total of 5 marks.

Uploaded by

nainalashalini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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.

You might also like