SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
Draw a UML to represent the below given problem. Then, using python create new class (with all
suitable methods and attributes) and the new relations. Create a generic superclass that
represents aEmployee (in the company) and 2 subclasses for class Employee (Permanent and
Temporary) and another subclass for the class Permanent (Technician). We will add the class
Department that is associated to the Engineer by the relation expertise, and to the technician by
the relation tasks scheduled. Write a separate test module where 2 instances (1 for the Engineer
and 1 for the Technician) are created,and the methods are tested by giving the required details
and print the details for each class.

Más contenido relacionado

Más de info317548

Durum 2 International Foodsta novasyon sorular 15 1 T.pdf
Durum 2 International Foodsta novasyon   sorular 15  1 T.pdfDurum 2 International Foodsta novasyon   sorular 15  1 T.pdf
Durum 2 International Foodsta novasyon sorular 15 1 T.pdf
info317548
 

Más de info317548 (20)

Downtown Bancshares has 32000 shares of 10 par value commo.pdf
Downtown Bancshares has 32000 shares of 10 par value commo.pdfDowntown Bancshares has 32000 shares of 10 par value commo.pdf
Downtown Bancshares has 32000 shares of 10 par value commo.pdf
 
E56 Static Preparing a Bank Reconciliation and Journal En.pdf
E56 Static Preparing a Bank Reconciliation and Journal En.pdfE56 Static Preparing a Bank Reconciliation and Journal En.pdf
E56 Static Preparing a Bank Reconciliation and Journal En.pdf
 
e We are both tropical epiphytes that have symbiotic relati.pdf
e We are both tropical epiphytes that have symbiotic relati.pdfe We are both tropical epiphytes that have symbiotic relati.pdf
e We are both tropical epiphytes that have symbiotic relati.pdf
 
e wwwR that is w is a palindrome f g The set of.pdf
e wwwR that is w is a palindrome  f  g The set of.pdfe wwwR that is w is a palindrome  f  g The set of.pdf
e wwwR that is w is a palindrome f g The set of.pdf
 
E coli cells are simultaneously infected with two strains o.pdf
E coli cells are simultaneously infected with two strains o.pdfE coli cells are simultaneously infected with two strains o.pdf
E coli cells are simultaneously infected with two strains o.pdf
 
Doru ya da yanl 7 1920 sonbaharnda Wall Streetteki bomba.pdf
Doru ya da yanl  7 1920 sonbaharnda Wall Streetteki bomba.pdfDoru ya da yanl  7 1920 sonbaharnda Wall Streetteki bomba.pdf
Doru ya da yanl 7 1920 sonbaharnda Wall Streetteki bomba.pdf
 
E Assume instead of 24 bits for the network address part of.pdf
E Assume instead of 24 bits for the network address part of.pdfE Assume instead of 24 bits for the network address part of.pdf
E Assume instead of 24 bits for the network address part of.pdf
 
Dynamics of Accumulation Stocks are accumulations The diffe.pdf
Dynamics of Accumulation Stocks are accumulations The diffe.pdfDynamics of Accumulation Stocks are accumulations The diffe.pdf
Dynamics of Accumulation Stocks are accumulations The diffe.pdf
 
E 55 F 65 G 75 14 In the following pedigree a single ge.pdf
E 55 F 65 G 75 14 In the following pedigree a single ge.pdfE 55 F 65 G 75 14 In the following pedigree a single ge.pdf
E 55 F 65 G 75 14 In the following pedigree a single ge.pdf
 
dxyi1Nyixi2path dM702 80H40000040H742v3239l4 4.pdf
dxyi1Nyixi2path dM702 80H40000040H742v3239l4 4.pdfdxyi1Nyixi2path dM702 80H40000040H742v3239l4 4.pdf
dxyi1Nyixi2path dM702 80H40000040H742v3239l4 4.pdf
 
e Gire the mnan and the standard devistion of the sampling.pdf
e Gire the mnan and the standard devistion of the sampling.pdfe Gire the mnan and the standard devistion of the sampling.pdf
e Gire the mnan and the standard devistion of the sampling.pdf
 
Dwightn grd bir Instagram gnderisine gre asalak yass .pdf
Dwightn grd bir Instagram gnderisine gre asalak yass .pdfDwightn grd bir Instagram gnderisine gre asalak yass .pdf
Dwightn grd bir Instagram gnderisine gre asalak yass .pdf
 
Duygusal zekann nasl olduunu tartn farkndalk ve dikkatsizli.pdf
Duygusal zekann nasl olduunu tartn farkndalk ve dikkatsizli.pdfDuygusal zekann nasl olduunu tartn farkndalk ve dikkatsizli.pdf
Duygusal zekann nasl olduunu tartn farkndalk ve dikkatsizli.pdf
 
Dove ve Dove Men+Care yan yana markalar olarak baarl olmaya.pdf
Dove ve Dove Men+Care yan yana markalar olarak baarl olmaya.pdfDove ve Dove Men+Care yan yana markalar olarak baarl olmaya.pdf
Dove ve Dove Men+Care yan yana markalar olarak baarl olmaya.pdf
 
Durum 2 International Foodsta novasyon sorular 15 1 T.pdf
Durum 2 International Foodsta novasyon   sorular 15  1 T.pdfDurum 2 International Foodsta novasyon   sorular 15  1 T.pdf
Durum 2 International Foodsta novasyon sorular 15 1 T.pdf
 
During transformation only one plasmid enters an E coli ce.pdf
During transformation only one plasmid enters an E coli ce.pdfDuring transformation only one plasmid enters an E coli ce.pdf
During transformation only one plasmid enters an E coli ce.pdf
 
During the first year of COVID19 there werent enough high.pdf
During the first year of COVID19 there werent enough high.pdfDuring the first year of COVID19 there werent enough high.pdf
During the first year of COVID19 there werent enough high.pdf
 
During the pandemic the Centers for Disease Control and Pre.pdf
During the pandemic the Centers for Disease Control and Pre.pdfDuring the pandemic the Centers for Disease Control and Pre.pdf
During the pandemic the Centers for Disease Control and Pre.pdf
 
During the month of March Sandhill Cos employees earned wa.pdf
During the month of March Sandhill Cos employees earned wa.pdfDuring the month of March Sandhill Cos employees earned wa.pdf
During the month of March Sandhill Cos employees earned wa.pdf
 
During the year Wright Company sells 515 remotecontrol air.pdf
During the year Wright Company sells 515 remotecontrol air.pdfDuring the year Wright Company sells 515 remotecontrol air.pdf
During the year Wright Company sells 515 remotecontrol air.pdf
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Último (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

Draw a UML to represent the below given problem Then using.pdf

  • 1. Draw a UML to represent the below given problem. Then, using python create new class (with all suitable methods and attributes) and the new relations. Create a generic superclass that represents aEmployee (in the company) and 2 subclasses for class Employee (Permanent and Temporary) and another subclass for the class Permanent (Technician). We will add the class Department that is associated to the Engineer by the relation expertise, and to the technician by the relation tasks scheduled. Write a separate test module where 2 instances (1 for the Engineer and 1 for the Technician) are created,and the methods are tested by giving the required details and print the details for each class.