0% found this document useful (0 votes)
4 views3 pages

18.II. Workbook5

This document is a workbook for the Programming with Python course at Jayawantrao Sawant Polytechnic for the academic year 2024-2025. It includes questions related to object-oriented programming concepts such as method overriding, class vs. object, class inheritance, and composition in Python. Additionally, it requires students to design a class for employee information with specific data members and methods.

Uploaded by

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

18.II. Workbook5

This document is a workbook for the Programming with Python course at Jayawantrao Sawant Polytechnic for the academic year 2024-2025. It includes questions related to object-oriented programming concepts such as method overriding, class vs. object, class inheritance, and composition in Python. Additionally, it requires students to design a class for employee information with specific data members and methods.

Uploaded by

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

JSPM’s

JAYAWANTRAO SAWANT POLYTECHNIC


Sr. No. 58, Handewadi Road, Hadapsar, Pune- 28.
Department of Compute Engineering
Academic Year 2024-2025

Workbook-V

Subject: - Programming with Python Subject Code:-22616


Course Code:- CO6I Semester:- Sixth
Unit:- Object Oriented Programming in Python Class:- TYCO
Name of the Student: - ________________________________________________________ Roll No.______________
Marks Obtained:-____________________________ Max Marks:- 20

CO-5. Design classes for given problem

Q.1 Attempt the following Questions


1 Illustrate the use of method overriding? Explain with example

Q.2. Difference between class and object.


Q.3 Illustrate class inheritance in Python with an example.

Q. 4. Design a class Employee with data members: name, department and salary.
Create suitable methods for reading and printing employee information.
Q. 5 Describe composition in python.

Subject teacher HOD

You might also like