SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
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.

Contenu connexe

Plus 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
 

Plus 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
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Dernier (20)

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...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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
 

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.