Chat with us, powered by LiveChat For this Lab, you will use everything you have learned in this class to create an Employee Database.? The Employee Database will contain the names of employees, their Salaries, their jo | Wridemy

For this Lab, you will use everything you have learned in this class to create an Employee Database.? The Employee Database will contain the names of employees, their Salaries, their jo

For this Lab, you will use everything you have learned in this class to create an Employee Database.  The Employee Database will contain the names of employees, their Salaries, their job Titles, their home Address, and their Contact info [MUST HAVE  "John Appletree and Chief Information Officer for John's Title].   There is one catch:  The employee Database WILL be a second file that is imported into the file you use to edit the database.  So to recap, you will create a file, named EmployeeDatabase.py that contains the Employee Database.  You will create a second file called EmployeeDirectory.py that provides the user with the ability to read any item contained in the Employee Database.  You are free to use whichever method you want, but you DO NOT need to save anything to a file.     NOTE:  I will provide 10 extra credit points if you save the database to a file (Excel, JSON, etc) as well-formatted. Do not use a text file, as you have seen this can be a problem.   Functions and Files:

  • File named EmployeeDatabase,py
    • only required to have one function that holds the database in whatever form you want:  list, dictionary, JSON, XML
    • This function, named below, will check if the name is in the database and return the value to the calling function in EmployeeDirectory.py
    • companyRegistry()
      • If you choose to use a file, you will first need to open the file, search it for the persons name, then return the key:value pairs to the calling function.  The external file will only hold the Employee names and their respective attributes, you still need the EmployeeDatabase.py file to search for the value and return it to the EmployeeDirectory.py file.
      • Ensure you have the name    "John Appletree" in your database with the following Title Chief Information Officer.
  • File named EmployeeDirectory.py
    • Need to have a function that welcomes the user and determines if they wish to print a specific part of the database.  All you need to do is print the value associated with the field requested by the user.  For instance, if I want to print out Andy's salary, it should only print the number associated with his salary.  The function can be called Menu().  This function will call the companyRegistry() function that is contained in the EmployeeDatabase.py file.  Also, I would suggest using a try: catch block and putting that in a while loop.  This way you can make sure the user inputs a persons name and not some other data type without crashing your program.  
    • Menu()

    Rurbic:

  • I will deduct 30 points if you fail to create two files, one for the database and one for the editor. 
  • I will deduct 50 points if your program does not run
  • I will deduct 20 points if you fail to get the database to print
  • I will add 10 points if you save the database to a file

Additional Resource:  Please review this site to see how to implement a database using a dictionary, should you choose to do it that way.https://developer.rhino3d.com/guides/rhinopython/python-dictionary-database/

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

    Do you need an answer to this or any other questions?

    About Wridemy

    We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

    How It Works

    To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Are there Discounts?

    All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

    Hire a tutor today CLICK HERE to make your first order

    Related Tags

    Academic APA Writing College Course Discussion Management English Finance General Graduate History Information Justify Literature MLA