subject

Design and write a class named Employee that inherits the Person class (from this week's code acrhive) and holds the following additional data: ID number, department and job title. Once you have completed the Employee class, write a program that creates three Employee objects to hold the following data:

Name ID Number Department Job Title Phone
Susan Meyers 47899 Accounting Vice President 212-555-1212
Mark Jones 39119 IT Programmer 212-555-2468
Joy Rogers 81774 Operations Engineer 212-555-9753

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 24.06.2019 12:50
When is it most apprpriate for a development team to change the definition of done
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Develop the program incrementally: a) start by reading and displaying each line of the input file to make sure you are reading the data set correctly. b) use the split string method to extract information from each line into a list. print the list to prove that this step is working correctly. d) convert the exam scores to type int and calculate the student’s average. display those items to prove this step is working correctly. e) create a tuple containing the six items for each student (name, exam scores, exam mean). display the tuples to prove this step is working correctly. (optionally, you may want to have the exam scores in a list so your tuple is (name, scores_list, f) append each tuple to a list. display the list to prove this step is working correctly. g) use the sort list method to re-order the tuples in the list. display the list to prove this step is working correctly. h) use a for statement to display the contents of the list as a table (with appropriate formatting). i) use a for statement to calculate the average of all scores on exam #1, then display the results. note that you could have calculated this average within the first loop, but we are explicitly requiring you to do this calculation by looping though your list of tuples. j) add the logic to calculate the average of all scores on exam #2, then display the results.
Answers: 2
question
Computers and Technology, 24.06.2019 17:00
What are some examples of what can be changed through options available in the font dialog box? check all that apply. font family italicizing bolding pasting drop shadow cutting character spacing special symbols
Answers: 2
You know the right answer?
Design and write a class named Employee that inherits the Person class (from this week's code acrhiv...
Questions
question
Mathematics, 15.12.2020 14:00
question
Geography, 15.12.2020 14:00
question
Mathematics, 15.12.2020 14:00
question
Mathematics, 15.12.2020 14:00
question
History, 15.12.2020 14:00
question
Mathematics, 15.12.2020 14:00
Questions on the website: 13722362