Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a class named Employee that holds the following data about an employee in attributes: name, ID_number, department, and job title. Create a UML diagram

image text in transcribed

Write a class named Employee that holds the following data about an employee in attributes: name, ID_number, department, and job title. Create a UML diagram for Employee class. Create 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 V 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 Write a class named Employee that holds the following data about an employee in attributes: name, ID_number, department, and job title. Create a UML diagram for Employee class. Create 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 V 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions