Make a program that stores employee objects in a dictionary

Assignment Help Python Programming
Reference no: EM132356103

Question

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

· Make a UML diagram for Employee class.

· Make a program that stores Employee objects in a dictionary. Use the employee ID number as the key. The program should present a menu that lets the user perform the following actions:

Look up an employee in the dictionary

Add a new employee to the dictionary

Change an existing employee's name, depart, and job title in the dictionary

Delete an employee from the dictionary

Quit the program

When program ends, it should pickle the dictionary and save it to a file. Each time the program starts, it should try to load the pickled dictionary from the file. If the file does not exist, the program should start with an empty dictionary.

Reference no: EM132356103

Questions Cloud

Describe the actions of people and organizational leaders : Describe the actions of people and organizational leaders directly and indirectly involved with the tragedy. Specifically, address the ethical issues they faced
Write a program that prompts the user to enter two integers : Write a program that prompts the user to enter two integers, one even and one odd. Verify each input and end the program with an error message.
Organizational design and your assessment of effectiveness : Introduction of organization you chose, including history and background. The organizational design and your assessment of the effectiveness.
Develop environmental analysis that includes competitive : Develop an environmental analysis that includes competitive, economic, political, legal, technological, and sociocultural forces.
Make a program that stores employee objects in a dictionary : Compose a class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title.
Report on research design and methodology : HI6008 Business Research Project - Report on Literature Review (including statement of ‘who wrote which sections)
Display an error message and set the number of that item : This program is about exception handling. A hotdog stand sells hotdogs, potato chips and sodas. Hotdogs are $2.50 each. Potato chips are $1.50 per bag.
BREITT-STARR and DIAMOND LLC : Read and complete the case study titled, "BREITT, STARR & DIAMOND LLC."
Find and display the union of set1 and set2 : Generate 5 random integers between 1 and 10, inclusive. Store the random integers in another set named set2. Display the set.

Reviews

Write a Review

Python Programming Questions & Answers

  Calculate the accuracy of your linear classifier

Plot X,Y and the decision boundary. Make sure that you use a good plotting technique so that it is easy to distinguish which datapoint is X and which is Y. Calculate the accuracy of your linear classifier.

  What relationships and properties do you need to model

Think about the problem for a while, and even try writing or drawing a solution using pencil and paper or a whiteboard - What relationships and properties

  Write a function digitize that takes two parameters

Write a function digitize (using loops) that takes two parameters: one integer parameter and one bool parameter.

  Write a program that reads the name of a data file

Write a program that reads the name of a data file which contains student ids (such as c1234500) and their scores. The program will find and print the average score, the number of students processed.

  Server application that accepts connections

A client application that takes user input and for each input value creates a message object, generates hash-codes for it, then connects and sends object

  Prove by induction without using the binomial theorem

State the universal you are proving, and state the induction principle you are using - Write a Python function that takes n = 1 and returns an

  Write a program to determine the coefficients of expanded

Write a program to determine the coefficients of expanded form of (aX+bY+c)n. Every line in bold is questions to ask whoever runs the program to enter values or commands (y or n) at the console.

  Project title email spam filterabstractanalyze the emails

project title email spam filterabstractanalyze the emails and predict whether the mail is a spam or not a spam.to work

  Write a program that produces a comparison of the balance

Write a program that produces a comparison of the balance of a bank account over time between simple, monthly and daily methods of compounding interest.

  How to covert each input string into a dictionary item

How to covert each input string into a dictionary item. How to format each item of your inverted dictionary as a text string in the output file.

  Display an error message and set the number of that item

This program is about exception handling. A hotdog stand sells hotdogs, potato chips and sodas. Hotdogs are $2.50 each. Potato chips are $1.50 per bag.

  Write the portion of the app that deals with hamburger sales

He has assembled a team of fellow students to help write the app. Your job is to write the portion of the app that deals with hamburger sales.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd