Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

General information/requirements/grading rules This HW will test your knowledge on Object Oriented Programming using Classes and Inheritance Use meaningful names for classes, objects, attributes and methods If there are two words in the variable use first word lowercase and first letter of second word upper case

General information/requirements/grading rules This HW will test your knowledge on Object Oriented Programming using Classes and Inheritance Use meaningful names for classes, objects, attributes and methods If there are two words in the variable use first word lowercase and first letter of second word upper case

General information/requirements/grading rules

  1. This HW will test your knowledge on Object Oriented Programming using Classes and Inheritance
  2. Use meaningful names for classes, objects, attributes and methods
  3. If there are two words in the variable use first word lowercase and first letter of second word upper case i.e., firstName, or underscore between the two words i.e first_name
  4. Include appropriate comments in the code
  5. Output should be displayed exactly as mentioned against each problem
  6. Indent the lines of code appropriately

Q1: Employee.py : (50 points)

Write a class named Employee that holds the following data about an employee with attributes: name, ID number, department and job title.

Once you have written a class, write a program that creates three Employee objects to hold the following data:

Name

ID Number

Department

Job Title

Susan Meyers

47899

Accounting

Vice President

Mark Jones

39119

IT

Programmer

Joy Rogers

81774

Manufacturing

Engineer

The program should store this data in the three objects, then display the data for each employee on the screen.

Example OUTPUT:

Employee 1:
Name: Susan Meyers
ID number: 47899
Department: Accounting
Title: Vice President

Employee 2:
Name: Mark Jones
ID number: 39119
Department: IT
Title: Programmer

Employee 3:
Name: Joy Rogers
ID number: 81774
Department: Manufacturing
Title: Engineer

Q2: Customer.py : (50 points)

Write a class named Person with data attributes for a person’s name, address, and telephone number. Next, write another class named Customer that is a subclass of the Person class. The Customer class should have a data attribute for a customer number, and a Boolean data attribute indicating whether the customer wishes to be on a mailing list. Demonstrate an instance of the Customer class in a simple program.

Sample output:

Enter the name: john
Enter the address: 239 lovers lane
Enter the phone_number: 817-907-5367
Enter the customer number: 0011
Does the customer wish to be on the mailing list?(Yes/No) Yes

Customer information: 
Name: john
Address: 239 lovers lane
Phone number: 817-907-5367
Customer Number: 0011
On Mailing List: True

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.