In Week 4, you developed the fourth functionality of the employee management system. You improved the “View all Employees” functionality that was developed in Week 3 and added two new functionalities to your employee management system – “Search employee by SSN” and “Edit employee information.”
To complete this section, incorporate the instructor feedback you received for your Week 4 Assignment and provide an updated screen shot of this functionality, along with the description of the functionality.
Employee Management System – Functionality 5
In Week 5, you added two new functionalities to your Employee Management System – “Export employees’ information to text file” and “Import employee’s information from text file.”
To complete this section, incorporate the peer and/or instructor feedback you received for the two new functionalities. Provide an updated screen shot of this functionality and the description of the functionality.. I have the program that I wrote for week 4 but may need a little assistance and a brief write up on some of the input messages used
Employee Management System – Functionality 4 Brian Henderson CPT 200 Fundamentals of Programming Professor Carl Marquez January 31, 2022 In this week's assignment, we were tasked to build the Employee Management System Functionality using Python programming. In the first week assignment, we built a program that would allow the user to input the employee Name, Number, SSN, Email, and Salary. This Functionality also would print the information that was input by the user. In week two, we continued the process by adding five employees and printing employee information when prompted at the end of the program. This week, we continue to build the Functionality by adding a function that allows additional users, views all employees, and uses a global variable to keep track of the number of employees in the system. In line one, we established an employee data list by using the list brackets for starters. Line two was another function that would start the employee count after completing the function and input messages. The following few lines were established to create a global counter for each employee added to the Employee Management System. In week four, we are tasked to create three different variables and print strings that include View all employees, Search by SSN, and Edit Employee Information. Starting on lines two thru eight, we had to establish a list that would show the Employee information that the user would input. In line 15, the "def" statement lists all the information for each employee. The following lines are used to print the information that the user will input during the program's running. Line 26 uses the "def" statement again, but this one uses the View Employee info that we can later access during the program's running. As before, the following lines are used to print the information of the above lines. For this statement to work, we need to use the "if" statement and "try" statement, which is an exception occurs in the try suite, a search for an exception handler is started. On line 52, we use the same format as in lines 15 and 26. Line 86, the "def" statement is needed to give the options for the user to place 1 thru 4 inputs during the program. Line 107 was a duplicate of lines 15,26, and 52 but used the "def" statement for SSN search. However, for this statement to work, we had to implement the global statement, which holds for the entire current code block. On-Line 147, the program attempted to use the "def" statement to edit employee information, but I could not get this statement to execute fully. Line 193, the "while true" statement repeatedly tests the expression and, if it is true, executes the first suite; if the expression is false (which may be the first time it is tested). From lines 197 to 209, we finished the program using the "if" statement for all 4 prompts executed when prompted. One thing to note about using Python is that indentions are the key to running the program successfully. Using the indent notifies the program that the information indented is for that statement only. .