For the past two weeks, Tobias has been under a lot of stres…
For the past two weeks, Tobias has been under a lot of stress. He has trouble sleeping and can’t focus on anything except the upcoming college-entrance exam. When he does get to sleep, he often dreams about the exam and the possibility of failing it. He reports feeling on edge and having trouble relaxing. Lately, he has been isolated from his friends, Aries and Sarah, to dedicate more time to studying. Periodically, though, he goes for walks with them to take much-needed study breaks. His friends assure him that he will do great and that his studying will pay off. How would you diagnose Tobias’ psychological state?
Read DetailsWrite a program to assist a human resources clerk in applyin…
Write a program to assist a human resources clerk in applying salary increases for employees. The clerk will enter an employee number, his/her performance rating (either an E for Excellent, S for Satisfactory or U for Unsatisfactory) and the employee’s classification. If the employee receives a rating of E or S, they are eligible for a salary increase according to the classification table. If the employee receives a rating of U, they are not eligible for a salary increase. The classification determines the salary increase percentage for E or S rating. Every employee in the company has a classification of 12, 14, 16, 18 or 20. Below is the table of salary increases for the employee classifications. Employee Classification Salary Increase Percentage 12 1.0% 14 2.0% 16 2.5% 18 3.0% 20 3.5% Create a data store (list or a dictionary) in your program of salary increase percentages. Prompt the clerk to enter an employee number and performance rating. If his/her performance rating is E or S, then ask the clerk to enter base salary and classification. Display back to the clerk the employee’s number, current salary and new salary (old salary with percentage increase included). If the performance rating is a U, display a message that the employee will be on probation for a year. Use at least one function in your program. Display a message back to the clerk if they enter an invalid classification; ask them to re-enter. Extra details to follow: • Add comments and/or doc strings to your program to explain your code. • Design your program so that the clerk can enter multiple employees. • Add to your program the time function so it will pause appropriately after displaying messages. • Save your program as Salaryxxx where xxxxx is your last name. • Submit your program as part of this question. Points awarded as below: Total Points Use of list or dictionary 10 Loop execution 10 If else conditions 10 Use of function 10 Check for invalid classification 5 Comments and doc strings in function 5 Total Points: 50
Read Details